2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for poppler (TeX Live) 0.37.0.
5 # Report bugs to <tex-k@tug.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
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.37.0'
584 PACKAGE_STRING
='poppler (TeX Live) 0.37.0'
585 PACKAGE_BUGREPORT
='tex-k@tug.org'
588 ac_unique_file
="poppler-0.37.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
674 MAINTAINER_MODE_FALSE
688 INSTALL_STRIP_PROGRAM
730 program_transform_name
743 enable_option_checking
745 enable_maintainer_mode
746 enable_dependency_tracking
747 enable_compiler_warnings
757 ac_precious_vars
='build_alias
771 # Initialize some variables set by options.
773 ac_init_version
=false
774 ac_unrecognized_opts
=
776 # The variables have the same names as the options, with
777 # dashes changed to underlines.
785 program_transform_name
=s
,x
,x
,
793 # Installation directory options.
794 # These are left unexpanded so users can "make install exec_prefix=/foo"
795 # and all the variables that are supposed to be based on exec_prefix
796 # by default will actually change.
797 # Use braces instead of parens because sh, perl, etc. also accept them.
798 # (The list follows the same order as the GNU Coding Standards.)
799 bindir
='${exec_prefix}/bin'
800 sbindir
='${exec_prefix}/sbin'
801 libexecdir
='${exec_prefix}/libexec'
802 datarootdir
='${prefix}/share'
803 datadir
='${datarootdir}'
804 sysconfdir
='${prefix}/etc'
805 sharedstatedir
='${prefix}/com'
806 localstatedir
='${prefix}/var'
807 includedir
='${prefix}/include'
808 oldincludedir
='/usr/include'
809 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
810 infodir
='${datarootdir}/info'
815 libdir
='${exec_prefix}/lib'
816 localedir
='${datarootdir}/locale'
817 mandir
='${datarootdir}/man'
823 # If the previous option needs an argument, assign it.
824 if test -n "$ac_prev"; then
825 eval $ac_prev=\
$ac_option
831 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
836 # Accept the important Cygnus configure options, so we can diagnose typos.
838 case $ac_dashdash$ac_option in
842 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
844 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
847 -build |
--build |
--buil |
--bui |
--bu)
848 ac_prev
=build_alias
;;
849 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
850 build_alias
=$ac_optarg ;;
852 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
853 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
854 ac_prev
=cache_file
;;
855 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
856 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
857 cache_file
=$ac_optarg ;;
860 cache_file
=config.cache
;;
862 -datadir |
--datadir |
--datadi |
--datad)
864 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
865 datadir
=$ac_optarg ;;
867 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
868 |
--dataroo |
--dataro |
--datar)
869 ac_prev
=datarootdir
;;
870 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
871 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
872 datarootdir
=$ac_optarg ;;
874 -disable-* |
--disable-*)
875 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
878 as_fn_error $?
"invalid feature name: $ac_useropt"
879 ac_useropt_orig
=$ac_useropt
880 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
885 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
886 ac_unrecognized_sep
=', ';;
888 eval enable_
$ac_useropt=no
;;
890 -docdir |
--docdir |
--docdi |
--doc |
--do)
892 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
895 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
897 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
900 -enable-* |
--enable-*)
901 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
904 as_fn_error $?
"invalid feature name: $ac_useropt"
905 ac_useropt_orig
=$ac_useropt
906 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
912 ac_unrecognized_sep
=', ';;
914 eval enable_
$ac_useropt=\
$ac_optarg ;;
916 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
917 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
918 |
--exec |
--exe |
--ex)
919 ac_prev
=exec_prefix
;;
920 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
921 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
922 |
--exec=* |
--exe=* |
--ex=*)
923 exec_prefix
=$ac_optarg ;;
925 -gas |
--gas |
--ga |
--g)
926 # Obsolete; use --with-gas.
929 -help |
--help |
--hel |
--he |
-h)
931 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
932 ac_init_help
=recursive
;;
933 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
934 ac_init_help
=short
;;
936 -host |
--host |
--hos |
--ho)
937 ac_prev
=host_alias
;;
938 -host=* |
--host=* |
--hos=* |
--ho=*)
939 host_alias
=$ac_optarg ;;
941 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
943 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
945 htmldir
=$ac_optarg ;;
947 -includedir |
--includedir |
--includedi |
--included |
--include \
948 |
--includ |
--inclu |
--incl |
--inc)
949 ac_prev
=includedir
;;
950 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
951 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
952 includedir
=$ac_optarg ;;
954 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
956 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
957 infodir
=$ac_optarg ;;
959 -libdir |
--libdir |
--libdi |
--libd)
961 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
964 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
965 |
--libexe |
--libex |
--libe)
966 ac_prev
=libexecdir
;;
967 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
968 |
--libexe=* |
--libex=* |
--libe=*)
969 libexecdir
=$ac_optarg ;;
971 -localedir |
--localedir |
--localedi |
--localed |
--locale)
973 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
974 localedir
=$ac_optarg ;;
976 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
977 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
978 ac_prev
=localstatedir
;;
979 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
980 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
981 localstatedir
=$ac_optarg ;;
983 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
985 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
989 # Obsolete; use --without-fp.
992 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
993 |
--no-cr |
--no-c |
-n)
996 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
997 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1000 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1001 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1002 |
--oldin |
--oldi |
--old |
--ol |
--o)
1003 ac_prev
=oldincludedir
;;
1004 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1005 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1006 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1007 oldincludedir
=$ac_optarg ;;
1009 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1011 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1012 prefix
=$ac_optarg ;;
1014 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1015 |
--program-pre |
--program-pr |
--program-p)
1016 ac_prev
=program_prefix
;;
1017 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1018 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1019 program_prefix
=$ac_optarg ;;
1021 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1022 |
--program-suf |
--program-su |
--program-s)
1023 ac_prev
=program_suffix
;;
1024 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1025 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1026 program_suffix
=$ac_optarg ;;
1028 -program-transform-name |
--program-transform-name \
1029 |
--program-transform-nam |
--program-transform-na \
1030 |
--program-transform-n |
--program-transform- \
1031 |
--program-transform |
--program-transfor \
1032 |
--program-transfo |
--program-transf \
1033 |
--program-trans |
--program-tran \
1034 |
--progr-tra |
--program-tr |
--program-t)
1035 ac_prev
=program_transform_name
;;
1036 -program-transform-name=* |
--program-transform-name=* \
1037 |
--program-transform-nam=* |
--program-transform-na=* \
1038 |
--program-transform-n=* |
--program-transform-=* \
1039 |
--program-transform=* |
--program-transfor=* \
1040 |
--program-transfo=* |
--program-transf=* \
1041 |
--program-trans=* |
--program-tran=* \
1042 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1043 program_transform_name
=$ac_optarg ;;
1045 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1047 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1048 pdfdir
=$ac_optarg ;;
1050 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1052 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1055 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1056 |
-silent |
--silent |
--silen |
--sile |
--sil)
1059 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1061 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1063 sbindir
=$ac_optarg ;;
1065 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1066 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1067 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1069 ac_prev
=sharedstatedir
;;
1070 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1071 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1072 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1074 sharedstatedir
=$ac_optarg ;;
1076 -site |
--site |
--sit)
1078 -site=* |
--site=* |
--sit=*)
1081 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1083 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1084 srcdir
=$ac_optarg ;;
1086 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1087 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1088 ac_prev
=sysconfdir
;;
1089 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1090 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1091 sysconfdir
=$ac_optarg ;;
1093 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1094 ac_prev
=target_alias
;;
1095 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1096 target_alias
=$ac_optarg ;;
1098 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1101 -version |
--version |
--versio |
--versi |
--vers |
-V)
1102 ac_init_version
=: ;;
1105 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1108 as_fn_error $?
"invalid package name: $ac_useropt"
1109 ac_useropt_orig
=$ac_useropt
1110 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1115 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1116 ac_unrecognized_sep
=', ';;
1118 eval with_
$ac_useropt=\
$ac_optarg ;;
1120 -without-* |
--without-*)
1121 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1124 as_fn_error $?
"invalid package name: $ac_useropt"
1125 ac_useropt_orig
=$ac_useropt
1126 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1131 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1132 ac_unrecognized_sep
=', ';;
1134 eval with_
$ac_useropt=no
;;
1137 # Obsolete; use --with-x.
1140 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1141 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1142 ac_prev
=x_includes
;;
1143 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1144 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1145 x_includes
=$ac_optarg ;;
1147 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1148 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1149 ac_prev
=x_libraries
;;
1150 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1151 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1152 x_libraries
=$ac_optarg ;;
1154 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1155 Try \`$0 --help' for more information"
1159 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 case $ac_envvar in #(
1162 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1163 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1165 eval $ac_envvar=\
$ac_optarg
1166 export $ac_envvar ;;
1169 # FIXME: should be removed in autoconf 3.0.
1170 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1172 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1179 if test -n "$ac_prev"; then
1180 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1181 as_fn_error $?
"missing argument to $ac_option"
1184 if test -n "$ac_unrecognized_opts"; then
1185 case $enable_option_checking in
1187 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1188 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1192 # Check all directory arguments for consistency.
1193 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1194 datadir sysconfdir sharedstatedir localstatedir includedir \
1195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1196 libdir localedir mandir
1198 eval ac_val
=\$
$ac_var
1199 # Remove trailing slashes.
1202 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1203 eval $ac_var=\
$ac_val;;
1205 # Be sure to have absolute directory names.
1207 [\\/$
]* | ?
:[\\/]* ) continue;;
1208 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1210 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1213 # There might be people who depend on the old broken behavior: `$host'
1214 # used to hold the argument of --host etc.
1215 # FIXME: To remove some day.
1218 target
=$target_alias
1220 # FIXME: To remove some day.
1221 if test "x$host_alias" != x
; then
1222 if test "x$build_alias" = x
; then
1223 cross_compiling
=maybe
1224 elif test "x$build_alias" != "x$host_alias"; then
1230 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1232 test "$silent" = yes && exec 6>/dev
/null
1235 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1236 ac_ls_di
=`ls -di .` &&
1237 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1238 as_fn_error $?
"working directory cannot be determined"
1239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1240 as_fn_error $?
"pwd does not report name of working directory"
1243 # Find the source files, if location was not specified.
1244 if test -z "$srcdir"; then
1245 ac_srcdir_defaulted
=yes
1246 # Try the directory containing this script, then the parent directory.
1247 ac_confdir
=`$as_dirname -- "$as_myself" ||
1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1249 X"$as_myself" : 'X\(//\)[^/]' \| \
1250 X"$as_myself" : 'X\(//\)$' \| \
1251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1252 $as_echo X"$as_myself" |
1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1275 ac_srcdir_defaulted
=no
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1278 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1279 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1281 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1285 # When building in place, set srcdir=.
1286 if test "$ac_abs_confdir" = "$ac_pwd"; then
1289 # Remove unnecessary trailing slashes from srcdir.
1290 # Double slashes in file names in object file debugging info
1291 # mess up M-x gdb in Emacs.
1293 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1295 for ac_var
in $ac_precious_vars; do
1296 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1297 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1298 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1299 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1303 # Report the --help message.
1305 if test "$ac_init_help" = "long"; then
1306 # Omit some internal or obsolete options to make the list less imposing.
1307 # This message is too long to be a string in the A/UX 3.1 sh.
1309 \`configure' configures poppler (TeX Live) 0.37.0 to adapt to many kinds of systems.
1311 Usage: $0 [OPTION]... [VAR=VALUE]...
1313 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1314 VAR=VALUE. See below for descriptions of some of the useful variables.
1316 Defaults for the options are specified in brackets.
1319 -h, --help display this help and exit
1320 --help=short display options specific to this package
1321 --help=recursive display the short help of all the included packages
1322 -V, --version display version information and exit
1323 -q, --quiet, --silent do not print \`checking ...' messages
1324 --cache-file=FILE cache test results in FILE [disabled]
1325 -C, --config-cache alias for \`--cache-file=config.cache'
1326 -n, --no-create do not create output files
1327 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1329 Installation directories:
1330 --prefix=PREFIX install architecture-independent files in PREFIX
1331 [$ac_default_prefix]
1332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1335 By default, \`make install' will install all the files in
1336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1337 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1338 for instance \`--prefix=\$HOME'.
1340 For better control, use the options below.
1342 Fine tuning of the installation directories:
1343 --bindir=DIR user executables [EPREFIX/bin]
1344 --sbindir=DIR system admin executables [EPREFIX/sbin]
1345 --libexecdir=DIR program executables [EPREFIX/libexec]
1346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1348 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1349 --libdir=DIR object code libraries [EPREFIX/lib]
1350 --includedir=DIR C header files [PREFIX/include]
1351 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1354 --infodir=DIR info documentation [DATAROOTDIR/info]
1355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1356 --mandir=DIR man documentation [DATAROOTDIR/man]
1357 --docdir=DIR documentation root
1358 [DATAROOTDIR/doc/poppler--tex-live-]
1359 --htmldir=DIR html documentation [DOCDIR]
1360 --dvidir=DIR dvi documentation [DOCDIR]
1361 --pdfdir=DIR pdf documentation [DOCDIR]
1362 --psdir=DIR ps documentation [DOCDIR]
1368 --program-prefix=PREFIX prepend PREFIX to installed program names
1369 --program-suffix=SUFFIX append SUFFIX to installed program names
1370 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1374 if test -n "$ac_init_help"; then
1375 case $ac_init_help in
1376 short | recursive
) echo "Configuration of poppler (TeX Live) 0.37.0:";;
1381 --disable-option-checking ignore unrecognized
--enable/--with options
1382 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1383 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1384 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1385 --disable-silent-rules verbose build output
(undo
: "make V=0")
1386 --enable-maintainer-mode
1387 enable make rules and dependencies not useful
(and
1388 sometimes confusing
) to the casual installer
1389 --enable-dependency-tracking
1390 do not reject slow dependency extractors
1391 --disable-dependency-tracking
1392 speeds up one-time build
1393 --enable-compiler-warnings=[no|min|
yes|max|all
]
1394 Turn on compiler warnings
[default
: yes if
1395 maintainer-mode
, min otherwise
]
1396 --enable-opi include support
for OPI comments
1397 --enable-multithreaded include support
for multithreading
1398 --enable-exceptions use C
++ exceptions
1399 --enable-fixedpoint use fixed point
(instead of floating point
)
1401 --disable-largefile omit support
for large files
1404 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1405 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1406 --with-system-zlib use installed zlib headers and library
1407 --with-zlib-includes=DIR
1408 zlib headers installed
in DIR
1409 --with-zlib-libdir=DIR zlib library installed
in DIR
1411 Some influential environment variables
:
1412 CC C compiler
command
1413 CFLAGS C compiler flags
1414 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1415 nonstandard directory
<lib dir
>
1416 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1417 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1418 you have headers
in a nonstandard directory
<include dir
>
1419 CXX C
++ compiler
command
1420 CXXFLAGS C
++ compiler flags
1423 Use these variables to override the choices made by
`configure' or to help
1424 it to find libraries and programs with nonstandard names/locations.
1426 Report bugs to <tex-k@tug.org>.
1431 if test "$ac_init_help" = "recursive"; then
1432 # If there are subdirs, report their specific --help.
1433 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1434 test -d "$ac_dir" ||
1435 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1440 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1442 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1443 # A ".." for each directory in $ac_dir_suffix.
1444 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1445 case $ac_top_builddir_sub in
1446 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1450 ac_abs_top_builddir=$ac_pwd
1451 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1452 # for backward compatibility:
1453 ac_top_builddir=$ac_top_build_prefix
1456 .) # We are building in place.
1458 ac_top_srcdir=$ac_top_builddir_sub
1459 ac_abs_top_srcdir=$ac_pwd ;;
1460 [\\/]* | ?:[\\/]* ) # Absolute name.
1461 ac_srcdir=$srcdir$ac_dir_suffix;
1462 ac_top_srcdir=$srcdir
1463 ac_abs_top_srcdir=$srcdir ;;
1465 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1466 ac_top_srcdir=$ac_top_build_prefix$srcdir
1467 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1469 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1471 cd "$ac_dir" || { ac_status=$?; continue; }
1472 # Check for guested configure.
1473 if test -f "$ac_srcdir/configure.gnu"; then
1475 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1476 elif test -f "$ac_srcdir/configure"; then
1478 $SHELL "$ac_srcdir/configure" --help=recursive
1480 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1482 cd "$ac_pwd" || { ac_status=$?; break; }
1486 test -n "$ac_init_help" && exit $ac_status
1487 if $ac_init_version; then
1489 poppler (TeX Live) configure 0.37.0
1490 generated by GNU Autoconf 2.69
1492 Copyright (C) 2012 Free Software Foundation, Inc.
1493 This configure script is free software; the Free Software Foundation
1494 gives unlimited permission to copy, distribute and modify it.
1499 ## ------------------------ ##
1500 ## Autoconf initialization. ##
1501 ## ------------------------ ##
1503 # ac_fn_c_try_compile LINENO
1504 # --------------------------
1505 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1506 ac_fn_c_try_compile ()
1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1509 rm -f conftest.$ac_objext
1510 if { { ac_try="$ac_compile"
1512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1513 *) ac_try_echo
=$ac_try;;
1515 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1516 $as_echo "$ac_try_echo"; } >&5
1517 (eval "$ac_compile") 2>conftest.err
1519 if test -s conftest.err
; then
1520 grep -v '^ *+' conftest.err
>conftest.er1
1521 cat conftest.er1
>&5
1522 mv -f conftest.er1 conftest.err
1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525 test $ac_status = 0; } && {
1526 test -z "$ac_c_werror_flag" ||
1527 test ! -s conftest.err
1528 } && test -s conftest.
$ac_objext; then :
1531 $as_echo "$as_me: failed program was:" >&5
1532 sed 's/^/| /' conftest.
$ac_ext >&5
1536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1537 as_fn_set_status
$ac_retval
1539 } # ac_fn_c_try_compile
1541 # ac_fn_c_try_link LINENO
1542 # -----------------------
1543 # Try to link conftest.$ac_ext, and return whether this succeeded.
1546 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1547 rm -f conftest.
$ac_objext conftest
$ac_exeext
1548 if { { ac_try
="$ac_link"
1550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1551 *) ac_try_echo=$ac_try;;
1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554 $as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_link") 2>conftest.err
1557 if test -s conftest.err; then
1558 grep -v '^ *+' conftest.err >conftest.er1
1559 cat conftest.er1 >&5
1560 mv -f conftest.er1 conftest.err
1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563 test $ac_status = 0; } && {
1564 test -z "$ac_c_werror_flag" ||
1565 test ! -s conftest.err
1566 } && test -s conftest$ac_exeext && {
1567 test "$cross_compiling" = yes ||
1568 test -x conftest$ac_exeext
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1577 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1578 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1579 # interfere with the next link command; also delete a directory that is
1580 # left behind by Apple's compiler. We do this before executing the actions.
1581 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1583 as_fn_set_status $ac_retval
1585 } # ac_fn_c_try_link
1587 # ac_fn_cxx_try_compile LINENO
1588 # ----------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_cxx_try_compile ()
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 rm -f conftest.$ac_objext
1594 if { { ac_try="$ac_compile"
1596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1597 *) ac_try_echo
=$ac_try;;
1599 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_compile") 2>conftest.err
1603 if test -s conftest.err
; then
1604 grep -v '^ *+' conftest.err
>conftest.er1
1605 cat conftest.er1
>&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } && {
1610 test -z "$ac_cxx_werror_flag" ||
1611 test ! -s conftest.err
1612 } && test -s conftest.
$ac_objext; then :
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.
$ac_ext >&5
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status
$ac_retval
1623 } # ac_fn_cxx_try_compile
1625 # ac_fn_c_try_run LINENO
1626 # ----------------------
1627 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1628 # that executables *can* be run.
1631 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1632 if { { ac_try
="$ac_link"
1634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1635 *) ac_try_echo=$ac_try;;
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_link") 2>&5
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1643 { { case "(($ac_try" in
1644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1645 *) ac_try_echo
=$ac_try;;
1647 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_try") 2>&5
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; }; }; then :
1655 $as_echo "$as_me: program exited with status $ac_status" >&5
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.
$ac_ext >&5
1659 ac_retval
=$ac_status
1661 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663 as_fn_set_status
$ac_retval
1667 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1668 # --------------------------------------------
1669 # Tries to find the compile-time value of EXPR in a program that includes
1670 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1672 ac_fn_c_compute_int
()
1674 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1675 if test "$cross_compiling" = yes; then
1676 # Depending upon the size, compute the lo and hi bounds.
1677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1683 static int test_array [1 - 2 * !(($2) >= 0)];
1685 return test_array [0];
1691 if ac_fn_c_try_compile
"$LINENO"; then :
1694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1700 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1702 return test_array [0];
1708 if ac_fn_c_try_compile
"$LINENO"; then :
1709 ac_hi
=$ac_mid; break
1711 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1712 if test $ac_lo -le $ac_mid; then
1716 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1722 /* end confdefs.h. */
1727 static int test_array [1 - 2 * !(($2) < 0)];
1729 return test_array [0];
1735 if ac_fn_c_try_compile
"$LINENO"; then :
1738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1739 /* end confdefs.h. */
1744 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1746 return test_array [0];
1752 if ac_fn_c_try_compile
"$LINENO"; then :
1753 ac_lo
=$ac_mid; break
1755 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1756 if test $ac_mid -le $ac_hi; then
1760 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1770 # Binary search between lo and hi bounds.
1771 while test "x$ac_lo" != "x$ac_hi"; do
1772 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1779 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1781 return test_array [0];
1787 if ac_fn_c_try_compile
"$LINENO"; then :
1790 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1795 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1802 static long int longval () { return $2; }
1803 static unsigned long int ulongval () { return $2; }
1810 FILE *f = fopen ("conftest.val", "w");
1815 long int i = longval ();
1818 fprintf (f, "%ld", i);
1822 unsigned long int i = ulongval ();
1825 fprintf (f, "%lu", i);
1827 /* Do not output a trailing newline, as this causes \r\n confusion
1828 on some platforms. */
1829 return ferror (f) || fclose (f) != 0;
1835 if ac_fn_c_try_run
"$LINENO"; then :
1836 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1840 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1841 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 as_fn_set_status
$ac_retval
1848 } # ac_fn_c_compute_int
1850 # ac_fn_c_try_cpp LINENO
1851 # ----------------------
1852 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1855 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1856 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1859 *) ac_try_echo=$ac_try;;
1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1865 if test -s conftest.err; then
1866 grep -v '^ *+' conftest.err >conftest.er1
1867 cat conftest.er1 >&5
1868 mv -f conftest.er1 conftest.err
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; } > conftest.i && {
1872 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1873 test ! -s conftest.err
1877 $as_echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.$ac_ext >&5
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 as_fn_set_status $ac_retval
1887 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1888 # -------------------------------------------------------
1889 # Tests whether HEADER exists and can be compiled using the include files in
1890 # INCLUDES, setting the cache variable VAR accordingly.
1891 ac_fn_c_check_header_compile ()
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895 $as_echo_n "checking for $2... " >&6; }
1896 if eval \${$3+:} false; then :
1897 $as_echo_n "(cached) " >&6
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1904 if ac_fn_c_try_compile "$LINENO"; then :
1909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1913 $as_echo "$ac_res" >&6; }
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916 } # ac_fn_c_check_header_compile
1918 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1919 # -------------------------------------------------------
1920 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1921 # the include files in INCLUDES and setting the cache variable VAR
1923 ac_fn_c_check_header_mongrel ()
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 if eval \${$3+:} false; then :
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1929 if eval \${$3+:} false; then :
1930 $as_echo_n "(cached) " >&6
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1936 # Is the header compilable?
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1938 $as_echo_n "checking $2 usability... " >&6; }
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1944 if ac_fn_c_try_compile "$LINENO"; then :
1945 ac_header_compiler=yes
1947 ac_header_compiler=no
1949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1951 $as_echo "$ac_header_compiler" >&6; }
1953 # Is the header present?
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1955 $as_echo_n "checking $2 presence... " >&6; }
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1960 if ac_fn_c_try_cpp "$LINENO"; then :
1961 ac_header_preproc=yes
1963 ac_header_preproc=no
1965 rm -f conftest.err conftest.i conftest.$ac_ext
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1967 $as_echo "$ac_header_preproc" >&6; }
1969 # So? What about this header?
1970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1973 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1975 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1979 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1981 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1983 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1985 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1987 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1988 ( $as_echo "## ---------------------------- ##
1989 ## Report this to tex-k@tug.org ##
1990 ## ---------------------------- ##"
1991 ) | sed "s/^/$as_me: WARNING: /" >&2
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1995 $as_echo_n "checking for $2... " >&6; }
1996 if eval \${$3+:} false; then :
1997 $as_echo_n "(cached) " >&6
1999 eval "$3=\$ac_header_compiler"
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2003 $as_echo "$ac_res" >&6; }
2005 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007 } # ac_fn_c_check_header_mongrel
2009 # ac_fn_c_check_func LINENO FUNC VAR
2010 # ----------------------------------
2011 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2012 ac_fn_c_check_func ()
2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2016 $as_echo_n "checking for $2... " >&6; }
2017 if eval \${$3+:} false; then :
2018 $as_echo_n "(cached) " >&6
2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2022 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2024 #define $2 innocuous_$2
2026 /* System header to define __stub macros and hopefully few prototypes,
2027 which can conflict with char $2 (); below.
2028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2029 <limits.h> exists even on freestanding compilers. */
2032 # include <limits.h>
2034 # include <assert.h>
2039 /* Override any GCC internal prototype to avoid an error.
2040 Use char because int might match the return type of a GCC
2041 builtin and then its argument prototype would still apply. */
2046 /* The GNU C library defines this for functions which it implements
2047 to always fail with ENOSYS. Some functions are actually named
2048 something starting with __ and the normal name is an alias. */
2049 #if defined __stub_$2 || defined __stub___$2
2061 if ac_fn_c_try_link "$LINENO"; then :
2066 rm -f core conftest.err conftest.$ac_objext \
2067 conftest$ac_exeext conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074 } # ac_fn_c_check_func
2075 cat >config.log <<_ACEOF
2076 This file contains any messages produced by compilers while
2077 running configure, to aid debugging if configure makes a mistake.
2079 It was created by poppler (TeX Live) $as_me 0.37.0, which was
2080 generated by GNU Autoconf 2.69. Invocation command line was
2092 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2093 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2094 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2095 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2096 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2098 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2099 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2101 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2102 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2103 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2104 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2105 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2106 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2107 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115 test -z "$as_dir" && as_dir=.
2116 $as_echo "PATH: $as_dir"
2132 # Keep a trace of the command line.
2133 # Strip out --no-create and --no-recursion so they do not pile up.
2134 # Strip out --silent because we don't want to record it for future runs.
2135 # Also quote any args containing shell meta-characters.
2136 # Make two passes to allow for proper duplicate-argument suppression.
2140 ac_must_keep_next=false
2146 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2148 | -silent | --silent | --silen | --sile | --sil)
2151 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2154 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2156 as_fn_append ac_configure_args1 " '$ac_arg'"
2157 if test $ac_must_keep_next = true; then
2158 ac_must_keep_next=false # Got value, back to normal.
2161 *=* | --config-cache | -C | -disable-* | --disable-* \
2162 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2163 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2164 | -with-* | --with-* | -without-* | --without-* | --x)
2165 case "$ac_configure_args0 " in
2166 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2169 -* ) ac_must_keep_next=true ;;
2172 as_fn_append ac_configure_args " '$ac_arg'"
2177 { ac_configure_args0=; unset ac_configure_args0;}
2178 { ac_configure_args1=; unset ac_configure_args1;}
2180 # When interrupted or exit'd, cleanup temporary files, and complete
2181 # config.log. We remove comments because anyway the quotes in there
2182 # would cause problems or look ugly.
2183 # WARNING: Use '\'' to represent an apostrophe within the trap.
2184 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2185 trap 'exit_status=$?
2186 # Save into config.log some information that might help in debugging.
2190 $as_echo "## ---------------- ##
2191 ## Cache variables. ##
2192 ## ---------------- ##"
2194 # The following way of writing the cache mishandles newlines in values,
2196 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2197 eval ac_val=\$$ac_var
2201 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2202 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2205 _ | IFS | as_nl) ;; #(
2206 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2207 *) { eval $ac_var=; unset $ac_var;} ;;
2212 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2213 *${as_nl}ac_space=\ *)
2215 "s/'\''/'\''\\\\'\'''\''/g;
2216 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2226 $as_echo "## ----------------- ##
2227 ## Output variables. ##
2228 ## ----------------- ##"
2230 for ac_var in $ac_subst_vars
2232 eval ac_val=\$$ac_var
2234 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2236 $as_echo "$ac_var='\''$ac_val'\''"
2240 if test -n "$ac_subst_files"; then
2241 $as_echo "## ------------------- ##
2242 ## File substitutions. ##
2243 ## ------------------- ##"
2245 for ac_var in $ac_subst_files
2247 eval ac_val=\$$ac_var
2249 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2251 $as_echo "$ac_var='\''$ac_val'\''"
2256 if test -s confdefs.h; then
2257 $as_echo "## ----------- ##
2264 test "$ac_signal" != 0 &&
2265 $as_echo "$as_me: caught signal $ac_signal"
2266 $as_echo "$as_me: exit $exit_status"
2268 rm -f core *.core core.conftest.* &&
2269 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2272 for ac_signal in 1 2 13 15; do
2273 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2277 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2278 rm -f -r conftest* confdefs.h
2280 $as_echo "/* confdefs.h */" > confdefs.h
2282 # Predefined preprocessor variables.
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_NAME "$PACKAGE_NAME"
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_STRING "$PACKAGE_STRING"
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_URL "$PACKAGE_URL"
2309 # Let the site file select an alternate cache file if it wants to.
2310 # Prefer an explicitly selected file to automatically selected ones.
2313 if test -n "$CONFIG_SITE"; then
2314 # We do not want a PATH search for config.site.
2315 case $CONFIG_SITE in #((
2316 -*) ac_site_file1=./$CONFIG_SITE;;
2317 */*) ac_site_file1=$CONFIG_SITE;;
2318 *) ac_site_file1=./$CONFIG_SITE;;
2320 elif test "x$prefix" != xNONE; then
2321 ac_site_file1=$prefix/share/config.site
2322 ac_site_file2=$prefix/etc/config.site
2324 ac_site_file1=$ac_default_prefix/share/config.site
2325 ac_site_file2=$ac_default_prefix/etc/config.site
2327 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2329 test "x$ac_site_file" = xNONE && continue
2330 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2332 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2333 sed 's/^/| /' "$ac_site_file" >&5
2335 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2337 as_fn_error $? "failed to load site
script $ac_site_file
2338 See \
`config.log' for more details" "$LINENO" 5; }
2342 if test -r "$cache_file"; then
2343 # Some versions of bash will fail to source /dev/null (special files
2344 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2345 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2347 $as_echo "$as_me: loading cache $cache_file" >&6;}
2349 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2350 *) . "./$cache_file";;
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2355 $as_echo "$as_me: creating cache $cache_file" >&6;}
2359 # Check that the precious variables saved in the cache have kept the same
2361 ac_cache_corrupted=false
2362 for ac_var in $ac_precious_vars; do
2363 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2364 eval ac_new_set=\$ac_env_${ac_var}_set
2365 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2366 eval ac_new_val=\$ac_env_${ac_var}_value
2367 case $ac_old_set,$ac_new_set in
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2370 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2371 ac_cache_corrupted=: ;;
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2374 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2375 ac_cache_corrupted=: ;;
2378 if test "x$ac_old_val" != "x$ac_new_val"; then
2379 # differences in whitespace do not lead to failure.
2380 ac_old_val_w=`echo x
$ac_old_val`
2381 ac_new_val_w=`echo x
$ac_new_val`
2382 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2384 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2385 ac_cache_corrupted=:
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2388 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2389 eval $ac_var=\$ac_old_val
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2392 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2394 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2397 # Pass precious variables to config.status.
2398 if test "$ac_new_set" = set; then
2400 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2401 *) ac_arg=$ac_var=$ac_new_val ;;
2403 case " $ac_configure_args " in
2404 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2405 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2409 if $ac_cache_corrupted; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2413 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2414 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2416 ## -------------------- ##
2417 ## Main body of script. ##
2418 ## -------------------- ##
2421 ac_cpp='$CPP $CPPFLAGS'
2422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2430 for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2431 if test -f "$ac_dir/install-sh"; then
2433 ac_install_sh="$ac_aux_dir/install-sh -c"
2435 elif test -f "$ac_dir/install.sh"; then
2437 ac_install_sh="$ac_aux_dir/install.sh -c"
2439 elif test -f "$ac_dir/shtool"; then
2441 ac_install_sh="$ac_aux_dir/shtool install -c"
2445 if test -z "$ac_aux_dir"; then
2446 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2449 # These three variables are undocumented and unsupported,
2450 # and are intended to be withdrawn in a future Autoconf release.
2451 # They can cause serious problems if a builder's source tree is in a directory
2452 # whose full name contains unusual characters.
2453 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2454 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2455 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2460 am__api_version='1.15'
2462 # Find a good install program. We prefer a C program (faster),
2463 # so one script is as good as another. But avoid the broken or
2464 # incompatible versions:
2465 # SysV /etc/install, /usr/sbin/install
2466 # SunOS /usr/etc/install
2467 # IRIX /sbin/install
2469 # AmigaOS /C/install, which installs bootblocks on floppy discs
2470 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2471 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2472 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2473 # OS/2's system install, which has a completely different semantic
2474 # ./install, which can be erroneously created by make from ./install.sh.
2475 # Reject install programs that cannot install multiple files.
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2477 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2478 if test -z "$INSTALL"; then
2479 if ${ac_cv_path_install+:} false; then :
2480 $as_echo_n "(cached) " >&6
2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486 test -z "$as_dir" && as_dir=.
2487 # Account for people who put trailing slashes in PATH elements.
2488 case $as_dir/ in #((
2489 ./ | .// | /[cC]/* | \
2490 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2491 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2494 # OSF1 and SCO ODT 3.0 have their own names for install.
2495 # Don't use installbsd from OSF since it installs stuff as root
2497 for ac_prog in ginstall scoinst install; do
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2500 if test $ac_prog = install &&
2501 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2502 # AIX install. It has an incompatible calling convention.
2504 elif test $ac_prog = install &&
2505 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2506 # program-specific install script used by HP pwplus--don't use.
2509 rm -rf conftest.one conftest.two conftest.dir
2510 echo one > conftest.one
2511 echo two > conftest.two
2513 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2514 test -s conftest.one && test -s conftest.two &&
2515 test -s conftest.dir/conftest.one &&
2516 test -s conftest.dir/conftest.two
2518 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2531 rm -rf conftest.one conftest.two conftest.dir
2534 if test "${ac_cv_path_install+set}" = set; then
2535 INSTALL=$ac_cv_path_install
2537 # As a last resort, use the slow shell script. Don't cache a
2538 # value for INSTALL within a source directory, because that will
2539 # break other packages using the cache if that directory is
2540 # removed, or if the value is a relative name.
2541 INSTALL=$ac_install_sh
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2545 $as_echo "$INSTALL" >&6; }
2547 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2548 # It thinks the first close brace ends the variable substitution.
2549 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2551 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2553 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2556 $as_echo_n "checking whether build environment is sane... " >&6; }
2557 # Reject unsafe characters in $srcdir or the absolute working directory
2558 # name. Accept space and tab only in the latter.
2562 *[\\\"\#\$\&\'\`$am_lf]*)
2563 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2566 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2567 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2570 # Do 'set' in a subshell so we don't clobber the current shell's
2571 # arguments. Must try -L first in case configure is actually a
2572 # symlink; some systems play weird games with the mod time of symlinks
2573 # (eg FreeBSD returns the mod time of the symlink's containing
2577 for am_try
in 1 2; do
2578 echo "timestamp, slept: $am_has_slept" > conftest.
file
2579 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2580 if test "$*" = "X"; then
2582 set X
`ls -t "$srcdir/configure" conftest.file`
2584 if test "$*" != "X $srcdir/configure conftest.file" \
2585 && test "$*" != "X conftest.file $srcdir/configure"; then
2587 # If neither matched, then we have a broken ls. This can happen
2588 # if, for instance, CONFIG_SHELL is bash and it inherits a
2589 # broken ls alias from the environment. This has actually
2590 # happened. Such a system could not be considered "sane".
2591 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2592 alias in your environment" "$LINENO" 5
2594 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2601 test "$2" = conftest.
file
2607 as_fn_error $?
"newly created file is older than distributed files!
2608 Check your system clock" "$LINENO" 5
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2611 $as_echo "yes" >&6; }
2612 # If we didn't sleep, we still need to ensure time stamps of config.status and
2613 # generated files are strictly newer.
2615 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2622 test "$program_prefix" != NONE
&&
2623 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2624 # Use a double $ so make ignores it.
2625 test "$program_suffix" != NONE
&&
2626 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2627 # Double any \ or $.
2628 # By default was `s,x,x', remove it if useless.
2629 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2630 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2632 # Expand $ac_aux_dir to an absolute path.
2633 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2635 if test x
"${MISSING+set}" != xset
; then
2638 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2640 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2643 # Use eval to expand $SHELL
2644 if eval "$MISSING --is-lightweight"; then
2645 am_missing_run
="$MISSING "
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2649 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2652 if test x
"${install_sh+set}" != xset
; then
2655 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2657 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2661 # Installed binaries are usually stripped using 'strip' when the user
2662 # run "make install-strip". However 'strip' might not be the right
2663 # tool to use in cross-compilation environments, therefore Automake
2664 # will honor the 'STRIP' environment variable to overrule this program.
2665 if test "$cross_compiling" != no
; then
2666 if test -n "$ac_tool_prefix"; then
2667 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2668 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if ${ac_cv_prog_STRIP+:} false
; then :
2672 $as_echo_n "(cached) " >&6
2674 if test -n "$STRIP"; then
2675 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir
=.
2682 for ac_exec_ext
in '' $ac_executable_extensions; do
2683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2684 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 STRIP
=$ac_cv_prog_STRIP
2695 if test -n "$STRIP"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2697 $as_echo "$STRIP" >&6; }
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 $as_echo "no" >&6; }
2705 if test -z "$ac_cv_prog_STRIP"; then
2707 # Extract the first word of "strip", so it can be a program name with args.
2708 set dummy strip
; ac_word
=$2
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2712 $as_echo_n "(cached) " >&6
2714 if test -n "$ac_ct_STRIP"; then
2715 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2721 test -z "$as_dir" && as_dir
=.
2722 for ac_exec_ext
in '' $ac_executable_extensions; do
2723 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2724 ac_cv_prog_ac_ct_STRIP
="strip"
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2735 if test -n "$ac_ct_STRIP"; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2737 $as_echo "$ac_ct_STRIP" >&6; }
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2743 if test "x$ac_ct_STRIP" = x
; then
2746 case $cross_compiling:$ac_tool_warned in
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2750 ac_tool_warned
=yes ;;
2755 STRIP
="$ac_cv_prog_STRIP"
2759 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2762 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2763 if test -z "$MKDIR_P"; then
2764 if ${ac_cv_path_mkdir+:} false
; then :
2765 $as_echo_n "(cached) " >&6
2767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2768 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2771 test -z "$as_dir" && as_dir
=.
2772 for ac_prog
in mkdir gmkdir
; do
2773 for ac_exec_ext
in '' $ac_executable_extensions; do
2774 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2775 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2776 'mkdir (GNU coreutils) '* | \
2777 'mkdir (coreutils) '* | \
2778 'mkdir (fileutils) '4.1*)
2779 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2789 test -d .
/--version && rmdir .
/--version
2790 if test "${ac_cv_path_mkdir+set}" = set; then
2791 MKDIR_P
="$ac_cv_path_mkdir -p"
2793 # As a last resort, use the slow shell script. Don't cache a
2794 # value for MKDIR_P within a source directory, because that will
2795 # break other packages using the cache if that directory is
2796 # removed, or if the value is a relative name.
2797 MKDIR_P
="$ac_install_sh -d"
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2801 $as_echo "$MKDIR_P" >&6; }
2803 for ac_prog
in gawk mawk nawk
awk
2805 # Extract the first word of "$ac_prog", so it can be a program name with args.
2806 set dummy
$ac_prog; ac_word
=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if ${ac_cv_prog_AWK+:} false
; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$AWK"; then
2813 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir
=.
2820 for ac_exec_ext
in '' $ac_executable_extensions; do
2821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2822 ac_cv_prog_AWK
="$ac_prog"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 if test -n "$AWK"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2835 $as_echo "$AWK" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2842 test -n "$AWK" && break
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2846 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2848 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2849 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2850 $as_echo_n "(cached) " >&6
2852 cat >conftest.
make <<\_ACEOF
2855 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2857 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2858 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2860 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2862 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2866 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2868 $as_echo "yes" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2873 SET_MAKE
="MAKE=${MAKE-make}"
2876 rm -rf .tst
2>/dev
/null
2877 mkdir .tst
2>/dev
/null
2878 if test -d .tst
; then
2883 rmdir .tst
2>/dev
/null
2885 # Check whether --enable-silent-rules was given.
2886 if test "${enable_silent_rules+set}" = set; then :
2887 enableval
=$enable_silent_rules;
2890 case $enable_silent_rules in # (((
2891 yes) AM_DEFAULT_VERBOSITY
=0;;
2892 no
) AM_DEFAULT_VERBOSITY
=1;;
2893 *) AM_DEFAULT_VERBOSITY
=1;;
2895 am_make
=${MAKE-make}
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2897 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2898 if ${am_cv_make_support_nested_variables+:} false
; then :
2899 $as_echo_n "(cached) " >&6
2901 if $as_echo 'TRUE=$(BAR$(V))
2907 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2908 am_cv_make_support_nested_variables
=yes
2910 am_cv_make_support_nested_variables
=no
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2914 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2915 if test $am_cv_make_support_nested_variables = yes; then
2917 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2919 AM_V
=$AM_DEFAULT_VERBOSITY
2920 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2924 DEPDIR="${am__leading_dot}deps"
2926 ac_config_commands="$ac_config_commands depfiles"
2929 am_make=${MAKE-make}
2930 cat > confinc << 'END
'
2932 @echo this is the am__doit target
2935 # If we don't
find an include directive
, just comment out the code.
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2937 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2941 # First try GNU make style include.
2942 echo "include confinc" > confmf
2943 # Ignore all kinds of additional output from 'make'.
2944 case `$am_make -s -f confmf 2> /dev/null` in #(
2945 *the\ am__doit\ target
*)
2951 # Now try BSD make style include.
2952 if test "$am__include" = "#"; then
2953 echo '.include "confinc"' > confmf
2954 case `$am_make -s -f confmf 2> /dev/null` in #(
2955 *the\ am__doit\ target
*)
2956 am__include
=.include
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2965 $as_echo "$_am_result" >&6; }
2966 rm -f confinc confmf
2968 # Check whether --enable-dependency-tracking was given.
2969 if test "${enable_dependency_tracking+set}" = set; then :
2970 enableval
=$enable_dependency_tracking;
2973 if test "x$enable_dependency_tracking" != xno
; then
2974 am_depcomp
="$ac_aux_dir/depcomp"
2978 if test "x$enable_dependency_tracking" != xno; then
2988 ac_cpp
='$CPP $CPPFLAGS'
2989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2992 if test -n "$ac_tool_prefix"; then
2993 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2994 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996 $as_echo_n "checking for $ac_word... " >&6; }
2997 if ${ac_cv_prog_CC+:} false
; then :
2998 $as_echo_n "(cached) " >&6
3000 if test -n "$CC"; then
3001 ac_cv_prog_CC
="$CC" # Let the user override the test.
3003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3007 test -z "$as_dir" && as_dir
=.
3008 for ac_exec_ext
in '' $ac_executable_extensions; do
3009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3010 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 if test -n "$CC"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3023 $as_echo "$CC" >&6; }
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3031 if test -z "$ac_cv_prog_CC"; then
3033 # Extract the first word of "gcc", so it can be a program name with args.
3034 set dummy gcc
; ac_word
=$2
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036 $as_echo_n "checking for $ac_word... " >&6; }
3037 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3038 $as_echo_n "(cached) " >&6
3040 if test -n "$ac_ct_CC"; then
3041 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir
=.
3048 for ac_exec_ext
in '' $ac_executable_extensions; do
3049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_ac_ct_CC
="gcc"
3051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3061 if test -n "$ac_ct_CC"; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3063 $as_echo "$ac_ct_CC" >&6; }
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066 $as_echo "no" >&6; }
3069 if test "x$ac_ct_CC" = x
; then
3072 case $cross_compiling:$ac_tool_warned in
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3076 ac_tool_warned
=yes ;;
3084 if test -z "$CC"; then
3085 if test -n "$ac_tool_prefix"; then
3086 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3087 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if ${ac_cv_prog_CC+:} false
; then :
3091 $as_echo_n "(cached) " >&6
3093 if test -n "$CC"; then
3094 ac_cv_prog_CC
="$CC" # Let the user override the test.
3096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir
=.
3101 for ac_exec_ext
in '' $ac_executable_extensions; do
3102 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3103 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 if test -n "$CC"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3116 $as_echo "$CC" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3125 if test -z "$CC"; then
3126 # Extract the first word of "cc", so it can be a program name with args.
3127 set dummy cc
; ac_word
=$2
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3129 $as_echo_n "checking for $ac_word... " >&6; }
3130 if ${ac_cv_prog_CC+:} false
; then :
3131 $as_echo_n "(cached) " >&6
3133 if test -n "$CC"; then
3134 ac_cv_prog_CC
="$CC" # Let the user override the test.
3137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir
=.
3142 for ac_exec_ext
in '' $ac_executable_extensions; do
3143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3144 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3145 ac_prog_rejected
=yes
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 if test $ac_prog_rejected = yes; then
3157 # We found a bogon in the path, so make sure we never use it.
3158 set dummy
$ac_cv_prog_CC
3160 if test $# != 0; then
3161 # We chose a different compiler from the bogus one.
3162 # However, it has the same basename, so the bogon will be chosen
3163 # first if we set CC to just the basename; use the full file name.
3165 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3171 if test -n "$CC"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3173 $as_echo "$CC" >&6; }
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 $as_echo "no" >&6; }
3181 if test -z "$CC"; then
3182 if test -n "$ac_tool_prefix"; then
3183 for ac_prog
in cl.exe
3185 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3186 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3188 $as_echo_n "checking for $ac_word... " >&6; }
3189 if ${ac_cv_prog_CC+:} false
; then :
3190 $as_echo_n "(cached) " >&6
3192 if test -n "$CC"; then
3193 ac_cv_prog_CC
="$CC" # Let the user override the test.
3195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3199 test -z "$as_dir" && as_dir
=.
3200 for ac_exec_ext
in '' $ac_executable_extensions; do
3201 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3202 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 if test -n "$CC"; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3215 $as_echo "$CC" >&6; }
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218 $as_echo "no" >&6; }
3222 test -n "$CC" && break
3225 if test -z "$CC"; then
3227 for ac_prog
in cl.exe
3229 # Extract the first word of "$ac_prog", so it can be a program name with args.
3230 set dummy
$ac_prog; ac_word
=$2
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3232 $as_echo_n "checking for $ac_word... " >&6; }
3233 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3234 $as_echo_n "(cached) " >&6
3236 if test -n "$ac_ct_CC"; then
3237 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3243 test -z "$as_dir" && as_dir
=.
3244 for ac_exec_ext
in '' $ac_executable_extensions; do
3245 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3246 ac_cv_prog_ac_ct_CC
="$ac_prog"
3247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3257 if test -n "$ac_ct_CC"; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3259 $as_echo "$ac_ct_CC" >&6; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3262 $as_echo "no" >&6; }
3266 test -n "$ac_ct_CC" && break
3269 if test "x$ac_ct_CC" = x
; then
3272 case $cross_compiling:$ac_tool_warned in
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3276 ac_tool_warned
=yes ;;
3285 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3287 as_fn_error $?
"no acceptable C compiler found in \$PATH
3288 See \`config.log' for more details" "$LINENO" 5; }
3290 # Provide some information about the compiler.
3291 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3294 for ac_option
in --version -v -V -qversion; do
3295 { { ac_try
="$ac_compiler $ac_option >&5"
3297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3298 *) ac_try_echo=$ac_try;;
3300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3301 $as_echo "$ac_try_echo"; } >&5
3302 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3304 if test -s conftest.err; then
3306 ... rest of stderr output deleted ...
3307 10q' conftest.err >conftest.er1
3308 cat conftest.er1 >&5
3310 rm -f conftest.er1 conftest.err
3311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3312 test $ac_status = 0; }
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3326 ac_clean_files_save=$ac_clean_files
3327 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3328 # Try to create an executable without -o first, disregard a.out.
3329 # It will help us diagnose broken compilers, and finding out an intuition
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3332 $as_echo_n "checking whether the C compiler works... " >&6; }
3333 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3335 # The possible output files:
3336 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3339 for ac_file in $ac_files
3342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3343 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3348 if { { ac_try="$ac_link_default"
3350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3351 *) ac_try_echo
=$ac_try;;
3353 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3354 $as_echo "$ac_try_echo"; } >&5
3355 (eval "$ac_link_default") 2>&5
3357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3358 test $ac_status = 0; }; then :
3359 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3360 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3361 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3362 # so that the user can short-circuit this test for compilers unknown to
3364 for ac_file
in $ac_files ''
3366 test -f "$ac_file" ||
continue
3368 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3371 # We found the default executable, but exeext='' is most
3375 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3377 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3379 # We set ac_cv_exeext here because the later test for it is not
3380 # safe: cross compilers may not add the suffix if given an `-o'
3381 # argument, so we may need to know it at that point already.
3382 # Even if this section looks crufty: it has the advantage of
3389 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3394 if test -z "$ac_file"; then :
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3397 $as_echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.
$ac_ext >&5
3400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3402 as_fn_error
77 "C compiler cannot create executables
3403 See \`config.log' for more details" "$LINENO" 5; }
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3406 $as_echo "yes" >&6; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3409 $as_echo_n "checking for C compiler default output file name... " >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3411 $as_echo "$ac_file" >&6; }
3412 ac_exeext
=$ac_cv_exeext
3414 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3415 ac_clean_files
=$ac_clean_files_save
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3417 $as_echo_n "checking for suffix of executables... " >&6; }
3418 if { { ac_try
="$ac_link"
3420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424 $as_echo "$ac_try_echo"; } >&5
3425 (eval "$ac_link") 2>&5
3427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3428 test $ac_status = 0; }; then :
3429 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3430 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3431 # work properly (i.e., refer to `conftest.exe'), while it won't with
3433 for ac_file
in conftest.exe conftest conftest.
*; do
3434 test -f "$ac_file" ||
continue
3436 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3437 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3446 See \`config.log' for more details" "$LINENO" 5; }
3448 rm -f conftest conftest
$ac_cv_exeext
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3450 $as_echo "$ac_cv_exeext" >&6; }
3452 rm -f conftest.
$ac_ext
3453 EXEEXT
=$ac_cv_exeext
3455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3461 FILE *f = fopen ("conftest.out", "w");
3462 return ferror (f) || fclose (f) != 0;
3468 ac_clean_files
="$ac_clean_files conftest.out"
3469 # Check that the compiler produces executables we can run. If not, either
3470 # the compiler is broken, or we cross compile.
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3472 $as_echo_n "checking whether we are cross compiling... " >&6; }
3473 if test "$cross_compiling" != yes; then
3474 { { ac_try
="$ac_link"
3476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480 $as_echo "$ac_try_echo"; } >&5
3481 (eval "$ac_link") 2>&5
3483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484 test $ac_status = 0; }
3485 if { ac_try='./conftest$ac_cv_exeext'
3486 { { case "(($ac_try" in
3487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3488 *) ac_try_echo
=$ac_try;;
3490 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3491 $as_echo "$ac_try_echo"; } >&5
3492 (eval "$ac_try") 2>&5
3494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495 test $ac_status = 0; }; }; then
3498 if test "$cross_compiling" = maybe
; then
3501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503 as_fn_error $?
"cannot run C compiled programs.
3504 If you meant to cross compile, use \`--host'.
3505 See \`config.log' for more details" "$LINENO" 5; }
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3510 $as_echo "$cross_compiling" >&6; }
3512 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3513 ac_clean_files
=$ac_clean_files_save
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3515 $as_echo_n "checking for suffix of object files... " >&6; }
3516 if ${ac_cv_objext+:} false
; then :
3517 $as_echo_n "(cached) " >&6
3519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3530 rm -f conftest.o conftest.obj
3531 if { { ac_try
="$ac_compile"
3533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3534 *) ac_try_echo=$ac_try;;
3536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3537 $as_echo "$ac_try_echo"; } >&5
3538 (eval "$ac_compile") 2>&5
3540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541 test $ac_status = 0; }; then :
3542 for ac_file in conftest.o conftest.obj conftest.*; do
3543 test -f "$ac_file" || continue;
3545 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3546 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3551 $as_echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5
3554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3556 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3557 See \
`config.log' for more details" "$LINENO" 5; }
3559 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3562 $as_echo "$ac_cv_objext" >&6; }
3563 OBJEXT=$ac_cv_objext
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3566 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3567 if ${ac_cv_c_compiler_gnu+:} false; then :
3568 $as_echo_n "(cached) " >&6
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3584 if ac_fn_c_try_compile "$LINENO"; then :
3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3594 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3595 if test $ac_compiler_gnu = yes; then
3600 ac_test_CFLAGS=${CFLAGS+set}
3601 ac_save_CFLAGS=$CFLAGS
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3603 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3604 if ${ac_cv_prog_cc_g+:} false; then :
3605 $as_echo_n "(cached) " >&6
3607 ac_save_c_werror_flag=$ac_c_werror_flag
3608 ac_c_werror_flag=yes
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3622 if ac_fn_c_try_compile "$LINENO"; then :
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3637 if ac_fn_c_try_compile "$LINENO"; then :
3640 ac_c_werror_flag=$ac_save_c_werror_flag
3642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3653 if ac_fn_c_try_compile "$LINENO"; then :
3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3661 ac_c_werror_flag=$ac_save_c_werror_flag
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3664 $as_echo "$ac_cv_prog_cc_g" >&6; }
3665 if test "$ac_test_CFLAGS" = set; then
3666 CFLAGS=$ac_save_CFLAGS
3667 elif test $ac_cv_prog_cc_g = yes; then
3668 if test "$GCC" = yes; then
3674 if test "$GCC" = yes; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3681 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3682 if ${ac_cv_prog_cc_c89+:} false; then :
3683 $as_echo_n "(cached) " >&6
3685 ac_cv_prog_cc_c89=no
3687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3688 /* end confdefs.h. */
3692 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3693 struct buf { int x; };
3694 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3695 static char *e (p, i)
3701 static char *f (char * (*g) (char **, int), char **p, ...)
3706 s = g (p, va_arg (v,int));
3711 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3712 function prototypes and stuff, but not '\xHH' hex character constants.
3713 These don't provoke an error unfortunately, instead are silently treated
3714 as 'x'. The following induces an error, until -std is added to get
3715 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3716 array size at least. It's necessary to write '\x00'==0 to get something
3717 that's true only with -std. */
3718 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3720 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3721 inside strings and character constants. */
3723 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3725 int test (int i, double x);
3726 struct s1 {int (*f) (int a);};
3727 struct s2 {int (*f) (double a);};
3728 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3734 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3739 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3740 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3742 CC="$ac_save_CC $ac_arg"
3743 if ac_fn_c_try_compile "$LINENO"; then :
3744 ac_cv_prog_cc_c89=$ac_arg
3746 rm -f core conftest.err conftest.$ac_objext
3747 test "x$ac_cv_prog_cc_c89" != "xno" && break
3749 rm -f conftest.$ac_ext
3754 case "x$ac_cv_prog_cc_c89" in
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3757 $as_echo "none needed" >&6; } ;;
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3760 $as_echo "unsupported" >&6; } ;;
3762 CC="$CC $ac_cv_prog_cc_c89"
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3764 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3766 if test "x$ac_cv_prog_cc_c89" != xno; then :
3771 ac_cpp='$CPP $CPPFLAGS'
3772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3777 ac_cpp='$CPP $CPPFLAGS'
3778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3782 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3783 if ${am_cv_prog_cc_c_o+:} false; then :
3784 $as_echo_n "(cached) " >&6
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3797 # Make sure it works both with $CC and with simple cc.
3798 # Following AC_PROG_CC_C_O, we do the test twice because some
3799 # compilers refuse to overwrite an existing .o file with -o,
3800 # though they will create one.
3801 am_cv_prog_cc_c_o=yes
3803 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3804 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } \
3808 && test -f conftest2.$ac_objext; then
3811 am_cv_prog_cc_c_o=no
3815 rm -f core conftest*
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3819 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3820 if test "$am_cv_prog_cc_c_o" != yes; then
3821 # Losing compiler, so override with the script.
3822 # FIXME: It is wrong to rewrite CC.
3823 # But if we don't then we get into trouble of one sort or another.
3824 # A longer-term fix would be to have automake use am__CC in this case,
3825 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3826 CC="$am_aux_dir/compile $CC"
3829 ac_cpp='$CPP $CPPFLAGS'
3830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835 depcc="$CC" am_compiler_list=
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3838 $as_echo_n "checking dependency style of $depcc... " >&6; }
3839 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3840 $as_echo_n "(cached) " >&6
3842 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3843 # We make a subdir and do the tests there. Otherwise we can end up
3844 # making bogus files that we don't know about and never remove. For
3845 # instance it was reported that on HP-UX the gcc test will end up
3846 # making a dummy file named 'D' -- because '-MD' means "put the output
3850 # Copy depcomp to subdir because otherwise we won't find it if we're
3851 # using a relative directory.
3852 cp "$am_depcomp" conftest.dir
3854 # We will build objects and dependencies in a subdirectory because
3855 # it helps to detect inapplicable dependency modes. For instance
3856 # both Tru64's cc and ICC support -MD to output dependencies as a
3857 # side effect of compilation, but ICC will put the dependencies in
3858 # the current directory while Tru64 will put them in the object
3862 am_cv_CC_dependencies_compiler_type=none
3863 if test "$am_compiler_list" = ""; then
3864 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3867 case " $depcc " in #(
3868 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3871 for depmode in $am_compiler_list; do
3872 # Setup a source with many dependencies, because some compilers
3873 # like to wrap large dependency lists on column 80 (with \), and
3874 # we should not choose a depcomp mode which is confused by this.
3876 # We need to recreate these files for each test, as the compiler may
3877 # overwrite some of them when testing with obscure command lines.
3878 # This happens at least with the AIX C compiler.
3880 for i in 1 2 3 4 5 6; do
3881 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3882 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3883 # Solaris 10 /bin/sh.
3884 echo '/* dummy */' > sub/conftst$i.h
3886 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3888 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3889 # mode. It turns out that the SunPro C++ compiler does not properly
3890 # handle '-M -o', and we need to detect this. Also, some Intel
3891 # versions had trouble with output in subdirs.
3892 am__obj=sub/conftest.${OBJEXT-o}
3893 am__minus_obj="-o $am__obj"
3896 # This depmode causes a compiler race in universal mode.
3897 test "$am__universal" = false || continue
3900 # After this tag, mechanisms are not by side-effect, so they'll
3901 # only be used when explicitly requested.
3902 if test "x$enable_dependency_tracking" = xyes; then
3908 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3909 # This compiler won't grok '-c -o', but also, the minuso test has
3910 # not run yet. These depmodes are late enough in the game, and
3911 # so weak that their functioning should not be impacted.
3912 am__obj=conftest.${OBJEXT-o}
3917 if depmode=$depmode \
3918 source=sub/conftest.c object=$am__obj \
3919 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3920 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3921 >/dev/null 2>conftest.err &&
3922 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3923 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3924 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3925 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3926 # icc doesn't choke on unknown options, it will just issue warnings
3927 # or remarks (even with -Werror). So we grep stderr for any message
3928 # that says an option was ignored or not supported.
3929 # When given -MP, icc 7.0 and 7.1 complain thusly:
3930 # icc: Command line warning: ignoring option '-M'; no argument required
3931 # The diagnosis changed in icc 8.0:
3932 # icc: Command line remark: option '-MP' not supported
3933 if (grep 'ignoring option' conftest.err ||
3934 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3935 am_cv_CC_dependencies_compiler_type=$depmode
3944 am_cv_CC_dependencies_compiler_type=none
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3949 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3950 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3953 test "x$enable_dependency_tracking" != xno \
3954 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3956 am__fastdepCC_FALSE='#'
3958 am__fastdepCC_TRUE='#'
3959 am__fastdepCC_FALSE=
3964 # Check whether --enable-compiler-warnings was given.
3965 if test "${enable_compiler_warnings+set}" = set; then :
3966 enableval=$enable_compiler_warnings;
3968 case $enable_compiler_warnings in #(
3969 no | min | yes | max | all) :
3972 if test "x$enable_maintainer_mode" = xyes; then :
3973 enable_compiler_warnings=yes
3975 enable_compiler_warnings=min
3980 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3981 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3982 # is not polluted with repeated "-I."
3983 am__isrc=' -I$(srcdir)'
3984 # test to see if srcdir already configured
3985 if test -f $srcdir/config.status; then
3986 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3990 # test whether we have cygpath
3991 if test -z "$CYGPATH_W"; then
3992 if (cygpath --version) >/dev/null 2>/dev/null; then
3993 CYGPATH_W='cygpath -w'
4000 # Define the identity of the package.
4001 PACKAGE='poppler--tex-live-'
4005 # Some tools Automake needs.
4007 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4010 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4013 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4016 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4019 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4021 # For better backward compatibility. To be removed once Automake 1.9.x
4022 # dies out for good. For more background, see:
4023 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4024 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4025 mkdir_p='$(MKDIR_P)'
4027 # We need awk for the "check" target (and possibly the TAP driver). The
4028 # system "awk" is bad on some platforms.
4029 # Always define AMTAR for backward compatibility. Yes, it's still used
4030 # in the wild :-( We should find a proper way to deprecate it ...
4034 # We'll loop over all known methods to create a tar archive until one works.
4035 _am_tools='gnutar pax cpio none'
4037 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4044 # POSIX will say in a future version that running "rm -f" with no argument
4045 # is OK; and we want to be able to make that assumption in our Makefile
4046 # recipes. So use an aggressive probe to check that the usage we want is
4047 # actually supported "in the wild" to an acceptable degree.
4048 # See automake bug#10828.
4049 # To make any issue more visible, cause the running configure to be aborted
4050 # by default if the 'rm' program in use doesn't match our expectations; the
4051 # user can still override this though.
4052 if rm -f && rm -fr && rm -rf; then : OK; else
4056 Your 'rm' program seems unable to run without file operands specified
4057 on the command line, even when the '-f' option is present. This is contrary
4058 to the behaviour of most rm programs out there, and not conforming with
4059 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4061 Please tell bug-automake@gnu.org about your system, including the value
4062 of your $PATH and any error possibly output before this message. This
4063 can help us improve future automake versions.
4066 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4067 echo 'Configuration will proceed anyway, since you have set the' >&2
4068 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4072 Aborting the configuration process, to ensure you take notice of the issue.
4074 You can download and install GNU coreutils to get an 'rm' implementation
4075 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4077 If you want to complete the configuration process using your problematic
4078 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4079 to "yes", and re-run configure.
4082 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4088 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4089 # Check whether --enable-maintainer-mode was given.
4090 if test "${enable_maintainer_mode+set}" = set; then :
4091 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4093 USE_MAINTAINER_MODE=no
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4097 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4098 if test $USE_MAINTAINER_MODE = yes; then
4099 MAINTAINER_MODE_TRUE=
4100 MAINTAINER_MODE_FALSE='#'
4102 MAINTAINER_MODE_TRUE='#'
4103 MAINTAINER_MODE_FALSE=
4106 MAINT=$MAINTAINER_MODE_TRUE
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4110 $as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
4111 if ${kb_cv_c_prototypes+:} false; then :
4112 $as_echo_n "(cached) " >&6
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4120 extern void foo(int i,...);
4125 if ac_fn_c_try_link "$LINENO"; then :
4126 kb_cv_c_prototypes=yes
4128 kb_cv_c_prototypes=no
4130 rm -f core conftest.err conftest.$ac_objext \
4131 conftest$ac_exeext conftest.$ac_ext
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4134 $as_echo "$kb_cv_c_prototypes" >&6; }
4135 if test "x$kb_cv_c_prototypes" = xno; then
4136 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4139 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
4140 if ${kpse_cv_warning_cflags+:} false; then :
4141 $as_echo_n "(cached) " >&6
4143 if test "x$GCC" = xyes; then
4144 kpse_cv_warning_cflags=
4145 if test "x$enable_compiler_warnings" != xno; then
4146 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4147 case `$CC -dumpversion` in #(
4148 3.4.* | 4.* | 5.*) :
4149 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4153 case `$CC -dumpversion` in #(
4154 3.[234].* | 4.* | 5.*) :
4155 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4159 if test "x$enable_compiler_warnings" != xmin; then
4160 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4161 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4162 if test "x$enable_compiler_warnings" != xyes; then
4163 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4164 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4165 case `$CC -dumpversion` in #(
4166 3.4.* | 4.* | 5.*) :
4167 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4171 if test "x$enable_compiler_warnings" != xmax; then
4172 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4177 elif test "x$enable_compiler_warnings" = xno; then
4178 kpse_cv_warning_cflags=
4180 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4184 $as_echo "$kpse_cv_warning_cflags" >&6; }
4185 WARNING_CFLAGS=$kpse_cv_warning_cflags
4195 ac_cpp='$CPP $CPPFLAGS'
4196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4199 if test -n "$ac_tool_prefix"; then
4200 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4201 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4203 $as_echo_n "checking for $ac_word... " >&6; }
4204 if ${ac_cv_prog_CC+:} false; then :
4205 $as_echo_n "(cached) " >&6
4207 if test -n "$CC"; then
4208 ac_cv_prog_CC="$CC" # Let the user override the test.
4210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214 test -z "$as_dir" && as_dir=.
4215 for ac_exec_ext in '' $ac_executable_extensions; do
4216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4217 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 if test -n "$CC"; then
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4230 $as_echo "$CC" >&6; }
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4233 $as_echo "no" >&6; }
4238 if test -z "$ac_cv_prog_CC"; then
4240 # Extract the first word of "gcc", so it can be a program name with args.
4241 set dummy gcc; ac_word=$2
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4243 $as_echo_n "checking for $ac_word... " >&6; }
4244 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4245 $as_echo_n "(cached) " >&6
4247 if test -n "$ac_ct_CC"; then
4248 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4254 test -z "$as_dir" && as_dir=.
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4257 ac_cv_prog_ac_ct_CC="gcc"
4258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4267 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4268 if test -n "$ac_ct_CC"; then
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4270 $as_echo "$ac_ct_CC" >&6; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4273 $as_echo "no" >&6; }
4276 if test "x$ac_ct_CC" = x; then
4279 case $cross_compiling:$ac_tool_warned in
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4283 ac_tool_warned=yes ;;
4291 if test -z "$CC"; then
4292 if test -n "$ac_tool_prefix"; then
4293 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4294 set dummy ${ac_tool_prefix}cc; ac_word=$2
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4296 $as_echo_n "checking for $ac_word... " >&6; }
4297 if ${ac_cv_prog_CC+:} false; then :
4298 $as_echo_n "(cached) " >&6
4300 if test -n "$CC"; then
4301 ac_cv_prog_CC="$CC" # Let the user override the test.
4303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4307 test -z "$as_dir" && as_dir=.
4308 for ac_exec_ext in '' $ac_executable_extensions; do
4309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4310 ac_cv_prog_CC="${ac_tool_prefix}cc"
4311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 if test -n "$CC"; then
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4323 $as_echo "$CC" >&6; }
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4332 if test -z "$CC"; then
4333 # Extract the first word of "cc", so it can be a program name with args.
4334 set dummy cc; ac_word=$2
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4336 $as_echo_n "checking for $ac_word... " >&6; }
4337 if ${ac_cv_prog_CC+:} false; then :
4338 $as_echo_n "(cached) " >&6
4340 if test -n "$CC"; then
4341 ac_cv_prog_CC="$CC" # Let the user override the test.
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 test -z "$as_dir" && as_dir=.
4349 for ac_exec_ext in '' $ac_executable_extensions; do
4350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4351 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4352 ac_prog_rejected=yes
4356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 if test $ac_prog_rejected = yes; then
4364 # We found a bogon in the path, so make sure we never use it.
4365 set dummy $ac_cv_prog_CC
4367 if test $# != 0; then
4368 # We chose a different compiler from the bogus one.
4369 # However, it has the same basename, so the bogon will be chosen
4370 # first if we set CC to just the basename; use the full file name.
4372 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4378 if test -n "$CC"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4380 $as_echo "$CC" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4388 if test -z "$CC"; then
4389 if test -n "$ac_tool_prefix"; then
4390 for ac_prog in cl.exe
4392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4393 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if ${ac_cv_prog_CC+:} false; then :
4397 $as_echo_n "(cached) " >&6
4399 if test -n "$CC"; then
4400 ac_cv_prog_CC="$CC" # Let the user override the test.
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 if test -n "$CC"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4422 $as_echo "$CC" >&6; }
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4429 test -n "$CC" && break
4432 if test -z "$CC"; then
4434 for ac_prog in cl.exe
4436 # Extract the first word of "$ac_prog", so it can be a program name with args.
4437 set dummy $ac_prog; ac_word=$2
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4441 $as_echo_n "(cached) " >&6
4443 if test -n "$ac_ct_CC"; then
4444 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 test -z "$as_dir" && as_dir=.
4451 for ac_exec_ext in '' $ac_executable_extensions; do
4452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4453 ac_cv_prog_ac_ct_CC="$ac_prog"
4454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4464 if test -n "$ac_ct_CC"; then
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4466 $as_echo "$ac_ct_CC" >&6; }
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469 $as_echo "no" >&6; }
4473 test -n "$ac_ct_CC" && break
4476 if test "x$ac_ct_CC" = x; then
4479 case $cross_compiling:$ac_tool_warned in
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4483 ac_tool_warned=yes ;;
4492 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4494 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4495 See \
`config.log' for more details" "$LINENO" 5; }
4497 # Provide some information about the compiler.
4498 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4501 for ac_option in --version -v -V -qversion; do
4502 { { ac_try="$ac_compiler $ac_option >&5"
4504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4505 *) ac_try_echo
=$ac_try;;
4507 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4508 $as_echo "$ac_try_echo"; } >&5
4509 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4511 if test -s conftest.err
; then
4513 ... rest of stderr output deleted ...
4514 10q' conftest.err
>conftest.er1
4515 cat conftest.er1
>&5
4517 rm -f conftest.er1 conftest.err
4518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4519 test $ac_status = 0; }
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4523 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4524 if ${ac_cv_c_compiler_gnu+:} false
; then :
4525 $as_echo_n "(cached) " >&6
4527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4541 if ac_fn_c_try_compile
"$LINENO"; then :
4546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4547 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4551 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4552 if test $ac_compiler_gnu = yes; then
4557 ac_test_CFLAGS
=${CFLAGS+set}
4558 ac_save_CFLAGS
=$CFLAGS
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4560 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4561 if ${ac_cv_prog_cc_g+:} false
; then :
4562 $as_echo_n "(cached) " >&6
4564 ac_save_c_werror_flag
=$ac_c_werror_flag
4565 ac_c_werror_flag
=yes
4568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4579 if ac_fn_c_try_compile
"$LINENO"; then :
4583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4594 if ac_fn_c_try_compile
"$LINENO"; then :
4597 ac_c_werror_flag
=$ac_save_c_werror_flag
4599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4610 if ac_fn_c_try_compile
"$LINENO"; then :
4613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4618 ac_c_werror_flag
=$ac_save_c_werror_flag
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4621 $as_echo "$ac_cv_prog_cc_g" >&6; }
4622 if test "$ac_test_CFLAGS" = set; then
4623 CFLAGS
=$ac_save_CFLAGS
4624 elif test $ac_cv_prog_cc_g = yes; then
4625 if test "$GCC" = yes; then
4631 if test "$GCC" = yes; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4638 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4639 if ${ac_cv_prog_cc_c89+:} false
; then :
4640 $as_echo_n "(cached) " >&6
4642 ac_cv_prog_cc_c89
=no
4644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4649 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4650 struct buf { int x; };
4651 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4652 static char *e (p, i)
4658 static char *f (char * (*g) (char **, int), char **p, ...)
4663 s = g (p, va_arg (v,int));
4668 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4669 function prototypes and stuff, but not '\xHH' hex character constants.
4670 These don't provoke an error unfortunately, instead are silently treated
4671 as 'x'. The following induces an error, until -std is added to get
4672 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4673 array size at least. It's necessary to write '\x00'==0 to get something
4674 that's true only with -std. */
4675 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4677 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4678 inside strings and character constants. */
4680 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4682 int test (int i, double x);
4683 struct s1 {int (*f) (int a);};
4684 struct s2 {int (*f) (double a);};
4685 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4691 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4696 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4697 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4699 CC
="$ac_save_CC $ac_arg"
4700 if ac_fn_c_try_compile
"$LINENO"; then :
4701 ac_cv_prog_cc_c89
=$ac_arg
4703 rm -f core conftest.err conftest.
$ac_objext
4704 test "x$ac_cv_prog_cc_c89" != "xno" && break
4706 rm -f conftest.
$ac_ext
4711 case "x$ac_cv_prog_cc_c89" in
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4714 $as_echo "none needed" >&6; } ;;
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4717 $as_echo "unsupported" >&6; } ;;
4719 CC
="$CC $ac_cv_prog_cc_c89"
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4721 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4723 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4728 ac_cpp
='$CPP $CPPFLAGS'
4729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4734 ac_cpp
='$CPP $CPPFLAGS'
4735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4739 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4740 if ${am_cv_prog_cc_c_o+:} false
; then :
4741 $as_echo_n "(cached) " >&6
4743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4754 # Make sure it works both with $CC and with simple cc.
4755 # Following AC_PROG_CC_C_O, we do the test twice because some
4756 # compilers refuse to overwrite an existing .o file with -o,
4757 # though they will create one.
4758 am_cv_prog_cc_c_o
=yes
4760 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4761 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); } \
4765 && test -f conftest2.
$ac_objext; then
4768 am_cv_prog_cc_c_o
=no
4772 rm -f core conftest
*
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4776 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4777 if test "$am_cv_prog_cc_c_o" != yes; then
4778 # Losing compiler, so override with the script.
4779 # FIXME: It is wrong to rewrite CC.
4780 # But if we don't then we get into trouble of one sort or another.
4781 # A longer-term fix would be to have automake use am__CC in this case,
4782 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4783 CC
="$am_aux_dir/compile $CC"
4786 ac_cpp
='$CPP $CPPFLAGS'
4787 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4788 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4789 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4792 depcc
="$CC" am_compiler_list
=
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4795 $as_echo_n "checking dependency style of $depcc... " >&6; }
4796 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4797 $as_echo_n "(cached) " >&6
4799 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4800 # We make a subdir and do the tests there. Otherwise we can end up
4801 # making bogus files that we don't know about and never remove. For
4802 # instance it was reported that on HP-UX the gcc test will end up
4803 # making a dummy file named 'D' -- because '-MD' means "put the output
4807 # Copy depcomp to subdir because otherwise we won't find it if we're
4808 # using a relative directory.
4809 cp "$am_depcomp" conftest.dir
4811 # We will build objects and dependencies in a subdirectory because
4812 # it helps to detect inapplicable dependency modes. For instance
4813 # both Tru64's cc and ICC support -MD to output dependencies as a
4814 # side effect of compilation, but ICC will put the dependencies in
4815 # the current directory while Tru64 will put them in the object
4819 am_cv_CC_dependencies_compiler_type
=none
4820 if test "$am_compiler_list" = ""; then
4821 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4824 case " $depcc " in #(
4825 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4828 for depmode
in $am_compiler_list; do
4829 # Setup a source with many dependencies, because some compilers
4830 # like to wrap large dependency lists on column 80 (with \), and
4831 # we should not choose a depcomp mode which is confused by this.
4833 # We need to recreate these files for each test, as the compiler may
4834 # overwrite some of them when testing with obscure command lines.
4835 # This happens at least with the AIX C compiler.
4837 for i
in 1 2 3 4 5 6; do
4838 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4839 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4840 # Solaris 10 /bin/sh.
4841 echo '/* dummy */' > sub
/conftst
$i.h
4843 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4845 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4846 # mode. It turns out that the SunPro C++ compiler does not properly
4847 # handle '-M -o', and we need to detect this. Also, some Intel
4848 # versions had trouble with output in subdirs.
4849 am__obj
=sub
/conftest.
${OBJEXT-o}
4850 am__minus_obj
="-o $am__obj"
4853 # This depmode causes a compiler race in universal mode.
4854 test "$am__universal" = false ||
continue
4857 # After this tag, mechanisms are not by side-effect, so they'll
4858 # only be used when explicitly requested.
4859 if test "x$enable_dependency_tracking" = xyes
; then
4865 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4866 # This compiler won't grok '-c -o', but also, the minuso test has
4867 # not run yet. These depmodes are late enough in the game, and
4868 # so weak that their functioning should not be impacted.
4869 am__obj
=conftest.
${OBJEXT-o}
4874 if depmode
=$depmode \
4875 source=sub
/conftest.c object
=$am__obj \
4876 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4877 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4878 >/dev
/null
2>conftest.err
&&
4879 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4880 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4881 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4882 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4883 # icc doesn't choke on unknown options, it will just issue warnings
4884 # or remarks (even with -Werror). So we grep stderr for any message
4885 # that says an option was ignored or not supported.
4886 # When given -MP, icc 7.0 and 7.1 complain thusly:
4887 # icc: Command line warning: ignoring option '-M'; no argument required
4888 # The diagnosis changed in icc 8.0:
4889 # icc: Command line remark: option '-MP' not supported
4890 if (grep 'ignoring option' conftest.err ||
4891 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4892 am_cv_CC_dependencies_compiler_type
=$depmode
4901 am_cv_CC_dependencies_compiler_type
=none
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4906 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4907 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4910 test "x$enable_dependency_tracking" != xno \
4911 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4913 am__fastdepCC_FALSE
='#'
4915 am__fastdepCC_TRUE
='#'
4916 am__fastdepCC_FALSE
=
4921 ac_cpp
='$CXXCPP $CPPFLAGS'
4922 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4923 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4924 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4925 if test -z "$CXX"; then
4926 if test -n "$CCC"; then
4929 if test -n "$ac_tool_prefix"; then
4930 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4933 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if ${ac_cv_prog_CXX+:} false
; then :
4937 $as_echo_n "(cached) " >&6
4939 if test -n "$CXX"; then
4940 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4946 test -z "$as_dir" && as_dir
=.
4947 for ac_exec_ext
in '' $ac_executable_extensions; do
4948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 if test -n "$CXX"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4962 $as_echo "$CXX" >&6; }
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4969 test -n "$CXX" && break
4972 if test -z "$CXX"; then
4974 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4976 # Extract the first word of "$ac_prog", so it can be a program name with args.
4977 set dummy
$ac_prog; ac_word
=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$ac_ct_CXX"; then
4984 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir
=.
4991 for ac_exec_ext
in '' $ac_executable_extensions; do
4992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5004 if test -n "$ac_ct_CXX"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5006 $as_echo "$ac_ct_CXX" >&6; }
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5013 test -n "$ac_ct_CXX" && break
5016 if test "x$ac_ct_CXX" = x
; then
5019 case $cross_compiling:$ac_tool_warned in
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5023 ac_tool_warned
=yes ;;
5031 # Provide some information about the compiler.
5032 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5035 for ac_option
in --version -v -V -qversion; do
5036 { { ac_try
="$ac_compiler $ac_option >&5"
5038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5039 *) ac_try_echo=$ac_try;;
5041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5042 $as_echo "$ac_try_echo"; } >&5
5043 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5045 if test -s conftest.err; then
5047 ... rest of stderr output deleted ...
5048 10q' conftest.err >conftest.er1
5049 cat conftest.er1 >&5
5051 rm -f conftest.er1 conftest.err
5052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5053 test $ac_status = 0; }
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5057 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5058 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5059 $as_echo_n "(cached) " >&6
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5075 if ac_fn_cxx_try_compile "$LINENO"; then :
5080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5081 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5085 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5086 if test $ac_compiler_gnu = yes; then
5091 ac_test_CXXFLAGS=${CXXFLAGS+set}
5092 ac_save_CXXFLAGS=$CXXFLAGS
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5094 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5095 if ${ac_cv_prog_cxx_g+:} false; then :
5096 $as_echo_n "(cached) " >&6
5098 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5099 ac_cxx_werror_flag=yes
5102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5103 /* end confdefs.h. */
5113 if ac_fn_cxx_try_compile "$LINENO"; then :
5114 ac_cv_prog_cxx_g=yes
5117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5118 /* end confdefs.h. */
5128 if ac_fn_cxx_try_compile "$LINENO"; then :
5131 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5134 /* end confdefs.h. */
5144 if ac_fn_cxx_try_compile "$LINENO"; then :
5145 ac_cv_prog_cxx_g=yes
5147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5152 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5155 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5156 if test "$ac_test_CXXFLAGS" = set; then
5157 CXXFLAGS=$ac_save_CXXFLAGS
5158 elif test $ac_cv_prog_cxx_g = yes; then
5159 if test "$GXX" = yes; then
5165 if test "$GXX" = yes; then
5172 ac_cpp='$CPP $CPPFLAGS'
5173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5177 depcc="$CXX" am_compiler_list=
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5180 $as_echo_n "checking dependency style of $depcc... " >&6; }
5181 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5182 $as_echo_n "(cached) " >&6
5184 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5185 # We make a subdir and do the tests there. Otherwise we can end up
5186 # making bogus files that we don't know about and never remove. For
5187 # instance it was reported that on HP-UX the gcc test will end up
5188 # making a dummy file named 'D' -- because '-MD' means "put the output
5192 # Copy depcomp to subdir because otherwise we won't find it if we're
5193 # using a relative directory.
5194 cp "$am_depcomp" conftest.dir
5196 # We will build objects and dependencies in a subdirectory because
5197 # it helps to detect inapplicable dependency modes. For instance
5198 # both Tru64's cc and ICC support -MD to output dependencies as a
5199 # side effect of compilation, but ICC will put the dependencies in
5200 # the current directory while Tru64 will put them in the object
5204 am_cv_CXX_dependencies_compiler_type=none
5205 if test "$am_compiler_list" = ""; then
5206 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5209 case " $depcc " in #(
5210 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5213 for depmode in $am_compiler_list; do
5214 # Setup a source with many dependencies, because some compilers
5215 # like to wrap large dependency lists on column 80 (with \), and
5216 # we should not choose a depcomp mode which is confused by this.
5218 # We need to recreate these files for each test, as the compiler may
5219 # overwrite some of them when testing with obscure command lines.
5220 # This happens at least with the AIX C compiler.
5222 for i in 1 2 3 4 5 6; do
5223 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5224 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5225 # Solaris 10 /bin/sh.
5226 echo '/* dummy */' > sub/conftst$i.h
5228 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5230 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5231 # mode. It turns out that the SunPro C++ compiler does not properly
5232 # handle '-M -o', and we need to detect this. Also, some Intel
5233 # versions had trouble with output in subdirs.
5234 am__obj=sub/conftest.${OBJEXT-o}
5235 am__minus_obj="-o $am__obj"
5238 # This depmode causes a compiler race in universal mode.
5239 test "$am__universal" = false || continue
5242 # After this tag, mechanisms are not by side-effect, so they'll
5243 # only be used when explicitly requested.
5244 if test "x$enable_dependency_tracking" = xyes; then
5250 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5251 # This compiler won't grok '-c -o', but also, the minuso test has
5252 # not run yet. These depmodes are late enough in the game, and
5253 # so weak that their functioning should not be impacted.
5254 am__obj=conftest.${OBJEXT-o}
5259 if depmode=$depmode \
5260 source=sub/conftest.c object=$am__obj \
5261 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5262 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5263 >/dev/null 2>conftest.err &&
5264 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5265 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5266 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5267 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5268 # icc doesn't choke on unknown options, it will just issue warnings
5269 # or remarks (even with -Werror). So we grep stderr for any message
5270 # that says an option was ignored or not supported.
5271 # When given -MP, icc 7.0 and 7.1 complain thusly:
5272 # icc: Command line warning: ignoring option '-M'; no argument required
5273 # The diagnosis changed in icc 8.0:
5274 # icc: Command line remark: option '-MP' not supported
5275 if (grep 'ignoring option' conftest.err ||
5276 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5277 am_cv_CXX_dependencies_compiler_type=$depmode
5286 am_cv_CXX_dependencies_compiler_type=none
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5291 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5292 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5295 test "x$enable_dependency_tracking" != xno \
5296 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5297 am__fastdepCXX_TRUE=
5298 am__fastdepCXX_FALSE='#'
5300 am__fastdepCXX_TRUE='#'
5301 am__fastdepCXX_FALSE=
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
5305 $as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
5306 if ${kpse_cv_warning_cxxflags+:} false; then :
5307 $as_echo_n "(cached) " >&6
5309 if test "x$GXX" = xyes; then
5310 kpse_cv_warning_cxxflags=
5311 kpse_warn_strings="-Wno-write-strings"
5312 if test "x$enable_compiler_warnings" != xno; then
5313 kpse_cv_warning_cxxflags="-Wreturn-type"
5314 case `$CXX -dumpversion` in #(
5315 3.* | 4.[012345].*) :
5316 kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #(
5320 case `$CXX -dumpversion` in #(
5321 3.[234].* | 4.* | 5.*) :
5322 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #(
5326 if test "x$enable_compiler_warnings" != xmin; then
5327 kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags"
5328 if test "x$enable_compiler_warnings" != xyes; then
5329 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
5330 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align"
5331 kpse_warn_strings="-Wwrite-strings"
5332 if test "x$enable_compiler_warnings" != xmax; then
5333 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow"
5338 kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags $kpse_warn_strings"
5339 elif test "x$enable_compiler_warnings" = xno; then
5340 kpse_cv_warning_cxxflags=
5342 kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5
5346 $as_echo "$kpse_cv_warning_cxxflags" >&6; }
5347 WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags
5351 if test -n "$ac_tool_prefix"; then
5352 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5353 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_RANLIB+:} false; then :
5357 $as_echo_n "(cached) " >&6
5359 if test -n "$RANLIB"; then
5360 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5369 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 RANLIB=$ac_cv_prog_RANLIB
5380 if test -n "$RANLIB"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5382 $as_echo "$RANLIB" >&6; }
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5390 if test -z "$ac_cv_prog_RANLIB"; then
5391 ac_ct_RANLIB=$RANLIB
5392 # Extract the first word of "ranlib", so it can be a program name with args.
5393 set dummy ranlib; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5397 $as_echo_n "(cached) " >&6
5399 if test -n "$ac_ct_RANLIB"; then
5400 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_ac_ct_RANLIB="ranlib"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5420 if test -n "$ac_ct_RANLIB"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5422 $as_echo "$ac_ct_RANLIB" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5428 if test "x$ac_ct_RANLIB" = x; then
5431 case $cross_compiling:$ac_tool_warned in
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5435 ac_tool_warned=yes ;;
5437 RANLIB=$ac_ct_RANLIB
5440 RANLIB="$ac_cv_prog_RANLIB"
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5444 $as_echo_n "checking whether ln -s works... " >&6; }
5446 if test "$LN_S" = "ln -s"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5448 $as_echo "yes" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5451 $as_echo "no, using $LN_S" >&6; }
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for C to hide external symbols" >&5
5457 $as_echo_n "checking CFLAGS for C to hide external symbols... " >&6; }
5458 if ${kpse_cv_visibility_cflags+:} false; then :
5459 $as_echo_n "(cached) " >&6
5462 ac_cpp='$CPP $CPPFLAGS'
5463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5467 kpse_cv_visibility_cflags=unknown
5468 kpse_save_flags=$CFLAGS
5469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5472 extern void foo(void);
5473 void foo(void){printf("foo\n");}
5475 # FIXME: Add tests for non-GNU compilers
5476 for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
5477 CFLAGS="$kpse_save_flags -Werror $kpse_flag"
5478 if ac_fn_c_try_compile "$LINENO"; then :
5479 kpse_cv_visibility_cflags=$kpse_flag; break
5481 rm -f core conftest.err conftest.$ac_objext
5484 ac_cpp='$CPP $CPPFLAGS'
5485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cflags" >&5
5492 $as_echo "$kpse_cv_visibility_cflags" >&6; }
5493 CFLAGS=$kpse_save_flags
5494 case $kpse_cv_visibility_cflags in #(
5498 VISIBILITY_CFLAGS=$kpse_cv_visibility_cflags
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for C++ to hide external symbols" >&5
5504 $as_echo_n "checking CXXFLAGS for C++ to hide external symbols... " >&6; }
5505 if ${kpse_cv_visibility_cxxflags+:} false; then :
5506 $as_echo_n "(cached) " >&6
5509 ac_cpp='$CXXCPP $CPPFLAGS'
5510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5514 kpse_cv_visibility_cxxflags=unknown
5515 kpse_save_flags=$CXXFLAGS
5516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5519 extern void foo(void);
5520 void foo(void){printf("foo\n");}
5522 # FIXME: Add tests for non-GNU compilers
5523 for kpse_flag in '-fvisibility=hidden -fvisibility-inlines-hidden' '-fvisibility=hidden'; do
5524 CXXFLAGS="$kpse_save_flags -Werror $kpse_flag"
5525 if ac_fn_cxx_try_compile "$LINENO"; then :
5526 kpse_cv_visibility_cxxflags=$kpse_flag; break
5528 rm -f core conftest.err conftest.$ac_objext
5531 ac_cpp='$CPP $CPPFLAGS'
5532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cxxflags" >&5
5539 $as_echo "$kpse_cv_visibility_cxxflags" >&6; }
5540 CXXFLAGS=$kpse_save_flags
5541 case $kpse_cv_visibility_cxxflags in #(
5545 VISIBILITY_CXXFLAGS=$kpse_cv_visibility_cxxflags
5553 ac_cpp='$CPP $CPPFLAGS'
5554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5558 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5559 # On Suns, sometimes $CPP names a directory.
5560 if test -n "$CPP" && test -d "$CPP"; then
5563 if test -z "$CPP"; then
5564 if ${ac_cv_prog_CPP+:} false; then :
5565 $as_echo_n "(cached) " >&6
5567 # Double quotes because CPP needs to be expanded
5568 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5571 for ac_c_preproc_warn_flag in '' yes
5573 # Use a header file that comes with gcc, so configuring glibc
5574 # with a fresh cross-compiler works.
5575 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5576 # <limits.h> exists even on freestanding compilers.
5577 # On the NeXT, cc -E runs the code through the compiler's parser,
5578 # not just through cpp. "Syntax error" is here to catch this case.
5579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5580 /* end confdefs.h. */
5582 # include <limits.h>
5584 # include <assert.h>
5588 if ac_fn_c_try_cpp "$LINENO"; then :
5591 # Broken: fails on valid input.
5594 rm -f conftest.err conftest.i conftest.$ac_ext
5596 # OK, works on sane cases. Now check whether nonexistent headers
5597 # can be detected and how.
5598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5599 /* end confdefs.h. */
5600 #include <ac_nonexistent.h>
5602 if ac_fn_c_try_cpp "$LINENO"; then :
5603 # Broken: success on invalid input.
5606 # Passes both tests.
5610 rm -f conftest.err conftest.i conftest.$ac_ext
5613 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5614 rm -f conftest.i conftest.err conftest.
$ac_ext
5615 if $ac_preproc_ok; then :
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5628 $as_echo "$CPP" >&6; }
5630 for ac_c_preproc_warn_flag
in '' yes
5632 # Use a header file that comes with gcc, so configuring glibc
5633 # with a fresh cross-compiler works.
5634 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5635 # <limits.h> exists even on freestanding compilers.
5636 # On the NeXT, cc -E runs the code through the compiler's parser,
5637 # not just through cpp. "Syntax error" is here to catch this case.
5638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5639 /* end confdefs.h. */
5641 # include <limits.h>
5643 # include <assert.h>
5647 if ac_fn_c_try_cpp
"$LINENO"; then :
5650 # Broken: fails on valid input.
5653 rm -f conftest.err conftest.i conftest.
$ac_ext
5655 # OK, works on sane cases. Now check whether nonexistent headers
5656 # can be detected and how.
5657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5658 /* end confdefs.h. */
5659 #include <ac_nonexistent.h>
5661 if ac_fn_c_try_cpp
"$LINENO"; then :
5662 # Broken: success on invalid input.
5665 # Passes both tests.
5669 rm -f conftest.err conftest.i conftest.
$ac_ext
5672 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5673 rm -f conftest.i conftest.err conftest.
$ac_ext
5674 if $ac_preproc_ok; then :
5677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5679 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5680 See \`config.log' for more details" "$LINENO" 5; }
5684 ac_cpp
='$CPP $CPPFLAGS'
5685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5691 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5692 if ${ac_cv_path_GREP+:} false
; then :
5693 $as_echo_n "(cached) " >&6
5695 if test -z "$GREP"; then
5696 ac_path_GREP_found
=false
5697 # Loop through the user's path and test for each of PROGNAME-LIST
5698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5699 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5702 test -z "$as_dir" && as_dir
=.
5703 for ac_prog
in grep ggrep
; do
5704 for ac_exec_ext
in '' $ac_executable_extensions; do
5705 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5706 as_fn_executable_p
"$ac_path_GREP" ||
continue
5707 # Check for GNU ac_path_GREP and select it if it is found.
5708 # Check for GNU $ac_path_GREP
5709 case `"$ac_path_GREP" --version 2>&1` in
5711 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5714 $as_echo_n 0123456789 >"conftest.in"
5717 cat "conftest.in" "conftest.in" >"conftest.tmp"
5718 mv "conftest.tmp" "conftest.in"
5719 cp "conftest.in" "conftest.nl"
5720 $as_echo 'GREP' >> "conftest.nl"
5721 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5722 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5723 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5724 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5725 # Best one so far, save it but keep looking for a better one
5726 ac_cv_path_GREP
="$ac_path_GREP"
5727 ac_path_GREP_max
=$ac_count
5729 # 10*(2^10) chars as input seems more than enough
5730 test $ac_count -gt 10 && break
5732 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5735 $ac_path_GREP_found && break 3
5740 if test -z "$ac_cv_path_GREP"; then
5741 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5744 ac_cv_path_GREP
=$GREP
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5749 $as_echo "$ac_cv_path_GREP" >&6; }
5750 GREP
="$ac_cv_path_GREP"
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5754 $as_echo_n "checking for egrep... " >&6; }
5755 if ${ac_cv_path_EGREP+:} false
; then :
5756 $as_echo_n "(cached) " >&6
5758 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5759 then ac_cv_path_EGREP
="$GREP -E"
5761 if test -z "$EGREP"; then
5762 ac_path_EGREP_found
=false
5763 # Loop through the user's path and test for each of PROGNAME-LIST
5764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5765 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5768 test -z "$as_dir" && as_dir
=.
5769 for ac_prog
in egrep; do
5770 for ac_exec_ext
in '' $ac_executable_extensions; do
5771 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5772 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5773 # Check for GNU ac_path_EGREP and select it if it is found.
5774 # Check for GNU $ac_path_EGREP
5775 case `"$ac_path_EGREP" --version 2>&1` in
5777 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5780 $as_echo_n 0123456789 >"conftest.in"
5783 cat "conftest.in" "conftest.in" >"conftest.tmp"
5784 mv "conftest.tmp" "conftest.in"
5785 cp "conftest.in" "conftest.nl"
5786 $as_echo 'EGREP' >> "conftest.nl"
5787 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5788 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5789 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5790 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5791 # Best one so far, save it but keep looking for a better one
5792 ac_cv_path_EGREP
="$ac_path_EGREP"
5793 ac_path_EGREP_max
=$ac_count
5795 # 10*(2^10) chars as input seems more than enough
5796 test $ac_count -gt 10 && break
5798 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5801 $ac_path_EGREP_found && break 3
5806 if test -z "$ac_cv_path_EGREP"; then
5807 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5810 ac_cv_path_EGREP
=$EGREP
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5816 $as_echo "$ac_cv_path_EGREP" >&6; }
5817 EGREP
="$ac_cv_path_EGREP"
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5821 $as_echo_n "checking for ANSI C header files... " >&6; }
5822 if ${ac_cv_header_stdc+:} false
; then :
5823 $as_echo_n "(cached) " >&6
5825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5826 /* end confdefs.h. */
5840 if ac_fn_c_try_compile
"$LINENO"; then :
5841 ac_cv_header_stdc
=yes
5843 ac_cv_header_stdc
=no
5845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5847 if test $ac_cv_header_stdc = yes; then
5848 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5850 /* end confdefs.h. */
5854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5855 $EGREP "memchr" >/dev
/null
2>&1; then :
5858 ac_cv_header_stdc
=no
5864 if test $ac_cv_header_stdc = yes; then
5865 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5872 $EGREP "free" >/dev
/null
2>&1; then :
5875 ac_cv_header_stdc
=no
5881 if test $ac_cv_header_stdc = yes; then
5882 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5883 if test "$cross_compiling" = yes; then :
5886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5887 /* end confdefs.h. */
5890 #if ((' ' & 0x0FF) == 0x020)
5891 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5892 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5894 # define ISLOWER(c) \
5895 (('a' <= (c) && (c) <= 'i') \
5896 || ('j' <= (c) && (c) <= 'r') \
5897 || ('s' <= (c) && (c) <= 'z'))
5898 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5901 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5906 for (i = 0; i < 256; i++)
5907 if (XOR (islower (i), ISLOWER (i))
5908 || toupper (i) != TOUPPER (i))
5913 if ac_fn_c_try_run
"$LINENO"; then :
5916 ac_cv_header_stdc
=no
5918 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5919 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5925 $as_echo "$ac_cv_header_stdc" >&6; }
5926 if test $ac_cv_header_stdc = yes; then
5928 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5932 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5933 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5934 inttypes.h stdint.h unistd.h
5936 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5937 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5939 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5940 cat >>confdefs.h
<<_ACEOF
5941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5949 # The cast to long int works around a bug in the HP C Compiler
5950 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5951 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5952 # This bug is HP SR number 8606223364.
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
5954 $as_echo_n "checking size of long long... " >&6; }
5955 if ${ac_cv_sizeof_long_long+:} false
; then :
5956 $as_echo_n "(cached) " >&6
5958 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
5961 if test "$ac_cv_type_long_long" = yes; then
5962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5964 as_fn_error
77 "cannot compute sizeof (long long)
5965 See \`config.log' for more details" "$LINENO" 5; }
5967 ac_cv_sizeof_long_long
=0
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
5973 $as_echo "$ac_cv_sizeof_long_long" >&6; }
5977 cat >>confdefs.h
<<_ACEOF
5978 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5982 if test $ac_cv_sizeof_long_long -lt 8; then
5983 as_fn_error $?
"Sorry, your compiler has no \`long long' with at least 8 bytes." "$LINENO" 5
5986 test "x$GXX" = xyes
&& NO_WARN_CXXFLAGS
='-Wno-write-strings'
5989 # Check whether --enable-opi was given.
5990 if test "${enable_opi+set}" = set; then :
5991 enableval
=$enable_opi; if test "x$enableval" = xyes
; then
5993 $as_echo "#define OPI_SUPPORT 1" >>confdefs.h
6000 # Check whether --enable-multithreaded was given.
6001 if test "${enable_multithreaded+set}" = set; then :
6002 enableval
=$enable_multithreaded; if test "x$enableval" != xno
; then
6004 $as_echo "#define MULTITHREADED 1" >>confdefs.h
6011 # Check whether --enable-exceptions was given.
6012 if test "${enable_exceptions+set}" = set; then :
6013 enableval
=$enable_exceptions; if test "x$enableval" = xyes
; then
6015 $as_echo "#define USE_EXCEPTIONS 1" >>confdefs.h
6022 # Check whether --enable-fixedpoint was given.
6023 if test "${enable_fixedpoint+set}" = set; then :
6024 enableval
=$enable_fixedpoint; if test "x$enableval" = xyes
; then
6026 $as_echo "#define USE_FIXEDPOINT 1" >>confdefs.h
6034 for ac_header
in strings.h
6036 ac_fn_c_check_header_mongrel
"$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
6037 if test "x$ac_cv_header_strings_h" = xyes
; then :
6038 cat >>confdefs.h
<<_ACEOF
6039 #define HAVE_STRINGS_H 1
6047 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6048 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6050 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6051 if eval \
${$as_ac_Header+:} false
; then :
6052 $as_echo_n "(cached) " >&6
6054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6055 /* end confdefs.h. */
6056 #include <sys/types.h>
6068 if ac_fn_c_try_compile
"$LINENO"; then :
6069 eval "$as_ac_Header=yes"
6071 eval "$as_ac_Header=no"
6073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6075 eval ac_res
=\$
$as_ac_Header
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6077 $as_echo "$ac_res" >&6; }
6078 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6079 cat >>confdefs.h
<<_ACEOF
6080 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6083 ac_header_dirent
=$ac_hdr; break
6087 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6088 if test $ac_header_dirent = dirent.h
; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6090 $as_echo_n "checking for library containing opendir... " >&6; }
6091 if ${ac_cv_search_opendir+:} false
; then :
6092 $as_echo_n "(cached) " >&6
6094 ac_func_search_save_LIBS
=$LIBS
6095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6096 /* end confdefs.h. */
6098 /* Override any GCC internal prototype to avoid an error.
6099 Use char because int might match the return type of a GCC
6100 builtin and then its argument prototype would still apply. */
6113 for ac_lib
in '' dir
; do
6114 if test -z "$ac_lib"; then
6115 ac_res
="none required"
6118 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6120 if ac_fn_c_try_link
"$LINENO"; then :
6121 ac_cv_search_opendir
=$ac_res
6123 rm -f core conftest.err conftest.
$ac_objext \
6125 if ${ac_cv_search_opendir+:} false
; then :
6129 if ${ac_cv_search_opendir+:} false
; then :
6132 ac_cv_search_opendir
=no
6135 LIBS
=$ac_func_search_save_LIBS
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6138 $as_echo "$ac_cv_search_opendir" >&6; }
6139 ac_res
=$ac_cv_search_opendir
6140 if test "$ac_res" != no
; then :
6141 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6147 $as_echo_n "checking for library containing opendir... " >&6; }
6148 if ${ac_cv_search_opendir+:} false
; then :
6149 $as_echo_n "(cached) " >&6
6151 ac_func_search_save_LIBS
=$LIBS
6152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6153 /* end confdefs.h. */
6155 /* Override any GCC internal prototype to avoid an error.
6156 Use char because int might match the return type of a GCC
6157 builtin and then its argument prototype would still apply. */
6170 for ac_lib
in '' x
; do
6171 if test -z "$ac_lib"; then
6172 ac_res
="none required"
6175 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6177 if ac_fn_c_try_link
"$LINENO"; then :
6178 ac_cv_search_opendir
=$ac_res
6180 rm -f core conftest.err conftest.
$ac_objext \
6182 if ${ac_cv_search_opendir+:} false
; then :
6186 if ${ac_cv_search_opendir+:} false
; then :
6189 ac_cv_search_opendir
=no
6192 LIBS
=$ac_func_search_save_LIBS
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6195 $as_echo "$ac_cv_search_opendir" >&6; }
6196 ac_res
=$ac_cv_search_opendir
6197 if test "$ac_res" != no
; then :
6198 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6206 for ac_func
in gettimeofday gmtime_r mkstemp popen rand_r
6208 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6209 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6210 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6211 cat >>confdefs.h
<<_ACEOF
6212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6218 # Check whether --enable-largefile was given.
6219 if test "${enable_largefile+set}" = set; then :
6220 enableval
=$enable_largefile;
6223 if test "$enable_largefile" != no
; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6226 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6227 if ${ac_cv_sys_largefile_CC+:} false
; then :
6228 $as_echo_n "(cached) " >&6
6230 ac_cv_sys_largefile_CC
=no
6231 if test "$GCC" != yes; then
6234 # IRIX 6.2 and later do not support large files by default,
6235 # so use the C compiler's -n32 option if that helps.
6236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6237 /* end confdefs.h. */
6238 #include <sys/types.h>
6239 /* Check that off_t can represent 2**63 - 1 correctly.
6240 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6241 since some C++ compilers masquerading as C compilers
6242 incorrectly reject 9223372036854775807. */
6243 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6244 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6245 && LARGE_OFF_T % 2147483647 == 1)
6255 if ac_fn_c_try_compile
"$LINENO"; then :
6258 rm -f core conftest.err conftest.
$ac_objext
6260 if ac_fn_c_try_compile
"$LINENO"; then :
6261 ac_cv_sys_largefile_CC
=' -n32'; break
6263 rm -f core conftest.err conftest.
$ac_objext
6267 rm -f conftest.
$ac_ext
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6271 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6272 if test "$ac_cv_sys_largefile_CC" != no
; then
6273 CC
=$CC$ac_cv_sys_largefile_CC
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6277 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6278 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6279 $as_echo_n "(cached) " >&6
6282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6284 #include <sys/types.h>
6285 /* Check that off_t can represent 2**63 - 1 correctly.
6286 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6287 since some C++ compilers masquerading as C compilers
6288 incorrectly reject 9223372036854775807. */
6289 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6290 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6291 && LARGE_OFF_T % 2147483647 == 1)
6301 if ac_fn_c_try_compile
"$LINENO"; then :
6302 ac_cv_sys_file_offset_bits
=no
; break
6304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6306 /* end confdefs.h. */
6307 #define _FILE_OFFSET_BITS 64
6308 #include <sys/types.h>
6309 /* Check that off_t can represent 2**63 - 1 correctly.
6310 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6311 since some C++ compilers masquerading as C compilers
6312 incorrectly reject 9223372036854775807. */
6313 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6314 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6315 && LARGE_OFF_T % 2147483647 == 1)
6325 if ac_fn_c_try_compile
"$LINENO"; then :
6326 ac_cv_sys_file_offset_bits
=64; break
6328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6329 ac_cv_sys_file_offset_bits
=unknown
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6334 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6335 case $ac_cv_sys_file_offset_bits in #(
6338 cat >>confdefs.h
<<_ACEOF
6339 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6344 if test $ac_cv_sys_file_offset_bits = unknown
; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6346 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6347 if ${ac_cv_sys_large_files+:} false
; then :
6348 $as_echo_n "(cached) " >&6
6351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6353 #include <sys/types.h>
6354 /* Check that off_t can represent 2**63 - 1 correctly.
6355 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6356 since some C++ compilers masquerading as C compilers
6357 incorrectly reject 9223372036854775807. */
6358 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6359 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6360 && LARGE_OFF_T % 2147483647 == 1)
6370 if ac_fn_c_try_compile
"$LINENO"; then :
6371 ac_cv_sys_large_files
=no
; break
6373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 #define _LARGE_FILES 1
6377 #include <sys/types.h>
6378 /* Check that off_t can represent 2**63 - 1 correctly.
6379 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6380 since some C++ compilers masquerading as C compilers
6381 incorrectly reject 9223372036854775807. */
6382 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6383 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6384 && LARGE_OFF_T % 2147483647 == 1)
6394 if ac_fn_c_try_compile
"$LINENO"; then :
6395 ac_cv_sys_large_files
=1; break
6397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6398 ac_cv_sys_large_files
=unknown
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6403 $as_echo "$ac_cv_sys_large_files" >&6; }
6404 case $ac_cv_sys_large_files in #(
6407 cat >>confdefs.h
<<_ACEOF
6408 #define _LARGE_FILES $ac_cv_sys_large_files
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
6419 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
6420 if ${ac_cv_sys_largefile_source+:} false
; then :
6421 $as_echo_n "(cached) " >&6
6424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6426 #include <sys/types.h> /* for off_t */
6431 int (*fp) (FILE *, off_t, int) = fseeko;
6432 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
6437 if ac_fn_c_try_link
"$LINENO"; then :
6438 ac_cv_sys_largefile_source
=no
; break
6440 rm -f core conftest.err conftest.
$ac_objext \
6441 conftest
$ac_exeext conftest.
$ac_ext
6442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6443 /* end confdefs.h. */
6444 #define _LARGEFILE_SOURCE 1
6445 #include <sys/types.h> /* for off_t */
6450 int (*fp) (FILE *, off_t, int) = fseeko;
6451 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
6456 if ac_fn_c_try_link
"$LINENO"; then :
6457 ac_cv_sys_largefile_source
=1; break
6459 rm -f core conftest.err conftest.
$ac_objext \
6460 conftest
$ac_exeext conftest.
$ac_ext
6461 ac_cv_sys_largefile_source
=unknown
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
6466 $as_echo "$ac_cv_sys_largefile_source" >&6; }
6467 case $ac_cv_sys_largefile_source in #(
6470 cat >>confdefs.h
<<_ACEOF
6471 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
6477 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
6478 # in glibc 2.1.3, but that breaks too many other things.
6479 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
6480 if test $ac_cv_sys_largefile_source != unknown
; then
6482 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
6486 ac_fn_c_check_func
"$LINENO" "ftell64" "ac_cv_func_ftell64"
6487 if test "x$ac_cv_func_ftell64" = xyes
; then :
6488 for ac_func
in fseek64
6490 ac_fn_c_check_func
"$LINENO" "fseek64" "ac_cv_func_fseek64"
6491 if test "x$ac_cv_func_fseek64" = xyes
; then :
6492 cat >>confdefs.h
<<_ACEOF
6493 #define HAVE_FSEEK64 1
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
6503 $as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
6504 if ${kpse_cv_have_win32+:} false
; then :
6505 $as_echo_n "(cached) " >&6
6507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6520 if ac_fn_c_try_compile
"$LINENO"; then :
6521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6534 if ac_fn_c_try_compile
"$LINENO"; then :
6535 kpse_cv_have_win32
=mingw32
6537 kpse_cv_have_win32
=native
6539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6541 kpse_cv_have_win32
=no
6543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
6546 $as_echo "$kpse_cv_have_win32" >&6; }
6548 if test "x$kpse_cv_have_win32" != xno
; then
6557 if test "x$kpse_cv_have_win32" = xmingw32
; then
6567 if test "x$kpse_cv_have_win32" = xmingw32
; then
6569 $as_echo "#define _WIN32_WINNT 0x0500" >>confdefs.h
6573 ac_config_headers
="$ac_config_headers config.h"
6576 ac_config_headers
="$ac_config_headers poppler-config.h:poppler-0.37.0/poppler/poppler-config.h.in"
6580 cat >>confdefs.h
<<_ACEOF
6581 #define POPPLER_VERSION "0.37.0"
6585 kpse_save_CPPFLAGS
=$CPPFLAGS
6586 kpse_save_LIBS
=$LIBS
6588 ## _KPSE_INIT: Initialize TL infrastructure
6589 kpse_BLD
=`(cd "./../../." && pwd)`
6590 kpse_SRC
=`(cd "$srcdir/../../." && pwd)`
6592 ## _KPSE_LIB_FLAGS: Setup zlib (-lz) flags
6594 # Check whether --with-system-zlib was given.
6595 if test "${with_system_zlib+set}" = set; then :
6596 withval
=$with_system_zlib;
6599 # Check whether --with-zlib-includes was given.
6600 if test "${with_zlib_includes+set}" = set; then :
6601 withval
=$with_zlib_includes;
6604 # Check whether --with-zlib-libdir was given.
6605 if test "${with_zlib_libdir+set}" = set; then :
6606 withval
=$with_zlib_libdir;
6608 if test "x$with_system_zlib" = xyes
; then
6609 if test "x$with_zlib_includes" != x
&& test "x$with_zlib_includes" != xyes
; then
6610 ZLIB_INCLUDES
="-I$with_zlib_includes"
6613 if test "x$with_zlib_libdir" != x
&& test "x$with_zlib_libdir" != xyes
; then
6614 ZLIB_LIBS
="-L$with_zlib_libdir $ZLIB_LIBS"
6617 ZLIB_INCLUDES
="-I$kpse_BLD/libs/zlib/include"
6618 ZLIB_LIBS
="$kpse_BLD/libs/zlib/libz.a"
6619 ZLIB_DEPEND
='${top_builddir}/../../libs/zlib/libz.a'
6620 ZLIB_RULE
='# Rebuild libz
6621 $(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
6622 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
6623 ${top_builddir}/../../libs/zlib/include/zconf.h:
6624 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5
6627 $as_echo_n "checking if <zlib.h> defines 'z_const'... " >&6; }
6628 if ${kpse_cv_have_decl_z_const+:} false
; then :
6629 $as_echo_n "(cached) " >&6
6631 eval CPPFLAGS
=\"$ZLIB_INCLUDES \
$CPPFLAGS\"
6632 eval LIBS
=\"$ZLIB_LIBS \
$LIBS\"
6634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6635 /* end confdefs.h. */
6640 z_const char * foo();
6645 if ac_fn_c_try_compile
"$LINENO"; then :
6646 kpse_cv_have_decl_z_const
=yes
6648 kpse_cv_have_decl_z_const
=no
6650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6651 CPPFLAGS
=$kpse_save_CPPFLAGS
6652 LIBS
=$kpse_save_LIBS
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5
6656 $as_echo "$kpse_cv_have_decl_z_const" >&6; }
6657 case $kpse_cv_have_decl_z_const in #(
6660 $as_echo "#define ZLIB_CONST 1" >>confdefs.h
6664 $as_echo "#define z_const /**/" >>confdefs.h
6669 if test "x$enable_build" != xno
; then
6678 if test "x$enable_build" != xno ||
test -f config.force
; then
6680 eval CPPFLAGS
=\"$ZLIB_INCLUDES \
$CPPFLAGS\"
6681 eval LIBS
=\"$ZLIB_LIBS \
$LIBS\"
6683 ac_fn_c_check_func
"$LINENO" "inflate" "ac_cv_func_inflate"
6684 if test "x$ac_cv_func_inflate" = xyes
; then :
6687 as_fn_error $?
"zlib not found" "$LINENO" 5
6690 for ac_header
in zlib.h
6692 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6693 if test "x$ac_cv_header_zlib_h" = xyes
; then :
6694 cat >>confdefs.h
<<_ACEOF
6695 #define HAVE_ZLIB_H 1
6699 as_fn_error $?
"zlib not found" "$LINENO" 5
6704 CPPFLAGS
=$kpse_save_CPPFLAGS
6705 LIBS
=$kpse_save_LIBS
6708 echo timestamp
>config.force
6712 $as_echo "#define ENABLE_ZLIB 1" >>confdefs.h
6715 POPPLER_TREE
=poppler-0.37
.0
6718 ac_config_files
="$ac_config_files Makefile include/Makefile include/goo/Makefile include/fofi/Makefile"
6721 cat >confcache
<<\_ACEOF
6722 # This file is a shell script that caches the results of configure
6723 # tests run on this system so they can be shared between configure
6724 # scripts and configure runs, see configure's option --config-cache.
6725 # It is not useful on other systems. If it contains results you don't
6726 # want to keep, you may remove or edit it.
6728 # config.status only pays attention to the cache file if you give it
6729 # the --recheck option to rerun configure.
6731 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6732 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6737 # The following way of writing the cache mishandles newlines in values,
6738 # but we know of no workaround that is simple, portable, and efficient.
6739 # So, we kill variables containing newlines.
6740 # Ultrix sh set writes to stderr and can't be redirected directly,
6741 # and sets the high bit in the cache file unless we assign to the vars.
6743 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6744 eval ac_val
=\$
$ac_var
6748 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6749 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6752 _ | IFS | as_nl
) ;; #(
6753 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6754 *) { eval $ac_var=; unset $ac_var;} ;;
6760 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6761 *${as_nl}ac_space
=\
*)
6762 # `set' does not quote correctly, so add quotes: double-quote
6763 # substitution turns \\\\ into \\, and sed turns \\ into \.
6766 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6769 # `set' quotes correctly as required by POSIX, so do not add quotes.
6770 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6779 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6781 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6783 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6784 if test -w "$cache_file"; then
6785 if test "x$cache_file" != "x/dev/null"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6787 $as_echo "$as_me: updating cache $cache_file" >&6;}
6788 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6789 cat confcache
>"$cache_file"
6791 case $cache_file in #(
6793 mv -f confcache
"$cache_file"$$
&&
6794 mv -f "$cache_file"$$
"$cache_file" ;; #(
6796 mv -f confcache
"$cache_file" ;;
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6802 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6807 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6808 # Let make expand exec_prefix.
6809 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6811 DEFS
=-DHAVE_CONFIG_H
6816 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6817 # 1. Remove the extension, and $U if already installed.
6818 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6819 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6820 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6821 # will be set to the directory where LIBOBJS objects are built.
6822 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6823 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6827 LTLIBOBJS
=$ac_ltlibobjs
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6831 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6832 if test -n "$am_sleep_pid"; then
6833 # Hide warnings about reused PIDs.
6834 wait $am_sleep_pid 2>/dev
/null
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6837 $as_echo "done" >&6; }
6838 if test -n "$EXEEXT"; then
6840 am__EXEEXT_FALSE
='#'
6846 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6847 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6850 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6851 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6854 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6855 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6858 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6859 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6862 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6863 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
6864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6866 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
6867 as_fn_error $?
"conditional \"WIN32\" was never defined.
6868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6870 if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then
6871 as_fn_error $?
"conditional \"MINGW32\" was never defined.
6872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6874 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
6875 as_fn_error $?
"conditional \"build\" was never defined.
6876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6879 : "${CONFIG_STATUS=./config.status}"
6881 ac_clean_files_save
=$ac_clean_files
6882 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6884 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6886 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6888 # Generated by $as_me.
6889 # Run this file to recreate the current configuration.
6890 # Compiler output produced by configure, useful for debugging
6891 # configure, is in config.log if it exists.
6897 SHELL=\${CONFIG_SHELL-$SHELL}
6900 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6901 ## -------------------- ##
6902 ## M4sh Initialization. ##
6903 ## -------------------- ##
6905 # Be more Bourne compatible
6906 DUALCASE
=1; export DUALCASE
# for MKS sh
6907 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6910 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6911 # is contrary to our usage. Disable this feature.
6912 alias -g '${1+"$@"}'='"$@"'
6913 setopt NO_GLOB_SUBST
6915 case `(set -o) 2>/dev/null` in #(
6927 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6928 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6929 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6930 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6931 # Prefer a ksh shell builtin over an external printf program on Solaris,
6932 # but without wasting forks for bash or zsh.
6933 if test -z "$BASH_VERSION$ZSH_VERSION" \
6934 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6935 as_echo='print
-r --'
6936 as_echo_n='print
-rn --'
6937 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6938 as_echo='printf %s
\n'
6939 as_echo_n='printf %s
'
6941 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6942 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6943 as_echo_n='/usr
/ucb
/echo -n'
6945 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6946 as_echo_n_body='eval
6950 expr "X$arg" : "X\\(.*\\)$as_nl";
6951 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6953 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6955 export as_echo_n_body
6956 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6959 as_echo='sh
-c $as_echo_body as_echo
'
6962 # The user is always right.
6963 if test "${PATH_SEPARATOR+set}" != set; then
6965 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6966 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6973 # We need space, tab and new line, in precisely that order. Quoting is
6974 # there to prevent editors from complaining about space-tab.
6975 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6976 # splitting by setting IFS to empty value.)
6979 # Find who we are. Look in the path if we contain no directory separator.
6982 *[\\/]* ) as_myself=$0 ;;
6983 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 test -z "$as_dir" && as_dir=.
6988 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6994 # We did not find ourselves, most probably we were run as `sh COMMAND'
6995 # in which case we are not to be found in the path.
6996 if test "x$as_myself" = x
; then
6999 if test ! -f "$as_myself"; then
7000 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7004 # Unset variables that we do not need and which cause bugs (e.g. in
7005 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7006 # suppresses any "Segmentation fault" message there. '((' could
7007 # trigger a bug in pdksh 5.2.14.
7008 for as_var
in BASH_ENV ENV MAIL MAILPATH
7009 do eval test x\
${$as_var+set} = xset \
7010 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7023 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7026 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7027 # ----------------------------------------
7028 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7029 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7030 # script with STATUS, using 1 if that was 0.
7033 as_status
=$1; test $as_status -eq 0 && as_status
=1
7035 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7036 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7038 $as_echo "$as_me: error: $2" >&2
7039 as_fn_exit
$as_status
7043 # as_fn_set_status STATUS
7044 # -----------------------
7045 # Set $? to STATUS, without forking.
7049 } # as_fn_set_status
7053 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7063 # Portably unset VAR.
7066 { eval $1=; unset $1;}
7068 as_unset
=as_fn_unset
7069 # as_fn_append VAR VALUE
7070 # ----------------------
7071 # Append the text in VALUE to the end of the definition contained in VAR. Take
7072 # advantage of any shell optimizations that allow amortized linear growth over
7073 # repeated appends, instead of the typical quadratic growth present in naive
7075 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7076 eval 'as_fn_append ()
7087 # as_fn_arith ARG...
7088 # ------------------
7089 # Perform arithmetic evaluation on the ARGs, and store the result in the
7090 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7091 # must be portable across $(()) and expr.
7092 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7093 eval 'as_fn_arith ()
7100 as_val
=`expr "$@" || test $? -eq 1`
7105 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7106 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7112 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7113 as_basename
=basename
7118 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7124 as_me
=`$as_basename -- "$0" ||
7125 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7126 X"$0" : 'X\(//\)$' \| \
7127 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7129 sed '/^.*\/\([^/][^/]*\)\/*$/{
7143 # Avoid depending upon Character Ranges.
7144 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7145 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7146 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7147 as_cr_digits
='0123456789'
7148 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7150 ECHO_C
= ECHO_N
= ECHO_T
=
7151 case `echo -n x` in #(((((
7153 case `echo 'xy\c'` in
7154 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7156 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7163 rm -f conf$$ conf$$.exe conf$$.
file
7164 if test -d conf$$.dir
; then
7165 rm -f conf$$.dir
/conf$$.
file
7168 mkdir conf$$.dir
2>/dev
/null
7170 if (echo >conf$$.
file) 2>/dev
/null
; then
7171 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7173 # ... but there are two gotchas:
7174 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7175 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7176 # In both cases, we have to default to `cp -pR'.
7177 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7179 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7187 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7188 rmdir conf$$.dir
2>/dev
/null
7193 # Create "$as_dir" as a directory, including parents if necessary.
7198 -*) as_dir
=.
/$as_dir;;
7200 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7204 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7205 *) as_qdir
=$as_dir;;
7207 as_dirs
="'$as_qdir' $as_dirs"
7208 as_dir
=`$as_dirname -- "$as_dir" ||
7209 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7210 X"$as_dir" : 'X\(//\)[^/]' \| \
7211 X"$as_dir" : 'X\(//\)$' \| \
7212 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7213 $as_echo X"$as_dir" |
7214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7231 test -d "$as_dir" && break
7233 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7234 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7238 if mkdir
-p .
2>/dev
/null
; then
7239 as_mkdir_p
='mkdir -p "$as_dir"'
7241 test -d .
/-p && rmdir .
/-p
7246 # as_fn_executable_p FILE
7247 # -----------------------
7248 # Test if FILE is an executable regular file.
7249 as_fn_executable_p
()
7251 test -f "$1" && test -x "$1"
7252 } # as_fn_executable_p
7254 as_executable_p
=as_fn_executable_p
7256 # Sed expression to map a string onto a valid CPP name.
7257 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7259 # Sed expression to map a string onto a valid variable name.
7260 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7264 ## ----------------------------------- ##
7265 ## Main body of $CONFIG_STATUS script. ##
7266 ## ----------------------------------- ##
7268 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7271 # Save the log message, to keep $0 and so on meaningful, and to
7272 # report actual input values of CONFIG_FILES etc. instead of their
7273 # values after options handling.
7275 This file was extended by poppler (TeX Live) $as_me 0.37.0, which was
7276 generated by GNU Autoconf 2.69. Invocation command line was
7278 CONFIG_FILES = $CONFIG_FILES
7279 CONFIG_HEADERS = $CONFIG_HEADERS
7280 CONFIG_LINKS = $CONFIG_LINKS
7281 CONFIG_COMMANDS = $CONFIG_COMMANDS
7284 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7289 case $ac_config_files in *"
7290 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7293 case $ac_config_headers in *"
7294 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7299 # Files that config.status was made for.
7300 config_files="$ac_config_files"
7301 config_headers="$ac_config_headers"
7302 config_commands="$ac_config_commands"
7306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7308 \`$as_me' instantiates files and other configuration actions
7309 from templates according to the current configuration. Unless the files
7310 and actions are specified as TAGs, all are instantiated by default.
7312 Usage: $0 [OPTION]... [TAG]...
7314 -h, --help print this help, then exit
7315 -V, --version print version number and configuration settings, then exit
7316 --config print configuration, then exit
7317 -q, --quiet, --silent
7318 do not print progress messages
7319 -d, --debug don't remove temporary files
7320 --recheck update $as_me by reconfiguring in the same conditions
7321 --file=FILE[:TEMPLATE]
7322 instantiate the configuration file FILE
7323 --header=FILE[:TEMPLATE]
7324 instantiate the configuration header FILE
7326 Configuration files:
7329 Configuration headers:
7332 Configuration commands:
7335 Report bugs to <tex-k@tug.org>."
7338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7339 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7341 poppler (TeX Live) config.status 0.37.0
7342 configured by $0, generated by GNU Autoconf 2.69,
7343 with options \\"\$ac_cs_config\\"
7345 Copyright (C) 2012 Free Software Foundation, Inc.
7346 This config.status script is free software; the Free Software Foundation
7347 gives unlimited permission to copy, distribute and modify it."
7354 test -n "\$AWK" || AWK=awk
7357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7358 # The default lists apply if the user does not specify any file.
7364 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7365 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7369 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7381 # Handling of the options.
7382 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7384 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7385 $as_echo "$ac_cs_version"; exit ;;
7386 --config |
--confi |
--conf |
--con |
--co |
--c )
7387 $as_echo "$ac_cs_config"; exit ;;
7388 --debug |
--debu |
--deb |
--de |
--d |
-d )
7390 --file |
--fil |
--fi |
--f )
7393 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7394 '') as_fn_error $?
"missing file argument" ;;
7396 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7397 ac_need_defaults
=false
;;
7398 --header |
--heade |
--head |
--hea )
7401 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7403 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7404 ac_need_defaults
=false
;;
7406 # Conflict between --help and --header
7407 as_fn_error $?
"ambiguous option: \`$1'
7408 Try \`$0 --help' for more information.";;
7409 --help |
--hel |
-h )
7410 $as_echo "$ac_cs_usage"; exit ;;
7411 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7412 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7416 -*) as_fn_error $?
"unrecognized option: \`$1'
7417 Try \`$0 --help' for more information." ;;
7419 *) as_fn_append ac_config_targets
" $1"
7420 ac_need_defaults
=false
;;
7426 ac_configure_extra_args
=
7428 if $ac_cs_silent; then
7430 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7435 if \$ac_cs_recheck; then
7436 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7438 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7439 CONFIG_SHELL='$SHELL'
7445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7449 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7450 ## Running $as_me. ##
7456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7460 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7466 # Handling of arguments.
7467 for ac_config_target
in $ac_config_targets
7469 case $ac_config_target in
7470 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7471 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7472 "poppler-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS poppler-config.h:poppler-0.37.0/poppler/poppler-config.h.in" ;;
7473 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7474 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
7475 "include/goo/Makefile") CONFIG_FILES
="$CONFIG_FILES include/goo/Makefile" ;;
7476 "include/fofi/Makefile") CONFIG_FILES
="$CONFIG_FILES include/fofi/Makefile" ;;
7478 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7483 # If the user did not use the arguments to specify the items to instantiate,
7484 # then the envvar interface is used. Set only those that are not.
7485 # We use the long form for the default assignment because of an extremely
7486 # bizarre bug on SunOS 4.1.3.
7487 if $ac_need_defaults; then
7488 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7489 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7490 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7493 # Have a temporary directory for convenience. Make it in the build tree
7494 # simply because there is no reason against having it here, and in addition,
7495 # creating and moving files from /tmp can sometimes cause problems.
7496 # Hook for its removal unless debugging.
7497 # Note that there is a small window in which the directory will not be cleaned:
7498 # after its creation but before its name has been assigned to `$tmp'.
7502 trap 'exit_status=$?
7504 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7506 trap 'as_fn_exit 1' 1 2 13 15
7508 # Create a (secure) tmp directory for tmp files.
7511 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7515 tmp
=.
/conf$$
-$RANDOM
7516 (umask 077 && mkdir
"$tmp")
7517 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7520 # Set up the scripts for CONFIG_FILES section.
7521 # No need to generate them if there are no CONFIG_FILES.
7522 # This happens for instance with `./config.status config.h'.
7523 if test -n "$CONFIG_FILES"; then
7526 ac_cr
=`echo X | tr X '\015'`
7527 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7528 # But we know of no other shell where ac_cr would be empty at this
7529 # point, so we can use a bashism as a fallback.
7530 if test "x$ac_cr" = x
; then
7531 eval ac_cr
=\$
\'\\r
\'
7533 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7534 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7540 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7545 echo "cat >conf$$subs.awk <<_ACEOF" &&
7546 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7549 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7550 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7552 for ac_last_try in false false false false false :; do
7553 . ./conf$$subs.sh ||
7554 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7556 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7557 if test $ac_delim_n = $ac_delim_num; then
7559 elif $ac_last_try; then
7560 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7562 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7568 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7572 s/^/S["/; s
/!.
*/"]=/
7582 s/\(.\{148\}\)..*/\1/
7584 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7589 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7596 s/\(.\{148\}\)..*/\1/
7598 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7602 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7607 ' <conf$$subs.awk | sed '
7612 ' >>$CONFIG_STATUS || ac_write_fail=1
7613 rm -f conf$$subs.awk
7614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7616 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7617 for (key in S) S_is_set[key] = 1
7623 nfields = split(line, field, "@
")
7625 len = length(field[1])
7626 for (i = 2; i < nfields; i++) {
7628 keylen = length(key)
7629 if (S_is_set[key]) {
7631 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7632 len += length(value) + length(field[++i])
7643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7644 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7645 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7648 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7649 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7652 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7653 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7654 # trailing colons and then remove the whole line if VPATH becomes empty
7655 # (actually we leave an empty line to preserve line numbers).
7656 if test "x
$srcdir" = x.; then
7657 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7676 fi # test -n "$CONFIG_FILES"
7678 # Set up the scripts for CONFIG_HEADERS section.
7679 # No need to generate them if there are no CONFIG_HEADERS.
7680 # This happens for instance with `./config.status Makefile'.
7681 if test -n "$CONFIG_HEADERS"; then
7682 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7686 # Transform confdefs.h into an awk script `defines.awk', embedded as
7687 # here-document in config.status, that substitutes the proper values into
7688 # config.h.in to produce config.h.
7690 # Create a delimiter string that does not exist in confdefs.h, to ease
7691 # handling of long lines.
7693 for ac_last_try in false false :; do
7694 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7695 if test -z "$ac_tt"; then
7697 elif $ac_last_try; then
7698 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7700 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7704 # For the awk script, D is an array of macro values keyed by name,
7705 # likewise P contains macro parameters if any. Preserve backslash
7706 # newline sequences.
7708 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7710 s/.\{148\}/&'"$ac_delim"'/g
7713 s/^[ ]*#[ ]*define[ ][ ]*/ /
7720 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7722 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7726 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7727 D["\
1"]=" \
3\\\\\\n
"\\/p
7729 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7734 s/.\{148\}/&'"$ac_delim"'/g
7739 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7742 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7744 ' <confdefs.h | sed '
7745 s/'"$ac_delim"'/"\\\
7746 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7749 for (key in D) D_is_set[key] = 1
7752 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7754 split(line, arg, " ")
7755 if (arg[1] == "#") {
7759 defundef
= substr
(arg
[1], 2)
7762 split(mac1
, mac2
, "(") #)
7764 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7765 if (D_is_set
[macro
]) {
7766 # Preserve the white space surrounding the "#".
7767 print prefix
"define", macro P
[macro
] D
[macro
]
7770 # Replace #undef with comments. This is necessary, for example,
7771 # in the case of _POSIX_SOURCE, which is predefined and required
7772 # on some systems where configure will not decide to define it.
7773 if (defundef
== "undef") {
7774 print
"/*", prefix defundef
, macro
, "*/"
7782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7783 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7784 fi # test -n "$CONFIG_HEADERS"
7787 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7792 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7794 case $ac_mode$ac_tag in
7796 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7797 :[FH
]-) ac_tag
=-:-;;
7798 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7815 -) ac_f
="$ac_tmp/stdin";;
7816 *) # Look for the file first in the build tree, then in the source tree
7817 # (if the path is not absolute). The absolute path cannot be DOS-style,
7818 # because $ac_f cannot contain `:'.
7822 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7824 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7826 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7827 as_fn_append ac_file_inputs
" '$ac_f'"
7830 # Let's still pretend it is `configure' which instantiates (i.e., don't
7831 # use $as_me), people would be surprised to read:
7832 # /* config.h. Generated by config.status. */
7833 configure_input
='Generated from '`
7834 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7836 if test x
"$ac_file" != x-
; then
7837 configure_input
="$ac_file. $configure_input"
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7839 $as_echo "$as_me: creating $ac_file" >&6;}
7841 # Neutralize special characters interpreted by sed in replacement strings.
7842 case $configure_input in #(
7843 *\
&* |
*\|
* |
*\\* )
7844 ac_sed_conf_input
=`$as_echo "$configure_input" |
7845 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7846 *) ac_sed_conf_input
=$configure_input;;
7850 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7851 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7856 ac_dir
=`$as_dirname -- "$ac_file" ||
7857 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7858 X"$ac_file" : 'X\(//\)[^/]' \| \
7859 X"$ac_file" : 'X\(//\)$' \| \
7860 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7861 $as_echo X"$ac_file" |
7862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7879 as_dir
="$ac_dir"; as_fn_mkdir_p
7883 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7885 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7886 # A ".." for each directory in $ac_dir_suffix.
7887 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7888 case $ac_top_builddir_sub in
7889 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7890 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7893 ac_abs_top_builddir
=$ac_pwd
7894 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7895 # for backward compatibility:
7896 ac_top_builddir
=$ac_top_build_prefix
7899 .
) # We are building in place.
7901 ac_top_srcdir
=$ac_top_builddir_sub
7902 ac_abs_top_srcdir
=$ac_pwd ;;
7903 [\\/]* | ?
:[\\/]* ) # Absolute name.
7904 ac_srcdir
=$srcdir$ac_dir_suffix;
7905 ac_top_srcdir
=$srcdir
7906 ac_abs_top_srcdir
=$srcdir ;;
7908 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7909 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7910 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7912 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7922 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7923 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7927 [\\/$
]* | ?
:[\\/]* ) ;;
7928 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7933 # If the template does not know about datarootdir, expand it.
7934 # FIXME: This hack should be removed a few years after 2.60.
7935 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7946 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7947 *datarootdir
*) ac_datarootdir_seen
=yes;;
7948 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7950 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7953 ac_datarootdir_hack='
7954 s&@datadir@&$datadir&g
7955 s&@docdir@&$docdir&g
7956 s&@infodir@&$infodir&g
7957 s&@localedir@&$localedir&g
7958 s&@mandir@&$mandir&g
7959 s&\\\${datarootdir}&$datarootdir&g' ;;
7963 # Neutralize VPATH when `$srcdir' = `.'.
7964 # Shell code in configure.ac might set extrasub.
7965 # FIXME: do we really want to maintain this feature?
7966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7967 ac_sed_extra="$ac_vpsub
7970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7972 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7973 s|@configure_input@|
$ac_sed_conf_input|
;t t
7974 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7975 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7976 s
&@srcdir@
&$ac_srcdir&;t t
7977 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7978 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7979 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7980 s
&@builddir@
&$ac_builddir&;t t
7981 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7982 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7983 s
&@INSTALL@
&$ac_INSTALL&;t t
7984 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7985 $ac_datarootdir_hack
7987 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7988 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7990 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7991 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7992 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7993 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7995 which seems to be undefined. Please make sure it is defined" >&5
7996 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7997 which seems to be undefined. Please make sure it is defined" >&2;}
7999 rm -f "$ac_tmp/stdin"
8001 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8002 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8004 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8010 if test x"$ac_file" != x-; then
8012 $as_echo "/* $configure_input */" \
8013 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8014 } >"$ac_tmp/config.h" \
8015 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8016 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8018 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8021 mv "$ac_tmp/config.h" "$ac_file" \
8022 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8025 $as_echo "/* $configure_input */" \
8026 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8027 || as_fn_error $? "could not create -" "$LINENO" 5
8029 # Compute "$ac_file"'s index
in $config_headers.
8032 for _am_header
in $config_headers :; do
8034 $_am_arg |
$_am_arg:* )
8037 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8040 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8041 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8042 X"$_am_arg" : 'X\(//\)[^/]' \| \
8043 X"$_am_arg" : 'X\(//\)$' \| \
8044 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8045 $as_echo X"$_am_arg" |
8046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8062 s/.*/./; q'`/stamp-h
$_am_stamp_count
8065 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8066 $as_echo "$as_me: executing $ac_file commands" >&6;}
8071 case $ac_file$ac_mode in
8072 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
8073 # Older Autoconf quotes --file arguments for eval, but not when files
8074 # are listed without --file. Let's play safe and only enable the eval
8075 # if we detect the quoting.
8076 case $CONFIG_FILES in
8077 *\'*) eval set x
"$CONFIG_FILES" ;;
8078 *) set x
$CONFIG_FILES ;;
8083 # Strip MF so we end up with the name of the file.
8084 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8085 # Check whether this is an Automake generated Makefile or not.
8086 # We used to match only the files named 'Makefile.in', but
8087 # some people rename them; so instead we look at the file content.
8088 # Grep'ing the first line is not enough: some people post-process
8089 # each Makefile.in and add a new line on top of each file to say so.
8090 # Grep'ing the whole file is not good either: AIX grep has a line
8091 # limit of 2048, but all sed's we know have understand at least 4000.
8092 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8093 dirpart
=`$as_dirname -- "$mf" ||
8094 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8095 X"$mf" : 'X\(//\)[^/]' \| \
8096 X"$mf" : 'X\(//\)$' \| \
8097 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8119 # Extract the definition of DEPDIR, am__include, and am__quote
8120 # from the Makefile without running 'make'.
8121 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8122 test -z "$DEPDIR" && continue
8123 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8124 test -z "$am__include" && continue
8125 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8126 # Find all dependency output files, they are included files with
8127 # $(DEPDIR) in their names. We invoke sed twice because it is the
8128 # simplest approach to changing $(DEPDIR) to its actual value in the
8130 for file in `sed -n "
8131 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8132 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8133 # Make sure the directory exists.
8134 test -f "$dirpart/$file" && continue
8135 fdir
=`$as_dirname -- "$file" ||
8136 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8137 X"$file" : 'X\(//\)[^/]' \| \
8138 X"$file" : 'X\(//\)$' \| \
8139 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8158 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8159 # echo "creating $dirpart/$file"
8160 echo '# dummy' > "$dirpart/$file"
8172 ac_clean_files
=$ac_clean_files_save
8174 test $ac_write_fail = 0 ||
8175 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8178 # configure is writing to config.log, and then calls config.status.
8179 # config.status does its own redirection, appending to config.log.
8180 # Unfortunately, on DOS this fails, as config.log is still kept open
8181 # by configure, so config.status won't be able to write to it; its
8182 # output is simply discarded. So we exec the FD to /dev/null,
8183 # effectively closing config.log, so it can be properly (re)opened and
8184 # appended to by config.status. When coming back to configure, we
8185 # need to make the FD available again.
8186 if test "$no_create" != yes; then
8188 ac_config_status_args
=
8189 test "$silent" = yes &&
8190 ac_config_status_args
="$ac_config_status_args --quiet"
8192 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8194 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8195 # would make configure fail if this is the last instruction.
8196 $ac_cs_success || as_fn_exit
1
8198 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8200 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}