2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59b.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
6 # 2003, 2004 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
25 DUALCASE
=1; export DUALCASE
# for MKS sh
29 # Avoid depending upon Character Ranges.
30 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits
='0123456789'
34 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
41 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49 # Support unset when possible.
50 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
57 # Find who we are. Look in the path if we contain no path at all
60 *[\\/]* ) as_myself
=$0 ;;
61 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
65 test -z "$as_dir" && as_dir
=.
66 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
71 # We did not find ourselves, most probably we were run as `sh COMMAND'
72 # in which case we are not to be found in the path.
73 if test "x$as_myself" = x
; then
76 if test ! -f "$as_myself"; then
77 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
78 { (exit 1); exit 1; }; }
81 # Work around bugs in pre-3.0 UWIN ksh.
82 for as_var
in ENV MAIL MAILPATH
83 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
91 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
92 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
96 eval $as_var=C
; export $as_var
98 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 # Required to use basename.
103 if expr a
: '\(a\)' >/dev
/null
2>&1; then
109 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
116 # Name of the executable.
117 as_me
=`$as_basename "$0" ||
118 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
119 X"$0" : 'X\(//\)$' \| \
120 X"$0" : 'X\(/\)$' \| \
121 . : '\(.\)' 2>/dev/null ||
123 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
124 /^X\/\(\/\/\)$/{ s//\1/; q; }
125 /^X\/\(\/\).*/{ s//\1/; q; }
130 if test "x$CONFIG_SHELL" = x
; then
131 if (eval ":") 2>/dev
/null
; then
137 if test $as_have_required = yes && (eval ":
147 func_ret_success () {
150 func_ret_failure () {
155 if func_success; then
159 echo func_failure succeeded.
162 if func_failure; then
164 echo func_success failed.
167 if func_ret_success; then
171 echo func_ret_success failed.
174 if func_ret_failure; then
176 echo func_ret_failure succeeded.
179 test \$exitcode = 0) || { (exit 1); exit 1; }
184 as_lineno_3=\`(expr \$as_lineno_1 + 1) 2>/dev/null\`
185 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
186 test \"x\$as_lineno_3\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
187 ") 2> /dev
/null
; then
191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
192 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
195 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
205 for as_shell
in $as_candidate_shells $SHELL; do
206 if { $as_shell 2> /dev
/null
<<\_ASEOF
207 # Be Bourne compatible
208 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
211 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
212 # is contrary to our usage. Disable this feature.
213 alias -g '${1+"$@"}'='"$@"'
215 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
218 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
219 DUALCASE
=1; export DUALCASE
# for MKS sh
224 CONFIG_SHELL
=$as_shell
226 if { $as_shell 2> /dev
/null
<<\_ASEOF
227 # Be Bourne compatible
228 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
231 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
232 # is contrary to our usage. Disable this feature.
233 alias -g '${1+"$@"}'='"$@"'
235 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
238 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
239 DUALCASE
=1; export DUALCASE
# for MKS sh
251 func_ret_success
() {
254 func_ret_failure
() {
259 if func_success
; then
263 echo func_failure succeeded.
266 if func_failure
; then
268 echo func_success failed.
271 if func_ret_success
; then
275 echo func_ret_success failed.
278 if func_ret_failure
; then
280 echo func_ret_failure succeeded.
283 test $exitcode = 0) ||
{ (exit 1); exit 1; }
288 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
289 test "x$as_lineno_1" != "x$as_lineno_2" &&
290 test "x$as_lineno_3" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
301 if test "x$CONFIG_SHELL" != x
; then
302 for as_var
in BASH_ENV ENV
303 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
306 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
310 if test $as_have_required = no
; then
311 echo This
script requires a shell
more modern than all the
312 echo shells that I found on your system. Please
install a
313 echo modern shell
, or manually run the
script under such a
314 echo shell
if you
do have one.
315 { (exit 1); exit 1; }
325 (eval "func_return () {
334 func_ret_success () {
337 func_ret_failure () {
342 if func_success; then
346 echo func_failure succeeded.
349 if func_failure; then
351 echo func_success failed.
354 if func_ret_success; then
358 echo func_ret_success failed.
361 if func_ret_failure; then
363 echo func_ret_failure succeeded.
366 test \$exitcode = 0") ||
{
367 echo No shell found that supports shell functions.
368 echo Please tell autoconf@gnu.org about your system
,
369 echo including any error possibly output before this
377 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
378 test "x$as_lineno_1" != "x$as_lineno_2" &&
379 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
381 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
382 # uniformly replaced by the line number. The first 'sed' inserts a
383 # line-number line after each line using $LINENO; the second 'sed'
384 # does the real work. The second script uses 'N' to pair each
385 # line-number line with the line containing $LINENO, and appends
386 # trailing '-' during substitution so that $LINENO is not a special
388 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
389 # scripts with optimization help from Paolo Bonzini. Blame Lee
390 # E. McMahon (1931-1989) for sed's syntax. :-)
402 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
406 chmod +x
$as_me.lineno ||
407 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
408 { (exit 1); exit 1; }; }
410 # Don't try to exec as it changes $[0], causing all sort of problems
411 # (the dirname of $[0] is not the place where we might find the
412 # original and so on. Autoconf is especially sensible to this).
414 # Exit status is that of the last command.
419 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
420 *c
*,-n*) ECHO_N
= ECHO_C
='
422 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
423 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
426 if expr a
: '\(a\)' >/dev
/null
2>&1; then
432 rm -f conf$$ conf$$.exe conf$$.
file
434 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
435 # We could just check for DJGPP; but this test a) works b) is more generic
436 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
437 if test -f conf$$.exe
; then
438 # Don't use ln at all; we don't have any links
443 elif ln conf$$.
file conf$$
2>/dev
/null
; then
448 rm -f conf$$ conf$$.exe conf$$.
file
450 if mkdir
-p .
2>/dev
/null
; then
453 test -d .
/-p && rmdir .
/-p
457 as_executable_p
="test -f"
459 # Sed expression to map a string onto a valid CPP name.
460 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
462 # Sed expression to map a string onto a valid variable name.
463 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
467 # We need space, tab and new line, in precisely that order.
477 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
478 # so uname gets run too.
479 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
486 ac_default_prefix
=/usr
/local
487 ac_config_libobj_dir
=.
492 SHELL
=${CONFIG_SHELL-/bin/sh}
494 # Maximum number of lines to put in a shell here document.
495 # This variable seems obsolete. It should probably be removed, and
496 # only ac_max_sed_lines should be used.
497 : ${ac_max_here_lines=38}
499 # Identity of this package.
506 ac_unique_file
="src/roff/groff/groff.cpp"
507 # Factoring default headers for most tests.
508 ac_includes_default
="\
511 # include <sys/types.h>
514 # include <sys/stat.h>
525 # if !STDC_HEADERS && HAVE_MEMORY_H
531 # include <strings.h>
534 # include <inttypes.h>
543 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TTYDEVDIRS OTHERDEVDIRS CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XDEVDIRS XPROGDIRS XLIBDIRS appresdir LPR LP LPQ PSPRINT DVIPRINT PERLPATH YACC MAKEINFO RANLIB ac_ct_RANLIB INSTALL_INFO INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SH_SCRIPT_SED_CMD GREP EGREP LIBC LIBM build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBICONV LTLIBICONV LIBOBJS BROKEN_SPOOLER_FLAGS PAGE g sys_tmac_prefix tmac_wrap GROFF_PATH_SEPARATOR ALT_GHOSTSCRIPT_PROGS GHOSTSCRIPT ac_ct_GHOSTSCRIPT pnmcut pnmcrop pnmtopng psselect pnmtops make_html make_install_html ALT_AWK_PROGS AWK ac_ct_AWK make_pdfdoc make_install_pdfdoc pnmtops_nosetpage GLIBC21 LTLIBOBJS'
546 # Initialize some variables set by options.
548 ac_init_version
=false
549 # The variables have the same names as the options, with
550 # dashes changed to underlines.
558 program_transform_name
=s
,x
,x
,
566 # Installation directory options.
567 # These are left unexpanded so users can "make install exec_prefix=/foo"
568 # and all the variables that are supposed to be based on exec_prefix
569 # by default will actually change.
570 # Use braces instead of parens because sh, perl, etc. also accept them.
571 bindir
='${exec_prefix}/bin'
572 sbindir
='${exec_prefix}/sbin'
573 libexecdir
='${exec_prefix}/libexec'
574 datadir
='${prefix}/share'
575 sysconfdir
='${prefix}/etc'
576 sharedstatedir
='${prefix}/com'
577 localstatedir
='${prefix}/var'
578 libdir
='${exec_prefix}/lib'
579 includedir
='${prefix}/include'
580 oldincludedir
='/usr/include'
581 infodir
='${prefix}/info'
582 mandir
='${prefix}/man'
588 # If the previous option needs an argument, assign it.
589 if test -n "$ac_prev"; then
590 eval "$ac_prev=\$ac_option"
595 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
597 # Accept the important Cygnus configure options, so we can diagnose typos.
599 case $ac_dashdash$ac_option in
603 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
605 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
608 -build |
--build |
--buil |
--bui |
--bu)
609 ac_prev
=build_alias
;;
610 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
611 build_alias
=$ac_optarg ;;
613 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
614 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
615 ac_prev
=cache_file
;;
616 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
617 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
618 cache_file
=$ac_optarg ;;
621 cache_file
=config.cache
;;
623 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
625 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
627 datadir
=$ac_optarg ;;
629 -disable-* |
--disable-*)
630 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
631 # Reject names that are not valid shell variable names.
632 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
633 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
634 { (exit 1); exit 1; }; }
635 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
636 eval "enable_$ac_feature=no" ;;
638 -enable-* |
--enable-*)
639 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
640 # Reject names that are not valid shell variable names.
641 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
642 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
643 { (exit 1); exit 1; }; }
644 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
646 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
649 eval "enable_$ac_feature='$ac_optarg'" ;;
651 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
652 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
653 |
--exec |
--exe |
--ex)
654 ac_prev
=exec_prefix
;;
655 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
656 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
657 |
--exec=* |
--exe=* |
--ex=*)
658 exec_prefix
=$ac_optarg ;;
660 -gas |
--gas |
--ga |
--g)
661 # Obsolete; use --with-gas.
664 -help |
--help |
--hel |
--he |
-h)
666 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
667 ac_init_help
=recursive
;;
668 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
669 ac_init_help
=short
;;
671 -host |
--host |
--hos |
--ho)
672 ac_prev
=host_alias
;;
673 -host=* |
--host=* |
--hos=* |
--ho=*)
674 host_alias
=$ac_optarg ;;
676 -includedir |
--includedir |
--includedi |
--included |
--include \
677 |
--includ |
--inclu |
--incl |
--inc)
678 ac_prev
=includedir
;;
679 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
680 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
681 includedir
=$ac_optarg ;;
683 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
685 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
686 infodir
=$ac_optarg ;;
688 -libdir |
--libdir |
--libdi |
--libd)
690 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
693 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
694 |
--libexe |
--libex |
--libe)
695 ac_prev
=libexecdir
;;
696 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
697 |
--libexe=* |
--libex=* |
--libe=*)
698 libexecdir
=$ac_optarg ;;
700 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
701 |
--localstate |
--localstat |
--localsta |
--localst \
702 |
--locals |
--local |
--loca |
--loc |
--lo)
703 ac_prev
=localstatedir
;;
704 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
705 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
706 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
707 localstatedir
=$ac_optarg ;;
709 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
711 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
715 # Obsolete; use --without-fp.
718 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
719 |
--no-cr |
--no-c |
-n)
722 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
723 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
726 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
727 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
728 |
--oldin |
--oldi |
--old |
--ol |
--o)
729 ac_prev
=oldincludedir
;;
730 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
731 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
732 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
733 oldincludedir
=$ac_optarg ;;
735 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
737 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
740 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
741 |
--program-pre |
--program-pr |
--program-p)
742 ac_prev
=program_prefix
;;
743 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
744 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
745 program_prefix
=$ac_optarg ;;
747 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
748 |
--program-suf |
--program-su |
--program-s)
749 ac_prev
=program_suffix
;;
750 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
751 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
752 program_suffix
=$ac_optarg ;;
754 -program-transform-name |
--program-transform-name \
755 |
--program-transform-nam |
--program-transform-na \
756 |
--program-transform-n |
--program-transform- \
757 |
--program-transform |
--program-transfor \
758 |
--program-transfo |
--program-transf \
759 |
--program-trans |
--program-tran \
760 |
--progr-tra |
--program-tr |
--program-t)
761 ac_prev
=program_transform_name
;;
762 -program-transform-name=* |
--program-transform-name=* \
763 |
--program-transform-nam=* |
--program-transform-na=* \
764 |
--program-transform-n=* |
--program-transform-=* \
765 |
--program-transform=* |
--program-transfor=* \
766 |
--program-transfo=* |
--program-transf=* \
767 |
--program-trans=* |
--program-tran=* \
768 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
769 program_transform_name
=$ac_optarg ;;
771 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
772 |
-silent |
--silent |
--silen |
--sile |
--sil)
775 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
777 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
779 sbindir
=$ac_optarg ;;
781 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
782 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
783 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
785 ac_prev
=sharedstatedir
;;
786 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
787 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
788 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
790 sharedstatedir
=$ac_optarg ;;
792 -site |
--site |
--sit)
794 -site=* |
--site=* |
--sit=*)
797 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
799 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
802 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
803 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
804 ac_prev
=sysconfdir
;;
805 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
806 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
807 sysconfdir
=$ac_optarg ;;
809 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
810 ac_prev
=target_alias
;;
811 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
812 target_alias
=$ac_optarg ;;
814 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
817 -version |
--version |
--versio |
--versi |
--vers |
-V)
821 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
822 # Reject names that are not valid shell variable names.
823 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
824 { echo "$as_me: error: invalid package name: $ac_package" >&2
825 { (exit 1); exit 1; }; }
826 ac_package
=`echo $ac_package| sed 's/-/_/g'`
828 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
831 eval "with_$ac_package='$ac_optarg'" ;;
833 -without-* |
--without-*)
834 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
835 # Reject names that are not valid shell variable names.
836 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
837 { echo "$as_me: error: invalid package name: $ac_package" >&2
838 { (exit 1); exit 1; }; }
839 ac_package
=`echo $ac_package | sed 's/-/_/g'`
840 eval "with_$ac_package=no" ;;
843 # Obsolete; use --with-x.
846 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
847 |
--x-incl |
--x-inc |
--x-in |
--x-i)
848 ac_prev
=x_includes
;;
849 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
850 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
851 x_includes
=$ac_optarg ;;
853 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
854 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
855 ac_prev
=x_libraries
;;
856 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
857 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
858 x_libraries
=$ac_optarg ;;
860 -*) { echo "$as_me: error: unrecognized option: $ac_option
861 Try \`$0 --help' for more information." >&2
862 { (exit 1); exit 1; }; }
866 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
869 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
870 { (exit 1); exit 1; }; }
871 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
872 eval "$ac_envvar='$ac_optarg'"
876 # FIXME: should be removed in autoconf 3.0.
877 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
878 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
879 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
880 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
886 if test -n "$ac_prev"; then
887 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
888 { echo "$as_me: error: missing argument to $ac_option" >&2
889 { (exit 1); exit 1; }; }
892 # Be sure to have absolute directory names.
893 for ac_var
in exec_prefix prefix
895 eval ac_val
=$
`echo $ac_var`
897 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
898 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
899 { (exit 1); exit 1; }; };;
903 # Be sure to have absolute directory names.
904 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
905 localstatedir libdir includedir oldincludedir infodir mandir
907 eval ac_val
=$
`echo $ac_var`
909 [\\/$
]* | ?
:[\\/]* ) ;;
910 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
911 { (exit 1); exit 1; }; };;
915 # There might be people who depend on the old broken behavior: `$host'
916 # used to hold the argument of --host etc.
917 # FIXME: To remove some day.
922 # FIXME: To remove some day.
923 if test "x$host_alias" != x
; then
924 if test "x$build_alias" = x
; then
925 cross_compiling
=maybe
926 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
927 If a cross compiler is detected then cross compile mode will be used." >&2
928 elif test "x$build_alias" != "x$host_alias"; then
934 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
936 test "$silent" = yes && exec 6>/dev
/null
939 # Find the source files, if location was not specified.
940 if test -z "$srcdir"; then
941 ac_srcdir_defaulted
=yes
942 # Try the directory containing this script, then its parent.
943 ac_confdir
=`(dirname "$0") 2>/dev/null ||
944 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
945 X"$0" : 'X\(//\)[^/]' \| \
946 X"$0" : 'X\(//\)$' \| \
947 X"$0" : 'X\(/\)' \| \
948 . : '\(.\)' 2>/dev/null ||
950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
951 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
952 /^X\(\/\/\)$/{ s//\1/; q; }
953 /^X\(\/\).*/{ s//\1/; q; }
956 if test ! -r $srcdir/$ac_unique_file; then
960 ac_srcdir_defaulted
=no
962 if test ! -r $srcdir/$ac_unique_file; then
963 if test "$ac_srcdir_defaulted" = yes; then
964 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
965 { (exit 1); exit 1; }; }
967 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
968 { (exit 1); exit 1; }; }
971 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
972 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
973 { (exit 1); exit 1; }; }
974 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
975 ac_env_build_alias_set
=${build_alias+set}
976 ac_env_build_alias_value
=$build_alias
977 ac_cv_env_build_alias_set
=${build_alias+set}
978 ac_cv_env_build_alias_value
=$build_alias
979 ac_env_host_alias_set
=${host_alias+set}
980 ac_env_host_alias_value
=$host_alias
981 ac_cv_env_host_alias_set
=${host_alias+set}
982 ac_cv_env_host_alias_value
=$host_alias
983 ac_env_target_alias_set
=${target_alias+set}
984 ac_env_target_alias_value
=$target_alias
985 ac_cv_env_target_alias_set
=${target_alias+set}
986 ac_cv_env_target_alias_value
=$target_alias
987 ac_env_CC_set
=${CC+set}
989 ac_cv_env_CC_set
=${CC+set}
990 ac_cv_env_CC_value
=$CC
991 ac_env_CFLAGS_set
=${CFLAGS+set}
992 ac_env_CFLAGS_value
=$CFLAGS
993 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
994 ac_cv_env_CFLAGS_value
=$CFLAGS
995 ac_env_LDFLAGS_set
=${LDFLAGS+set}
996 ac_env_LDFLAGS_value
=$LDFLAGS
997 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
998 ac_cv_env_LDFLAGS_value
=$LDFLAGS
999 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
1000 ac_env_CPPFLAGS_value
=$CPPFLAGS
1001 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
1002 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
1003 ac_env_CXX_set
=${CXX+set}
1004 ac_env_CXX_value
=$CXX
1005 ac_cv_env_CXX_set
=${CXX+set}
1006 ac_cv_env_CXX_value
=$CXX
1007 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
1008 ac_env_CXXFLAGS_value
=$CXXFLAGS
1009 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
1010 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
1011 ac_env_CPP_set
=${CPP+set}
1012 ac_env_CPP_value
=$CPP
1013 ac_cv_env_CPP_set
=${CPP+set}
1014 ac_cv_env_CPP_value
=$CPP
1017 # Report the --help message.
1019 if test "$ac_init_help" = "long"; then
1020 # Omit some internal or obsolete options to make the list less imposing.
1021 # This message is too long to be a string in the A/UX 3.1 sh.
1023 \`configure' configures this package to adapt to many kinds of systems.
1025 Usage: $0 [OPTION]... [VAR=VALUE]...
1027 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1028 VAR=VALUE. See below for descriptions of some of the useful variables.
1030 Defaults for the options are specified in brackets.
1033 -h, --help display this help and exit
1034 --help=short display options specific to this package
1035 --help=recursive display the short help of all the included packages
1036 -V, --version display version information and exit
1037 -q, --quiet, --silent do not print \`checking...' messages
1038 --cache-file=FILE cache test results in FILE [disabled]
1039 -C, --config-cache alias for \`--cache-file=config.cache'
1040 -n, --no-create do not create output files
1041 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1046 Installation directories:
1047 --prefix=PREFIX install architecture-independent files in PREFIX
1048 [$ac_default_prefix]
1049 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1052 By default, \`make install' will install all the files in
1053 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1054 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1055 for instance \`--prefix=\$HOME'.
1057 For better control, use the options below.
1059 Fine tuning of the installation directories:
1060 --bindir=DIR user executables [EPREFIX/bin]
1061 --sbindir=DIR system admin executables [EPREFIX/sbin]
1062 --libexecdir=DIR program executables [EPREFIX/libexec]
1063 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1064 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1065 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1066 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1067 --libdir=DIR object code libraries [EPREFIX/lib]
1068 --includedir=DIR C header files [PREFIX/include]
1069 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1070 --infodir=DIR info documentation [PREFIX/info]
1071 --mandir=DIR man documentation [PREFIX/man]
1077 --x-includes=DIR X include files are
in DIR
1078 --x-libraries=DIR X library files are
in DIR
1081 --build=BUILD configure
for building on BUILD
[guessed
]
1082 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1086 if test -n "$ac_init_help"; then
1091 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1092 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1093 --disable-rpath do not hardcode runtime library paths
1096 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1097 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1098 --with-x use the X Window System
1099 --with-appresdir=DIR X11 application resource files
1100 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1101 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1102 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1103 --with-alt-gs=LIST alternative names for ghostscript executable
1104 --with-gs=PROG actual [/path/]name of ghostscript executable
1105 --with-alt-awk=LIST alternative names for awk executable
1106 --with-awk=PROG actual [/path/]name of awk executable
1108 Some influential environment variables:
1109 CC C compiler command
1110 CFLAGS C compiler flags
1111 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1112 nonstandard directory <lib dir>
1113 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1114 headers in a nonstandard directory <include dir>
1115 CXX C++ compiler command
1116 CXXFLAGS C++ compiler flags
1119 Use these variables to override the choices made by `configure' or to
help
1120 it to
find libraries and programs with nonstandard names
/locations.
1125 if test "$ac_init_help" = "recursive"; then
1126 # If there are subdirs, report their specific --help.
1128 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1129 test -d $ac_dir ||
continue
1132 if test "$ac_dir" != .
; then
1133 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1134 # A "../" for each directory in $ac_dir_suffix.
1135 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1137 ac_dir_suffix
= ac_top_builddir
=
1141 .
) # No --srcdir option. We are building in place.
1143 if test -z "$ac_top_builddir"; then
1146 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1148 [\\/]* | ?
:[\\/]* ) # Absolute name.
1149 ac_srcdir
=$srcdir$ac_dir_suffix;
1150 ac_top_srcdir
=$srcdir ;;
1152 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1153 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1156 # Do not use `cd foo && pwd` to compute absolute names, because
1157 # the directories may not exist.
1159 .
) ac_abs_builddir
="$ac_dir";;
1162 .
) ac_abs_builddir
=`pwd`;;
1163 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1164 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1167 case $ac_abs_builddir in
1168 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1170 case ${ac_top_builddir}.
in
1171 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1172 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1173 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1176 case $ac_abs_builddir in
1177 .
) ac_abs_srcdir
=$ac_srcdir;;
1180 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1181 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1182 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1185 case $ac_abs_builddir in
1186 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1188 case $ac_top_srcdir in
1189 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1190 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1191 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1196 # Check for guested configure; otherwise get Cygnus style configure.
1197 if test -f $ac_srcdir/configure.gnu
; then
1199 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1200 elif test -f $ac_srcdir/configure
; then
1202 $SHELL $ac_srcdir/configure
--help=recursive
1203 elif test -f $ac_srcdir/configure.ac ||
1204 test -f $ac_srcdir/configure.
in; then
1206 $ac_configure --help
1208 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1214 test -n "$ac_init_help" && exit 0
1215 if $ac_init_version; then
1218 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
1219 2003, 2004 Free Software Foundation
, Inc.
1220 This configure
script is free software
; the Free Software Foundation
1221 gives unlimited permission to copy
, distribute and modify it.
1227 This file contains any messages produced by compilers while
1228 running configure, to aid debugging if configure makes a mistake.
1230 It was created by $as_me, which was
1231 generated by GNU Autoconf 2.59b. Invocation command line was
1242 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1243 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1244 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1245 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1246 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1248 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1249 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1251 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1252 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1253 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1254 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1255 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1256 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1257 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1265 test -z "$as_dir" && as_dir
=.
1266 echo "PATH: $as_dir"
1281 # Keep a trace of the command line.
1282 # Strip out --no-create and --no-recursion so they do not pile up.
1283 # Strip out --silent because we don't want to record it for future runs.
1284 # Also quote any args containing shell meta-characters.
1285 # Make two passes to allow for proper duplicate-argument suppression.
1290 ac_must_keep_next
=false
1296 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1297 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1298 |
-silent |
--silent |
--silen |
--sile |
--sil)
1300 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1301 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1304 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1306 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1307 if test $ac_must_keep_next = true
; then
1308 ac_must_keep_next
=false
# Got value, back to normal.
1311 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1312 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1313 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1314 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1315 case "$ac_configure_args0 " in
1316 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1319 -* ) ac_must_keep_next
=true
;;
1322 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1323 # Get rid of the leading space.
1329 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1330 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1332 # When interrupted or exit'd, cleanup temporary files, and complete
1333 # config.log. We remove comments because anyway the quotes in there
1334 # would cause problems or look ugly.
1335 # WARNING: Be sure not to use single quotes in there, as some shells,
1336 # such as our DU 5.0 friend, will then `close' the trap.
1337 trap 'exit_status=$?
1338 # Save into config.log some information that might help in debugging.
1343 ## ---------------- ##
1344 ## Cache variables. ##
1345 ## ---------------- ##
1348 # The following way of writing the cache mishandles newlines in values,
1351 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1354 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1355 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1359 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1366 ## ----------------- ##
1367 ## Output variables. ##
1368 ## ----------------- ##
1371 for ac_var in $ac_subst_vars
1373 eval ac_val=$`echo $ac_var`
1374 echo "$ac_var='"'"'$ac_val'"'"'"
1378 if test -n "$ac_subst_files"; then
1385 for ac_var in $ac_subst_files
1387 eval ac_val=$`echo $ac_var`
1388 echo "$ac_var='"'"'$ac_val'"'"'"
1393 if test -s confdefs.h; then
1400 sed "/^$/d" confdefs.h | sort
1403 test "$ac_signal" != 0 &&
1404 echo "$as_me: caught signal $ac_signal"
1405 echo "$as_me: exit $exit_status"
1407 rm -f core *.core &&
1408 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1411 for ac_signal
in 1 2 13 15; do
1412 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1416 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1417 rm -f -r conftest
* confdefs.h
1418 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1419 # NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
1421 echo "$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space" >confdefs.h
1423 # Predefined preprocessor variables.
1425 cat >>confdefs.h
<<_ACEOF
1426 #define PACKAGE_NAME "$PACKAGE_NAME"
1430 cat >>confdefs.h
<<_ACEOF
1431 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1435 cat >>confdefs.h
<<_ACEOF
1436 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1440 cat >>confdefs.h
<<_ACEOF
1441 #define PACKAGE_STRING "$PACKAGE_STRING"
1445 cat >>confdefs.h
<<_ACEOF
1446 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1450 # Let the site file select an alternate cache file if it wants to.
1451 # Prefer explicitly selected file to automatically selected ones.
1452 if test -z "$CONFIG_SITE"; then
1453 if test "x$prefix" != xNONE
; then
1454 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1456 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1459 for ac_site_file
in $CONFIG_SITE; do
1460 if test -r "$ac_site_file"; then
1461 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1462 echo "$as_me: loading site script $ac_site_file" >&6;}
1463 sed 's/^/| /' "$ac_site_file" >&5
1468 if test -r "$cache_file"; then
1469 # Some versions of bash will fail to source /dev/null (special
1470 # files actually), so we avoid doing that.
1471 if test -f "$cache_file"; then
1472 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1473 echo "$as_me: loading cache $cache_file" >&6;}
1475 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1476 *) . .
/$cache_file;;
1480 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1481 echo "$as_me: creating cache $cache_file" >&6;}
1485 # Check that the precious variables saved in the cache have kept the same
1487 ac_cache_corrupted
=false
1488 for ac_var
in `(set) 2>&1 |
1489 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1490 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1491 eval ac_new_set
=\
$ac_env_${ac_var}_set
1492 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1493 eval ac_new_val
="\$ac_env_${ac_var}_value"
1494 case $ac_old_set,$ac_new_set in
1496 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1497 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1498 ac_cache_corrupted
=: ;;
1500 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1501 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1502 ac_cache_corrupted
=: ;;
1505 if test "x$ac_old_val" != "x$ac_new_val"; then
1506 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1507 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1508 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1509 echo "$as_me: former value: $ac_old_val" >&2;}
1510 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1511 echo "$as_me: current value: $ac_new_val" >&2;}
1512 ac_cache_corrupted
=:
1515 # Pass precious variables to config.status.
1516 if test "$ac_new_set" = set; then
1518 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1519 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1520 *) ac_arg
=$ac_var=$ac_new_val ;;
1522 case " $ac_configure_args " in
1523 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1524 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1528 if $ac_cache_corrupted; then
1529 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1530 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1531 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1532 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1533 { (exit 1); exit 1; }; }
1537 ac_cpp
='$CPP $CPPFLAGS'
1538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1562 ac_config_headers
="$ac_config_headers src/include/config.h:src/include/config.hin"
1566 # checks for programs
1568 ac_cpp
='$CPP $CPPFLAGS'
1569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1572 if test -n "$ac_tool_prefix"; then
1573 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1574 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1575 echo "$as_me:$LINENO: checking for $ac_word" >&5
1576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1577 if test "${ac_cv_prog_CC+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 if test -n "$CC"; then
1581 ac_cv_prog_CC
="$CC" # Let the user override the test.
1583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1587 test -z "$as_dir" && as_dir
=.
1588 for ac_exec_ext
in '' $ac_executable_extensions; do
1589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1590 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1600 if test -n "$CC"; then
1601 echo "$as_me:$LINENO: result: $CC" >&5
1602 echo "${ECHO_T}$CC" >&6
1604 echo "$as_me:$LINENO: result: no" >&5
1605 echo "${ECHO_T}no" >&6
1609 if test -z "$ac_cv_prog_CC"; then
1611 # Extract the first word of "gcc", so it can be a program name with args.
1612 set dummy gcc
; ac_word
=$2
1613 echo "$as_me:$LINENO: checking for $ac_word" >&5
1614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1615 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1616 echo $ECHO_N "(cached) $ECHO_C" >&6
1618 if test -n "$ac_ct_CC"; then
1619 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1625 test -z "$as_dir" && as_dir
=.
1626 for ac_exec_ext
in '' $ac_executable_extensions; do
1627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1628 ac_cv_prog_ac_ct_CC
="gcc"
1629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1637 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1638 if test -n "$ac_ct_CC"; then
1639 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1640 echo "${ECHO_T}$ac_ct_CC" >&6
1642 echo "$as_me:$LINENO: result: no" >&5
1643 echo "${ECHO_T}no" >&6
1646 if test "x$ac_ct_CC" = x
; then
1649 if test "$build" != "$host"; then
1650 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1651 whose name does not start with the host triplet. If you think this
1652 configuration is useful to you, please write to autoconf@gnu.org." >&5
1653 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1654 whose name does not start with the host triplet. If you think this
1655 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1663 if test -z "$CC"; then
1664 if test -n "$ac_tool_prefix"; then
1665 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1666 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1667 echo "$as_me:$LINENO: checking for $ac_word" >&5
1668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1669 if test "${ac_cv_prog_CC+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1672 if test -n "$CC"; then
1673 ac_cv_prog_CC
="$CC" # Let the user override the test.
1675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1679 test -z "$as_dir" && as_dir
=.
1680 for ac_exec_ext
in '' $ac_executable_extensions; do
1681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1682 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1692 if test -n "$CC"; then
1693 echo "$as_me:$LINENO: result: $CC" >&5
1694 echo "${ECHO_T}$CC" >&6
1696 echo "$as_me:$LINENO: result: no" >&5
1697 echo "${ECHO_T}no" >&6
1701 if test -z "$ac_cv_prog_CC"; then
1703 # Extract the first word of "cc", so it can be a program name with args.
1704 set dummy cc
; ac_word
=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 if test -n "$ac_ct_CC"; then
1711 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1717 test -z "$as_dir" && as_dir
=.
1718 for ac_exec_ext
in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720 ac_cv_prog_ac_ct_CC
="cc"
1721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1729 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1730 if test -n "$ac_ct_CC"; then
1731 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1732 echo "${ECHO_T}$ac_ct_CC" >&6
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1738 if test "x$ac_ct_CC" = x
; then
1741 if test "$build" != "$host"; then
1742 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1743 whose name does not start with the host triplet. If you think this
1744 configuration is useful to you, please write to autoconf@gnu.org." >&5
1745 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1746 whose name does not start with the host triplet. If you think this
1747 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1756 if test -z "$CC"; then
1757 # Extract the first word of "cc", so it can be a program name with args.
1758 set dummy cc
; ac_word
=$2
1759 echo "$as_me:$LINENO: checking for $ac_word" >&5
1760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1761 if test "${ac_cv_prog_CC+set}" = set; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1764 if test -n "$CC"; then
1765 ac_cv_prog_CC
="$CC" # Let the user override the test.
1768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1772 test -z "$as_dir" && as_dir
=.
1773 for ac_exec_ext
in '' $ac_executable_extensions; do
1774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1775 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1776 ac_prog_rejected
=yes
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1786 if test $ac_prog_rejected = yes; then
1787 # We found a bogon in the path, so make sure we never use it.
1788 set dummy
$ac_cv_prog_CC
1790 if test $# != 0; then
1791 # We chose a different compiler from the bogus one.
1792 # However, it has the same basename, so the bogon will be chosen
1793 # first if we set CC to just the basename; use the full file name.
1795 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1801 if test -n "$CC"; then
1802 echo "$as_me:$LINENO: result: $CC" >&5
1803 echo "${ECHO_T}$CC" >&6
1805 echo "$as_me:$LINENO: result: no" >&5
1806 echo "${ECHO_T}no" >&6
1810 if test -z "$CC"; then
1811 if test -n "$ac_tool_prefix"; then
1814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1815 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1816 echo "$as_me:$LINENO: checking for $ac_word" >&5
1817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1818 if test "${ac_cv_prog_CC+set}" = set; then
1819 echo $ECHO_N "(cached) $ECHO_C" >&6
1821 if test -n "$CC"; then
1822 ac_cv_prog_CC
="$CC" # Let the user override the test.
1824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1828 test -z "$as_dir" && as_dir
=.
1829 for ac_exec_ext
in '' $ac_executable_extensions; do
1830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1831 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1841 if test -n "$CC"; then
1842 echo "$as_me:$LINENO: result: $CC" >&5
1843 echo "${ECHO_T}$CC" >&6
1845 echo "$as_me:$LINENO: result: no" >&5
1846 echo "${ECHO_T}no" >&6
1849 test -n "$CC" && break
1852 if test -z "$CC"; then
1856 # Extract the first word of "$ac_prog", so it can be a program name with args.
1857 set dummy
$ac_prog; ac_word
=$2
1858 echo "$as_me:$LINENO: checking for $ac_word" >&5
1859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1860 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1861 echo $ECHO_N "(cached) $ECHO_C" >&6
1863 if test -n "$ac_ct_CC"; then
1864 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1870 test -z "$as_dir" && as_dir
=.
1871 for ac_exec_ext
in '' $ac_executable_extensions; do
1872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1873 ac_cv_prog_ac_ct_CC
="$ac_prog"
1874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1882 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1883 if test -n "$ac_ct_CC"; then
1884 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1885 echo "${ECHO_T}$ac_ct_CC" >&6
1887 echo "$as_me:$LINENO: result: no" >&5
1888 echo "${ECHO_T}no" >&6
1891 test -n "$ac_ct_CC" && break
1894 if test "x$ac_ct_CC" = x
; then
1897 if test "$build" != "$host"; then
1898 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1899 whose name does not start with the host triplet. If you think this
1900 configuration is useful to you, please write to autoconf@gnu.org." >&5
1901 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1902 whose name does not start with the host triplet. If you think this
1903 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1912 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1913 See \`config.log' for more details." >&5
1914 echo "$as_me: error: no acceptable C compiler found in \$PATH
1915 See \`config.log' for more details." >&2;}
1916 { (exit 1); exit 1; }; }
1918 # Provide some information about the compiler.
1919 echo "$as_me:$LINENO:" \
1920 "checking for C compiler version" >&5
1921 ac_compiler
=`set X $ac_compile; echo $2`
1922 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1923 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1926 (exit $ac_status); }
1927 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1928 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1931 (exit $ac_status); }
1932 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1933 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }
1938 cat >conftest.
$ac_ext <<_ACEOF
1941 cat confdefs.h
>>conftest.
$ac_ext
1942 cat >>conftest.
$ac_ext <<_ACEOF
1943 /* end confdefs.h. */
1953 ac_clean_files_save
=$ac_clean_files
1954 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1955 # Try to create an executable without -o first, disregard a.out.
1956 # It will help us diagnose broken compilers, and finding out an intuition
1958 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1959 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1960 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1962 # List of possible output files, starting from the most likely.
1963 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
1964 # only as a last resort. b.out is created by i960 compilers.
1965 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
1967 # The IRIX 6 linker writes into existing files which may not be
1968 # executable, retaining their permissions. Remove them first so a
1969 # subsequent execution test works.
1971 for ac_file
in $ac_files
1974 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1975 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
1980 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1981 (eval $ac_link_default) 2>&5
1983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984 (exit $ac_status); }; then
1985 # Be careful to initialize this variable, since it used to be cached.
1986 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1988 for ac_file
in $ac_files
1990 test -f "$ac_file" ||
continue
1992 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1995 # We found the default executable, but exeext='' is most
1999 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2000 # FIXME: I believe we export ac_cv_exeext for Libtool,
2001 # but it would be cool to find out if it's true. Does anybody
2002 # maintain Libtool? --akim.
2010 echo "$as_me: failed program was:" >&5
2011 sed 's/^/| /' conftest.
$ac_ext >&5
2013 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2014 See \`config.log' for more details." >&5
2015 echo "$as_me: error: C compiler cannot create executables
2016 See \`config.log' for more details." >&2;}
2017 { (exit 77); exit 77; }; }
2020 ac_exeext
=$ac_cv_exeext
2021 echo "$as_me:$LINENO: result: $ac_file" >&5
2022 echo "${ECHO_T}$ac_file" >&6
2024 # Check the compiler produces executables we can run. If not, either
2025 # the compiler is broken, or we cross compile.
2026 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2027 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2028 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2029 # If not cross compiling, check that we can run a simple program.
2030 if test "$cross_compiling" != yes; then
2031 if { ac_try
='./$ac_file'
2032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2036 (exit $ac_status); }; }; then
2039 if test "$cross_compiling" = maybe
; then
2042 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2043 If you meant to cross compile, use \`--host'.
2044 See \`config.log' for more details." >&5
2045 echo "$as_me: error: cannot run C compiled programs.
2046 If you meant to cross compile, use \`--host'.
2047 See \`config.log' for more details." >&2;}
2048 { (exit 1); exit 1; }; }
2052 echo "$as_me:$LINENO: result: yes" >&5
2053 echo "${ECHO_T}yes" >&6
2055 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2056 ac_clean_files
=$ac_clean_files_save
2057 # Check the compiler produces executables we can run. If not, either
2058 # the compiler is broken, or we cross compile.
2059 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2060 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2061 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2062 echo "${ECHO_T}$cross_compiling" >&6
2064 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2065 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2067 (eval $ac_link) 2>&5
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }; then
2071 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2072 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2073 # work properly (i.e., refer to `conftest.exe'), while it won't with
2075 for ac_file
in conftest.exe conftest conftest.
*; do
2076 test -f "$ac_file" ||
continue
2078 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2079 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2086 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2087 See \`config.log' for more details." >&5
2088 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2089 See \`config.log' for more details." >&2;}
2090 { (exit 1); exit 1; }; }
2093 rm -f conftest
$ac_cv_exeext
2094 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2095 echo "${ECHO_T}$ac_cv_exeext" >&6
2097 rm -f conftest.
$ac_ext
2098 EXEEXT
=$ac_cv_exeext
2100 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2101 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2102 if test "${ac_cv_objext+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 cat >conftest.
$ac_ext <<_ACEOF
2108 cat confdefs.h
>>conftest.
$ac_ext
2109 cat >>conftest.
$ac_ext <<_ACEOF
2110 /* end confdefs.h. */
2120 rm -f conftest.o conftest.obj
2121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2122 (eval $ac_compile) 2>&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }; then
2126 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2128 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2129 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2134 echo "$as_me: failed program was:" >&5
2135 sed 's/^/| /' conftest.
$ac_ext >&5
2137 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2138 See \`config.log' for more details." >&5
2139 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2140 See \`config.log' for more details." >&2;}
2141 { (exit 1); exit 1; }; }
2144 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2146 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2147 echo "${ECHO_T}$ac_cv_objext" >&6
2148 OBJEXT
=$ac_cv_objext
2150 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2151 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2152 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2155 cat >conftest.
$ac_ext <<_ACEOF
2158 cat confdefs.h
>>conftest.
$ac_ext
2159 cat >>conftest.
$ac_ext <<_ACEOF
2160 /* end confdefs.h. */
2173 rm -f conftest.
$ac_objext
2174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2175 (eval $ac_compile) 2>conftest.er1
2177 grep -v '^ *+' conftest.er1
>conftest.err
2179 cat conftest.err
>&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); } &&
2182 { ac_try
='test -z "$ac_c_werror_flag"
2183 || test ! -s conftest.err'
2184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }; } &&
2189 { ac_try
='test -s conftest.$ac_objext'
2190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); }; }; then
2197 echo "$as_me: failed program was:" >&5
2198 sed 's/^/| /' conftest.
$ac_ext >&5
2202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2203 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2206 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2207 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2208 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2209 ac_test_CFLAGS
=${CFLAGS+set}
2210 ac_save_CFLAGS
=$CFLAGS
2211 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2212 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2213 if test "${ac_cv_prog_cc_g+set}" = set; then
2214 echo $ECHO_N "(cached) $ECHO_C" >&6
2216 ac_save_c_werror_flag
=$ac_c_werror_flag
2217 ac_c_werror_flag
=yes
2220 cat >conftest.
$ac_ext <<_ACEOF
2223 cat confdefs.h
>>conftest.
$ac_ext
2224 cat >>conftest.
$ac_ext <<_ACEOF
2225 /* end confdefs.h. */
2235 rm -f conftest.
$ac_objext
2236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2237 (eval $ac_compile) 2>conftest.er1
2239 grep -v '^ *+' conftest.er1
>conftest.err
2241 cat conftest.err
>&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); } &&
2244 { ac_try
='test -z "$ac_c_werror_flag"
2245 || test ! -s conftest.err'
2246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); }; } &&
2251 { ac_try
='test -s conftest.$ac_objext'
2252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); }; }; then
2259 echo "$as_me: failed program was:" >&5
2260 sed 's/^/| /' conftest.
$ac_ext >&5
2263 cat >conftest.
$ac_ext <<_ACEOF
2266 cat confdefs.h
>>conftest.
$ac_ext
2267 cat >>conftest.
$ac_ext <<_ACEOF
2268 /* end confdefs.h. */
2278 rm -f conftest.
$ac_objext
2279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2280 (eval $ac_compile) 2>conftest.er1
2282 grep -v '^ *+' conftest.er1
>conftest.err
2284 cat conftest.err
>&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); } &&
2287 { ac_try
='test -z "$ac_c_werror_flag"
2288 || test ! -s conftest.err'
2289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }; } &&
2294 { ac_try
='test -s conftest.$ac_objext'
2295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); }; }; then
2302 echo "$as_me: failed program was:" >&5
2303 sed 's/^/| /' conftest.
$ac_ext >&5
2305 ac_c_werror_flag
=$ac_save_c_werror_flag
2307 cat >conftest.
$ac_ext <<_ACEOF
2310 cat confdefs.h
>>conftest.
$ac_ext
2311 cat >>conftest.
$ac_ext <<_ACEOF
2312 /* end confdefs.h. */
2322 rm -f conftest.
$ac_objext
2323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2324 (eval $ac_compile) 2>conftest.er1
2326 grep -v '^ *+' conftest.er1
>conftest.err
2328 cat conftest.err
>&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); } &&
2331 { ac_try
='test -z "$ac_c_werror_flag"
2332 || test ! -s conftest.err'
2333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }; } &&
2338 { ac_try
='test -s conftest.$ac_objext'
2339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }; }; then
2346 echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.
$ac_ext >&5
2350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2355 ac_c_werror_flag
=$ac_save_c_werror_flag
2357 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2358 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2359 if test "$ac_test_CFLAGS" = set; then
2360 CFLAGS
=$ac_save_CFLAGS
2361 elif test $ac_cv_prog_cc_g = yes; then
2362 if test "$GCC" = yes; then
2368 if test "$GCC" = yes; then
2374 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2375 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2376 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 ac_cv_prog_cc_stdc
=no
2381 cat >conftest.
$ac_ext <<_ACEOF
2384 cat confdefs.h
>>conftest.
$ac_ext
2385 cat >>conftest.
$ac_ext <<_ACEOF
2386 /* end confdefs.h. */
2389 #include <sys/types.h>
2390 #include <sys/stat.h>
2391 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2392 struct buf { int x; };
2393 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2394 static char *e (p, i)
2400 static char *f (char * (*g) (char **, int), char **p, ...)
2405 s = g (p, va_arg (v,int));
2410 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2411 function prototypes and stuff, but not '\xHH' hex character constants.
2412 These don't provoke an error unfortunately, instead are silently treated
2413 as 'x'. The following induces an error, until -std is added to get
2414 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2415 array size at least. It's necessary to write '\x00'==0 to get something
2416 that's true only with -std. */
2417 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2419 int test (int i, double x);
2420 struct s1 {int (*f) (int a);};
2421 struct s2 {int (*f) (double a);};
2422 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2428 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2433 # Don't try gcc -ansi; that turns off useful extensions and
2434 # breaks some systems' header files.
2435 # AIX -qlanglvl=ansi
2436 # Ultrix, OSF/1, Tru64 -std
2437 # HP-UX 10.20 and later -Ae
2438 # HP-UX older versions -Aa -D_HPUX_SOURCE
2439 # SVR4 -Xc -D__EXTENSIONS__
2440 for ac_arg
in "" -qlanglvl=ansi
-std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2442 CC
="$ac_save_CC $ac_arg"
2443 rm -f conftest.
$ac_objext
2444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2445 (eval $ac_compile) 2>conftest.er1
2447 grep -v '^ *+' conftest.er1
>conftest.err
2449 cat conftest.err
>&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); } &&
2452 { ac_try
='test -z "$ac_c_werror_flag"
2453 || test ! -s conftest.err'
2454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; } &&
2459 { ac_try
='test -s conftest.$ac_objext'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; }; then
2465 ac_cv_prog_cc_stdc
=$ac_arg
2468 echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.
$ac_ext >&5
2472 rm -f conftest.err conftest.
$ac_objext
2474 rm -f conftest.
$ac_ext conftest.
$ac_objext
2479 case "x$ac_cv_prog_cc_stdc" in
2481 echo "$as_me:$LINENO: result: none needed" >&5
2482 echo "${ECHO_T}none needed" >&6 ;;
2484 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2485 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2486 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2489 # Some people use a C++ compiler to compile C. Since we use `exit',
2490 # in C++ we need to declare it. In case someone uses the same compiler
2491 # for both compiling C and C++ we need to have the C++ compiler decide
2492 # the declaration of exit, since it's the most demanding environment.
2493 cat >conftest.
$ac_ext <<_ACEOF
2498 rm -f conftest.
$ac_objext
2499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2500 (eval $ac_compile) 2>conftest.er1
2502 grep -v '^ *+' conftest.er1
>conftest.err
2504 cat conftest.err
>&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); } &&
2507 { ac_try
='test -z "$ac_c_werror_flag"
2508 || test ! -s conftest.err'
2509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); }; } &&
2514 { ac_try
='test -s conftest.$ac_objext'
2515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); }; }; then
2520 for ac_declaration
in \
2522 'extern "C" void std::exit (int) throw (); using std::exit;' \
2523 'extern "C" void std::exit (int); using std::exit;' \
2524 'extern "C" void exit (int) throw ();' \
2525 'extern "C" void exit (int);' \
2528 cat >conftest.
$ac_ext <<_ACEOF
2531 cat confdefs.h
>>conftest.
$ac_ext
2532 cat >>conftest.
$ac_ext <<_ACEOF
2533 /* end confdefs.h. */
2544 rm -f conftest.
$ac_objext
2545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2546 (eval $ac_compile) 2>conftest.er1
2548 grep -v '^ *+' conftest.er1
>conftest.err
2550 cat conftest.err
>&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); } &&
2553 { ac_try
='test -z "$ac_c_werror_flag"
2554 || test ! -s conftest.err'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; } &&
2560 { ac_try
='test -s conftest.$ac_objext'
2561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; }; then
2568 echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.
$ac_ext >&5
2573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2574 cat >conftest.
$ac_ext <<_ACEOF
2577 cat confdefs.h
>>conftest.
$ac_ext
2578 cat >>conftest.
$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2589 rm -f conftest.
$ac_objext
2590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2591 (eval $ac_compile) 2>conftest.er1
2593 grep -v '^ *+' conftest.er1
>conftest.err
2595 cat conftest.err
>&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); } &&
2598 { ac_try
='test -z "$ac_c_werror_flag"
2599 || test ! -s conftest.err'
2600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; } &&
2605 { ac_try
='test -s conftest.$ac_objext'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; }; then
2613 echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.
$ac_ext >&5
2617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2620 if test -n "$ac_declaration"; then
2621 echo '#ifdef __cplusplus' >>confdefs.h
2622 echo $ac_declaration >>confdefs.h
2623 echo '#endif' >>confdefs.h
2627 echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.
$ac_ext >&5
2631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2633 ac_cpp
='$CPP $CPPFLAGS'
2634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2639 ac_cpp
='$CXXCPP $CPPFLAGS'
2640 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2643 if test -n "$ac_tool_prefix"; then
2644 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2646 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2647 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2648 echo "$as_me:$LINENO: checking for $ac_word" >&5
2649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2650 if test "${ac_cv_prog_CXX+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 if test -n "$CXX"; then
2654 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir
=.
2661 for ac_exec_ext
in '' $ac_executable_extensions; do
2662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 if test -n "$CXX"; then
2674 echo "$as_me:$LINENO: result: $CXX" >&5
2675 echo "${ECHO_T}$CXX" >&6
2677 echo "$as_me:$LINENO: result: no" >&5
2678 echo "${ECHO_T}no" >&6
2681 test -n "$CXX" && break
2684 if test -z "$CXX"; then
2686 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2688 # Extract the first word of "$ac_prog", so it can be a program name with args.
2689 set dummy
$ac_prog; ac_word
=$2
2690 echo "$as_me:$LINENO: checking for $ac_word" >&5
2691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2692 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 if test -n "$ac_ct_CXX"; then
2696 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir
=.
2703 for ac_exec_ext
in '' $ac_executable_extensions; do
2704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2705 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2715 if test -n "$ac_ct_CXX"; then
2716 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2717 echo "${ECHO_T}$ac_ct_CXX" >&6
2719 echo "$as_me:$LINENO: result: no" >&5
2720 echo "${ECHO_T}no" >&6
2723 test -n "$ac_ct_CXX" && break
2726 if test "x$ac_ct_CXX" = x
; then
2729 if test "$build" != "$host"; then
2730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2731 whose name does not start with the host triplet. If you think this
2732 configuration is useful to you, please write to autoconf@gnu.org." >&5
2733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2734 whose name does not start with the host triplet. If you think this
2735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2742 # Provide some information about the compiler.
2743 echo "$as_me:$LINENO:" \
2744 "checking for C++ compiler version" >&5
2745 ac_compiler
=`set X $ac_compile; echo $2`
2746 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2747 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }
2751 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2752 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }
2756 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2757 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); }
2762 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2763 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2764 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 cat >conftest.
$ac_ext <<_ACEOF
2770 cat confdefs.h
>>conftest.
$ac_ext
2771 cat >>conftest.
$ac_ext <<_ACEOF
2772 /* end confdefs.h. */
2785 rm -f conftest.
$ac_objext
2786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2787 (eval $ac_compile) 2>conftest.er1
2789 grep -v '^ *+' conftest.er1
>conftest.err
2791 cat conftest.err
>&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } &&
2794 { ac_try
='test -z "$ac_cxx_werror_flag"
2795 || test ! -s conftest.err'
2796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; } &&
2801 { ac_try
='test -s conftest.$ac_objext'
2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }; }; then
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.
$ac_ext >&5
2814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2815 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2818 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2819 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2820 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2821 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2822 ac_save_CXXFLAGS
=$CXXFLAGS
2823 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2824 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2825 if test "${ac_cv_prog_cxx_g+set}" = set; then
2826 echo $ECHO_N "(cached) $ECHO_C" >&6
2828 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
2829 ac_cxx_werror_flag
=yes
2832 cat >conftest.
$ac_ext <<_ACEOF
2835 cat confdefs.h
>>conftest.
$ac_ext
2836 cat >>conftest.
$ac_ext <<_ACEOF
2837 /* end confdefs.h. */
2847 rm -f conftest.
$ac_objext
2848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2849 (eval $ac_compile) 2>conftest.er1
2851 grep -v '^ *+' conftest.er1
>conftest.err
2853 cat conftest.err
>&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); } &&
2856 { ac_try
='test -z "$ac_cxx_werror_flag"
2857 || test ! -s conftest.err'
2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; } &&
2863 { ac_try
='test -s conftest.$ac_objext'
2864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; }; then
2869 ac_cv_prog_cxx_g
=yes
2871 echo "$as_me: failed program was:" >&5
2872 sed 's/^/| /' conftest.
$ac_ext >&5
2875 cat >conftest.
$ac_ext <<_ACEOF
2878 cat confdefs.h
>>conftest.
$ac_ext
2879 cat >>conftest.
$ac_ext <<_ACEOF
2880 /* end confdefs.h. */
2890 rm -f conftest.
$ac_objext
2891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2892 (eval $ac_compile) 2>conftest.er1
2894 grep -v '^ *+' conftest.er1
>conftest.err
2896 cat conftest.err
>&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); } &&
2899 { ac_try
='test -z "$ac_cxx_werror_flag"
2900 || test ! -s conftest.err'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; } &&
2906 { ac_try
='test -s conftest.$ac_objext'
2907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }; }; then
2914 echo "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.
$ac_ext >&5
2917 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
2919 cat >conftest.
$ac_ext <<_ACEOF
2922 cat confdefs.h
>>conftest.
$ac_ext
2923 cat >>conftest.
$ac_ext <<_ACEOF
2924 /* end confdefs.h. */
2934 rm -f conftest.
$ac_objext
2935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2936 (eval $ac_compile) 2>conftest.er1
2938 grep -v '^ *+' conftest.er1
>conftest.err
2940 cat conftest.err
>&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); } &&
2943 { ac_try
='test -z "$ac_cxx_werror_flag"
2944 || test ! -s conftest.err'
2945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; } &&
2950 { ac_try
='test -s conftest.$ac_objext'
2951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; }; then
2956 ac_cv_prog_cxx_g
=yes
2958 echo "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.
$ac_ext >&5
2962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2967 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
2969 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2970 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2971 if test "$ac_test_CXXFLAGS" = set; then
2972 CXXFLAGS
=$ac_save_CXXFLAGS
2973 elif test $ac_cv_prog_cxx_g = yes; then
2974 if test "$GXX" = yes; then
2980 if test "$GXX" = yes; then
2986 for ac_declaration
in \
2988 'extern "C" void std::exit (int) throw (); using std::exit;' \
2989 'extern "C" void std::exit (int); using std::exit;' \
2990 'extern "C" void exit (int) throw ();' \
2991 'extern "C" void exit (int);' \
2994 cat >conftest.
$ac_ext <<_ACEOF
2997 cat confdefs.h
>>conftest.
$ac_ext
2998 cat >>conftest.
$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3010 rm -f conftest.
$ac_objext
3011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3012 (eval $ac_compile) 2>conftest.er1
3014 grep -v '^ *+' conftest.er1
>conftest.err
3016 cat conftest.err
>&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); } &&
3019 { ac_try
='test -z "$ac_cxx_werror_flag"
3020 || test ! -s conftest.err'
3021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; } &&
3026 { ac_try
='test -s conftest.$ac_objext'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; }; then
3034 echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.
$ac_ext >&5
3039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3040 cat >conftest.
$ac_ext <<_ACEOF
3043 cat confdefs.h
>>conftest.
$ac_ext
3044 cat >>conftest.
$ac_ext <<_ACEOF
3045 /* end confdefs.h. */
3055 rm -f conftest.
$ac_objext
3056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3057 (eval $ac_compile) 2>conftest.er1
3059 grep -v '^ *+' conftest.er1
>conftest.err
3061 cat conftest.err
>&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); } &&
3064 { ac_try
='test -z "$ac_cxx_werror_flag"
3065 || test ! -s conftest.err'
3066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; } &&
3071 { ac_try
='test -s conftest.$ac_objext'
3072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); }; }; then
3079 echo "$as_me: failed program was:" >&5
3080 sed 's/^/| /' conftest.
$ac_ext >&5
3083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3086 if test -n "$ac_declaration"; then
3087 echo '#ifdef __cplusplus' >>confdefs.h
3088 echo $ac_declaration >>confdefs.h
3089 echo '#endif' >>confdefs.h
3093 ac_cpp
='$CPP $CPPFLAGS'
3094 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3095 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3096 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3101 ac_cpp
='$CXXCPP $CPPFLAGS'
3102 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3103 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3104 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3106 if test "$cross_compiling" = no
; then
3107 echo "$as_me:$LINENO: checking that C++ compiler can compile simple program" >&5
3108 echo $ECHO_N "checking that C++ compiler can compile simple program... $ECHO_C" >&6
3110 if test "$cross_compiling" = yes; then
3113 cat >conftest.
$ac_ext <<_ACEOF
3117 cat confdefs.h
>>conftest.
$ac_ext
3118 cat >>conftest.
$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3129 rm -f conftest
$ac_exeext
3130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3131 (eval $ac_link) 2>&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; }; then
3140 echo "$as_me:$LINENO: result: yes" >&5
3141 echo "${ECHO_T}yes" >&6
3143 echo "$as_me: program exited with status $ac_status" >&5
3144 echo "$as_me: failed program was:" >&5
3145 sed 's/^/| /' conftest.
$ac_ext >&5
3148 echo "$as_me:$LINENO: result: no" >&5
3149 echo "${ECHO_T}no" >&6
3150 { { echo "$as_me:$LINENO: error: a working C++ compiler is required" >&5
3151 echo "$as_me: error: a working C++ compiler is required" >&2;}
3152 { (exit 1); exit 1; }; }
3154 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3157 if test "$cross_compiling" = no
; then
3158 echo "$as_me:$LINENO: checking that C++ static constructors and destructors are called" >&5
3159 echo $ECHO_N "checking that C++ static constructors and destructors are called... $ECHO_C" >&6
3161 if test "$cross_compiling" = yes; then
3164 cat >conftest.
$ac_ext <<_ACEOF
3168 cat confdefs.h
>>conftest.
$ac_ext
3169 cat >>conftest.
$ac_ext <<_ACEOF
3170 /* end confdefs.h. */
3181 ~A() { if (i == 1) _exit(0); }
3194 rm -f conftest
$ac_exeext
3195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3196 (eval $ac_link) 2>&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); }; }; then
3205 echo "$as_me:$LINENO: result: yes" >&5
3206 echo "${ECHO_T}yes" >&6
3208 echo "$as_me: program exited with status $ac_status" >&5
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.
$ac_ext >&5
3213 echo "$as_me:$LINENO: result: no" >&5
3214 echo "${ECHO_T}no" >&6
3215 { { echo "$as_me:$LINENO: error: a working C++ compiler is required" >&5
3216 echo "$as_me: error: a working C++ compiler is required" >&2;}
3217 { (exit 1); exit 1; }; }
3219 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3222 echo "$as_me:$LINENO: checking that header files support C++" >&5
3223 echo $ECHO_N "checking that header files support C++... $ECHO_C" >&6
3224 cat >conftest.
$ac_ext <<_ACEOF
3228 cat confdefs.h
>>conftest.
$ac_ext
3229 cat >>conftest.
$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3249 rm -f conftest.
$ac_objext conftest
$ac_exeext
3250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3251 (eval $ac_link) 2>conftest.er1
3253 grep -v '^ *+' conftest.er1
>conftest.err
3255 cat conftest.err
>&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); } &&
3258 { ac_try
='test -z "$ac_cxx_werror_flag"
3259 || test ! -s conftest.err'
3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }; } &&
3265 { ac_try
='test -s conftest$ac_exeext'
3266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }; }; then
3271 echo "$as_me:$LINENO: result: yes" >&5
3272 echo "${ECHO_T}yes" >&6
3274 echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.
$ac_ext >&5
3277 echo "$as_me:$LINENO: result: no" >&5
3278 echo "${ECHO_T}no" >&6
3279 { { echo "$as_me:$LINENO: error: header files do not support C++
3280 (if you are using a version of gcc/g++ earlier than 2.5,
3281 you should install libg++)" >&5
3282 echo "$as_me: error: header files do not support C++
3283 (if you are using a version of gcc/g++ earlier than 2.5,
3284 you should install libg++)" >&2;}
3285 { (exit 1); exit 1; }; }
3287 rm -f conftest.err conftest.
$ac_objext \
3288 conftest
$ac_exeext conftest.
$ac_ext
3290 ac_cpp
='$CPP $CPPFLAGS'
3291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3296 echo "$as_me:$LINENO: checking whether character set is EBCDIC" >&5
3297 echo $ECHO_N "checking whether character set is EBCDIC... $ECHO_C" >&6
3298 cat >conftest.
$ac_ext <<_ACEOF
3302 cat confdefs.h
>>conftest.
$ac_ext
3303 cat >>conftest.
$ac_ext <<_ACEOF
3304 /* end confdefs.h. */
3307 /* Treat any failure as ASCII for compatibility with existing art.
3308 Use compile-time rather than run-time tests for cross-compiler
3311 make an error "Character set is not EBCDIC"
3324 rm -f conftest.
$ac_objext
3325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3326 (eval $ac_compile) 2>conftest.er1
3328 grep -v '^ *+' conftest.er1
>conftest.err
3330 cat conftest.err
>&5
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); } &&
3333 { ac_try
='test -z "$ac_c_werror_flag"
3334 || test ! -s conftest.err'
3335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }; } &&
3340 { ac_try
='test -s conftest.$ac_objext'
3341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }; }; then
3346 groff_cv_ebcdic
="yes"
3347 TTYDEVDIRS
="font/devcp1047"
3348 echo "$as_me:$LINENO: result: yes" >&5
3349 echo "${ECHO_T}yes" >&6
3351 cat >>confdefs.h
<<\_ACEOF
3352 #define IS_EBCDIC_HOST 1
3356 echo "$as_me: failed program was:" >&5
3357 sed 's/^/| /' conftest.
$ac_ext >&5
3359 groff_cv_ebcdic
="no"
3360 TTYDEVDIRS
="font/devascii font/devlatin1"
3361 OTHERDEVDIRS
="font/devlj4 font/devlbp"
3362 echo "$as_me:$LINENO: result: no" >&5
3363 echo "${ECHO_T}no" >&6
3365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3368 if test "$groff_cv_ebcdic" = "yes"; then
3369 echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
3370 echo $ECHO_N "checking for OS/390 Unix... $ECHO_C" >&6
3373 CFLAGS
="$CFLAGS -D_ALL_SOURCE"
3374 echo "$as_me:$LINENO: result: yes" >&5
3375 echo "${ECHO_T}yes" >&6 ;;
3377 echo "$as_me:$LINENO: result: no" >&5
3378 echo "${ECHO_T}no" >&6 ;;
3382 ac_cpp
='$CPP $CPPFLAGS'
3383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3386 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3387 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3388 # On Suns, sometimes $CPP names a directory.
3389 if test -n "$CPP" && test -d "$CPP"; then
3392 if test -z "$CPP"; then
3393 if test "${ac_cv_prog_CPP+set}" = set; then
3394 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 # Double quotes because CPP needs to be expanded
3397 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3400 for ac_c_preproc_warn_flag
in '' yes
3402 # Use a header file that comes with gcc, so configuring glibc
3403 # with a fresh cross-compiler works.
3404 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3405 # <limits.h> exists even on freestanding compilers.
3406 # On the NeXT, cc -E runs the code through the compiler's parser,
3407 # not just through cpp. "Syntax error" is here to catch this case.
3408 cat >conftest.
$ac_ext <<_ACEOF
3411 cat confdefs.h
>>conftest.
$ac_ext
3412 cat >>conftest.
$ac_ext <<_ACEOF
3413 /* end confdefs.h. */
3415 # include <limits.h>
3417 # include <assert.h>
3421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3422 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3424 grep -v '^ *+' conftest.er1
>conftest.err
3426 cat conftest.err
>&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); } >/dev
/null
; then
3429 if test -s conftest.err
; then
3430 ac_cpp_err
=$ac_c_preproc_warn_flag
3431 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3438 if test -z "$ac_cpp_err"; then
3441 echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.
$ac_ext >&5
3444 # Broken: fails on valid input.
3447 rm -f conftest.err conftest.
$ac_ext
3449 # OK, works on sane cases. Now check whether non-existent headers
3450 # can be detected and how.
3451 cat >conftest.
$ac_ext <<_ACEOF
3454 cat confdefs.h
>>conftest.
$ac_ext
3455 cat >>conftest.
$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3457 #include <ac_nonexistent.h>
3459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3462 grep -v '^ *+' conftest.er1
>conftest.err
3464 cat conftest.err
>&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } >/dev
/null
; then
3467 if test -s conftest.err
; then
3468 ac_cpp_err
=$ac_c_preproc_warn_flag
3469 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3476 if test -z "$ac_cpp_err"; then
3477 # Broken: success on invalid input.
3480 echo "$as_me: failed program was:" >&5
3481 sed 's/^/| /' conftest.
$ac_ext >&5
3483 # Passes both tests.
3487 rm -f conftest.err conftest.
$ac_ext
3490 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3491 rm -f conftest.err conftest.
$ac_ext
3492 if $ac_preproc_ok; then
3504 echo "$as_me:$LINENO: result: $CPP" >&5
3505 echo "${ECHO_T}$CPP" >&6
3507 for ac_c_preproc_warn_flag
in '' yes
3509 # Use a header file that comes with gcc, so configuring glibc
3510 # with a fresh cross-compiler works.
3511 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3512 # <limits.h> exists even on freestanding compilers.
3513 # On the NeXT, cc -E runs the code through the compiler's parser,
3514 # not just through cpp. "Syntax error" is here to catch this case.
3515 cat >conftest.
$ac_ext <<_ACEOF
3518 cat confdefs.h
>>conftest.
$ac_ext
3519 cat >>conftest.
$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3522 # include <limits.h>
3524 # include <assert.h>
3528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3529 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3531 grep -v '^ *+' conftest.er1
>conftest.err
3533 cat conftest.err
>&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); } >/dev
/null
; then
3536 if test -s conftest.err
; then
3537 ac_cpp_err
=$ac_c_preproc_warn_flag
3538 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3545 if test -z "$ac_cpp_err"; then
3548 echo "$as_me: failed program was:" >&5
3549 sed 's/^/| /' conftest.
$ac_ext >&5
3551 # Broken: fails on valid input.
3554 rm -f conftest.err conftest.
$ac_ext
3556 # OK, works on sane cases. Now check whether non-existent headers
3557 # can be detected and how.
3558 cat >conftest.
$ac_ext <<_ACEOF
3561 cat confdefs.h
>>conftest.
$ac_ext
3562 cat >>conftest.
$ac_ext <<_ACEOF
3563 /* end confdefs.h. */
3564 #include <ac_nonexistent.h>
3566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3567 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3569 grep -v '^ *+' conftest.er1
>conftest.err
3571 cat conftest.err
>&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); } >/dev
/null
; then
3574 if test -s conftest.err
; then
3575 ac_cpp_err
=$ac_c_preproc_warn_flag
3576 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3583 if test -z "$ac_cpp_err"; then
3584 # Broken: success on invalid input.
3587 echo "$as_me: failed program was:" >&5
3588 sed 's/^/| /' conftest.
$ac_ext >&5
3590 # Passes both tests.
3594 rm -f conftest.err conftest.
$ac_ext
3597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3598 rm -f conftest.err conftest.
$ac_ext
3599 if $ac_preproc_ok; then
3602 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3603 See \`config.log' for more details." >&5
3604 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3605 See \`config.log' for more details." >&2;}
3606 { (exit 1); exit 1; }; }
3610 ac_cpp
='$CPP $CPPFLAGS'
3611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3616 echo "$as_me:$LINENO: checking for X" >&5
3617 echo $ECHO_N "checking for X... $ECHO_C" >&6
3620 # Check whether --with-x or --without-x was given.
3621 if test "${with_x+set}" = set; then
3625 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3626 if test "x$with_x" = xno
; then
3627 # The user explicitly disabled X.
3630 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3631 # Both variables are already set.
3634 if test "${ac_cv_have_x+set}" = set; then
3635 echo $ECHO_N "(cached) $ECHO_C" >&6
3637 # One or both of the vars are not set, and there is no cached value.
3638 ac_x_includes
=no ac_x_libraries
=no
3639 rm -f -r conftest.dir
3640 if mkdir conftest.dir
; then
3642 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3643 cat >Imakefile
<<'_ACEOF'
3645 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3647 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3648 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3649 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3650 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3651 for ac_extension
in a so sl
; do
3652 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3653 test -f $ac_im_libdir/libX11.
$ac_extension; then
3654 ac_im_usrlibdir
=$ac_im_libdir; break
3657 # Screen out bogus values from the imake configuration. They are
3658 # bogus both because they are the default anyway, and because
3659 # using them would break gcc on systems where it needs fixed includes.
3660 case $ac_im_incroot in
3662 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3664 case $ac_im_usrlibdir in
3666 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3670 rm -f -r conftest.dir
3673 # Standard set of common directories for X headers.
3674 # Check X11 before X11Rn because it is often a symlink to the current release.
3686 /usr/local/X11/include
3687 /usr/local/X11R6/include
3688 /usr/local/X11R5/include
3689 /usr/local/X11R4/include
3691 /usr/local/include/X11
3692 /usr/local/include/X11R6
3693 /usr/local/include/X11R5
3694 /usr/local/include/X11R4
3698 /usr/XFree86/include/X11
3702 /usr/unsupported/include
3704 /usr/local/x11r5/include
3705 /usr/lpp/Xamples/include
3707 /usr/openwin/include
3708 /usr/openwin/share/include'
3710 if test "$ac_x_includes" = no
; then
3711 # Guess where to find include files, by looking for Intrinsic.h.
3712 # First, try using that file with no special directory specified.
3713 cat >conftest.
$ac_ext <<_ACEOF
3716 cat confdefs.h
>>conftest.
$ac_ext
3717 cat >>conftest.
$ac_ext <<_ACEOF
3718 /* end confdefs.h. */
3719 #include <X11/Intrinsic.h>
3721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3722 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3724 grep -v '^ *+' conftest.er1
>conftest.err
3726 cat conftest.err
>&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); } >/dev
/null
; then
3729 if test -s conftest.err
; then
3730 ac_cpp_err
=$ac_c_preproc_warn_flag
3731 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3738 if test -z "$ac_cpp_err"; then
3739 # We can compile using X headers with no special include directory.
3742 echo "$as_me: failed program was:" >&5
3743 sed 's/^/| /' conftest.
$ac_ext >&5
3745 for ac_dir
in $ac_x_header_dirs; do
3746 if test -r "$ac_dir/X11/Intrinsic.h"; then
3747 ac_x_includes
=$ac_dir
3752 rm -f conftest.err conftest.
$ac_ext
3753 fi # $ac_x_includes = no
3755 if test "$ac_x_libraries" = no
; then
3756 # Check for the libraries.
3757 # See if we find them without any special options.
3758 # Don't add to $LIBS permanently.
3761 cat >conftest.
$ac_ext <<_ACEOF
3764 cat confdefs.h
>>conftest.
$ac_ext
3765 cat >>conftest.
$ac_ext <<_ACEOF
3766 /* end confdefs.h. */
3767 #include <X11/Intrinsic.h>
3776 rm -f conftest.
$ac_objext conftest
$ac_exeext
3777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3778 (eval $ac_link) 2>conftest.er1
3780 grep -v '^ *+' conftest.er1
>conftest.err
3782 cat conftest.err
>&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); } &&
3785 { ac_try
='test -z "$ac_c_werror_flag"
3786 || test ! -s conftest.err'
3787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }; } &&
3792 { ac_try
='test -s conftest$ac_exeext'
3793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); }; }; then
3799 # We can link X programs with no special library path.
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.
$ac_ext >&5
3806 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3808 # Don't even attempt the hair of trying to link an X program!
3809 for ac_extension
in a so sl
; do
3810 if test -r $ac_dir/libXt.
$ac_extension; then
3811 ac_x_libraries
=$ac_dir
3817 rm -f conftest.err conftest.
$ac_objext \
3818 conftest
$ac_exeext conftest.
$ac_ext
3819 fi # $ac_x_libraries = no
3821 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3822 # Didn't find X anywhere. Cache the known absence of X.
3823 ac_cv_have_x
="have_x=no"
3825 # Record where we found X for the cache.
3826 ac_cv_have_x
="have_x=yes \
3827 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3832 eval "$ac_cv_have_x"
3835 if test "$have_x" != yes; then
3836 echo "$as_me:$LINENO: result: $have_x" >&5
3837 echo "${ECHO_T}$have_x" >&6
3840 # If each of the values was on the command line, it overrides each guess.
3841 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3842 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3843 # Update the cache value to reflect the command line values.
3844 ac_cv_have_x
="have_x=yes \
3845 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3846 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3847 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
3850 if test "$no_x" = yes; then
3851 # Not all programs may use this symbol, but it does not hurt to define it.
3853 cat >>confdefs.h
<<\_ACEOF
3854 #define X_DISPLAY_MISSING 1
3857 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3859 if test -n "$x_includes"; then
3860 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3863 # It would also be nice to do this for all -L options, not just this one.
3864 if test -n "$x_libraries"; then
3865 X_LIBS
="$X_LIBS -L$x_libraries"
3866 # For Solaris; some versions of Sun CC require a space after -R and
3867 # others require no space. Words are not sufficient . . . .
3868 case `(uname -sr) 2>/dev/null` in
3870 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3871 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3872 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3873 cat >conftest.
$ac_ext <<_ACEOF
3876 cat confdefs.h
>>conftest.
$ac_ext
3877 cat >>conftest.
$ac_ext <<_ACEOF
3878 /* end confdefs.h. */
3888 rm -f conftest.
$ac_objext conftest
$ac_exeext
3889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3890 (eval $ac_link) 2>conftest.er1
3892 grep -v '^ *+' conftest.er1
>conftest.err
3894 cat conftest.err
>&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } &&
3897 { ac_try
='test -z "$ac_c_werror_flag"
3898 || test ! -s conftest.err'
3899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); }; } &&
3904 { ac_try
='test -s conftest$ac_exeext'
3905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); }; }; then
3912 echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.
$ac_ext >&5
3917 rm -f conftest.err conftest.
$ac_objext \
3918 conftest
$ac_exeext conftest.
$ac_ext
3919 if test $ac_R_nospace = yes; then
3920 echo "$as_me:$LINENO: result: no" >&5
3921 echo "${ECHO_T}no" >&6
3922 X_LIBS
="$X_LIBS -R$x_libraries"
3924 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3925 cat >conftest.
$ac_ext <<_ACEOF
3928 cat confdefs.h
>>conftest.
$ac_ext
3929 cat >>conftest.
$ac_ext <<_ACEOF
3930 /* end confdefs.h. */
3940 rm -f conftest.
$ac_objext conftest
$ac_exeext
3941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3942 (eval $ac_link) 2>conftest.er1
3944 grep -v '^ *+' conftest.er1
>conftest.err
3946 cat conftest.err
>&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } &&
3949 { ac_try
='test -z "$ac_c_werror_flag"
3950 || test ! -s conftest.err'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; } &&
3956 { ac_try
='test -s conftest$ac_exeext'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; }; then
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.
$ac_ext >&5
3969 rm -f conftest.err conftest.
$ac_objext \
3970 conftest
$ac_exeext conftest.
$ac_ext
3971 if test $ac_R_space = yes; then
3972 echo "$as_me:$LINENO: result: yes" >&5
3973 echo "${ECHO_T}yes" >&6
3974 X_LIBS
="$X_LIBS -R $x_libraries"
3976 echo "$as_me:$LINENO: result: neither works" >&5
3977 echo "${ECHO_T}neither works" >&6
3984 # Check for system-dependent libraries X programs must link with.
3985 # Do this before checking for the system-independent R6 libraries
3986 # (-lICE), since we may need -lsocket or whatever for X linking.
3988 if test "$ISC" = yes; then
3989 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3991 # Martyn Johnson says this is needed for Ultrix, if the X
3992 # libraries were built with DECnet support. And Karl Berry says
3993 # the Alpha needs dnet_stub (dnet does not exist).
3994 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3995 cat >conftest.
$ac_ext <<_ACEOF
3998 cat confdefs.h
>>conftest.
$ac_ext
3999 cat >>conftest.
$ac_ext <<_ACEOF
4000 /* end confdefs.h. */
4002 /* Override any gcc2 internal prototype to avoid an error. */
4006 /* We use char because int might match the return type of a gcc2
4007 builtin and then its argument prototype would still apply. */
4008 char XOpenDisplay ();
4017 rm -f conftest.
$ac_objext conftest
$ac_exeext
4018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4019 (eval $ac_link) 2>conftest.er1
4021 grep -v '^ *+' conftest.er1
>conftest.err
4023 cat conftest.err
>&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try
='test -z "$ac_c_werror_flag"
4027 || test ! -s conftest.err'
4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; } &&
4033 { ac_try
='test -s conftest$ac_exeext'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; }; then
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.
$ac_ext >&5
4044 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4045 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
4046 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4047 echo $ECHO_N "(cached) $ECHO_C" >&6
4049 ac_check_lib_save_LIBS
=$LIBS
4051 cat >conftest.
$ac_ext <<_ACEOF
4054 cat confdefs.h
>>conftest.
$ac_ext
4055 cat >>conftest.
$ac_ext <<_ACEOF
4056 /* end confdefs.h. */
4058 /* Override any gcc2 internal prototype to avoid an error. */
4062 /* We use char because int might match the return type of a gcc2
4063 builtin and then its argument prototype would still apply. */
4073 rm -f conftest.
$ac_objext conftest
$ac_exeext
4074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4075 (eval $ac_link) 2>conftest.er1
4077 grep -v '^ *+' conftest.er1
>conftest.err
4079 cat conftest.err
>&5
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); } &&
4082 { ac_try
='test -z "$ac_c_werror_flag"
4083 || test ! -s conftest.err'
4084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; } &&
4089 { ac_try
='test -s conftest$ac_exeext'
4090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; }; then
4095 ac_cv_lib_dnet_dnet_ntoa
=yes
4097 echo "$as_me: failed program was:" >&5
4098 sed 's/^/| /' conftest.
$ac_ext >&5
4100 ac_cv_lib_dnet_dnet_ntoa
=no
4102 rm -f conftest.err conftest.
$ac_objext \
4103 conftest
$ac_exeext conftest.
$ac_ext
4104 LIBS
=$ac_check_lib_save_LIBS
4106 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4107 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
4108 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4109 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
4112 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
4113 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4114 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
4115 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 ac_check_lib_save_LIBS
=$LIBS
4119 LIBS
="-ldnet_stub $LIBS"
4120 cat >conftest.
$ac_ext <<_ACEOF
4123 cat confdefs.h
>>conftest.
$ac_ext
4124 cat >>conftest.
$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4127 /* Override any gcc2 internal prototype to avoid an error. */
4131 /* We use char because int might match the return type of a gcc2
4132 builtin and then its argument prototype would still apply. */
4142 rm -f conftest.
$ac_objext conftest
$ac_exeext
4143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4144 (eval $ac_link) 2>conftest.er1
4146 grep -v '^ *+' conftest.er1
>conftest.err
4148 cat conftest.err
>&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); } &&
4151 { ac_try
='test -z "$ac_c_werror_flag"
4152 || test ! -s conftest.err'
4153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); }; } &&
4158 { ac_try
='test -s conftest$ac_exeext'
4159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); }; }; then
4164 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4166 echo "$as_me: failed program was:" >&5
4167 sed 's/^/| /' conftest.
$ac_ext >&5
4169 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4171 rm -f conftest.err conftest.
$ac_objext \
4172 conftest
$ac_exeext conftest.
$ac_ext
4173 LIBS
=$ac_check_lib_save_LIBS
4175 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4176 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
4177 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4178 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4183 rm -f conftest.err conftest.
$ac_objext \
4184 conftest
$ac_exeext conftest.
$ac_ext
4185 LIBS
="$ac_xsave_LIBS"
4187 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4188 # to get the SysV transport functions.
4189 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4191 # The nsl library prevents programs from opening the X display
4192 # on Irix 5.2, according to T.E. Dickey.
4193 # The functions gethostbyname, getservbyname, and inet_addr are
4194 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4195 echo "$as_me:$LINENO: checking for gethostbyname" >&5
4196 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
4197 if test "${ac_cv_func_gethostbyname+set}" = set; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 cat >conftest.
$ac_ext <<_ACEOF
4203 cat confdefs.h
>>conftest.
$ac_ext
4204 cat >>conftest.
$ac_ext <<_ACEOF
4205 /* end confdefs.h. */
4206 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4208 #define gethostbyname innocuous_gethostbyname
4210 /* System header to define __stub macros and hopefully few prototypes,
4211 which can conflict with char gethostbyname (); below.
4212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4213 <limits.h> exists even on freestanding compilers. */
4216 # include <limits.h>
4218 # include <assert.h>
4221 #undef gethostbyname
4223 /* Override any gcc2 internal prototype to avoid an error. */
4228 /* We use char because int might match the return type of a gcc2
4229 builtin and then its argument prototype would still apply. */
4230 char gethostbyname ();
4231 /* The GNU C library defines this for functions which it implements
4232 to always fail with ENOSYS. Some functions are actually named
4233 something starting with __ and the normal name is an alias. */
4234 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
4237 char (*f) () = gethostbyname;
4246 return f != gethostbyname;
4251 rm -f conftest.
$ac_objext conftest
$ac_exeext
4252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4253 (eval $ac_link) 2>conftest.er1
4255 grep -v '^ *+' conftest.er1
>conftest.err
4257 cat conftest.err
>&5
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 (exit $ac_status); } &&
4260 { ac_try
='test -z "$ac_c_werror_flag"
4261 || test ! -s conftest.err'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; } &&
4267 { ac_try
='test -s conftest$ac_exeext'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; }; then
4273 ac_cv_func_gethostbyname
=yes
4275 echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.
$ac_ext >&5
4278 ac_cv_func_gethostbyname
=no
4280 rm -f conftest.err conftest.
$ac_objext \
4281 conftest
$ac_exeext conftest.
$ac_ext
4283 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4284 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
4286 if test $ac_cv_func_gethostbyname = no
; then
4287 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4288 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4289 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4290 echo $ECHO_N "(cached) $ECHO_C" >&6
4292 ac_check_lib_save_LIBS
=$LIBS
4294 cat >conftest.
$ac_ext <<_ACEOF
4297 cat confdefs.h
>>conftest.
$ac_ext
4298 cat >>conftest.
$ac_ext <<_ACEOF
4299 /* end confdefs.h. */
4301 /* Override any gcc2 internal prototype to avoid an error. */
4305 /* We use char because int might match the return type of a gcc2
4306 builtin and then its argument prototype would still apply. */
4307 char gethostbyname ();
4316 rm -f conftest.
$ac_objext conftest
$ac_exeext
4317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4318 (eval $ac_link) 2>conftest.er1
4320 grep -v '^ *+' conftest.er1
>conftest.err
4322 cat conftest.err
>&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); } &&
4325 { ac_try
='test -z "$ac_c_werror_flag"
4326 || test ! -s conftest.err'
4327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }; } &&
4332 { ac_try
='test -s conftest$ac_exeext'
4333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); }; }; then
4338 ac_cv_lib_nsl_gethostbyname
=yes
4340 echo "$as_me: failed program was:" >&5
4341 sed 's/^/| /' conftest.
$ac_ext >&5
4343 ac_cv_lib_nsl_gethostbyname
=no
4345 rm -f conftest.err conftest.
$ac_objext \
4346 conftest
$ac_exeext conftest.
$ac_ext
4347 LIBS
=$ac_check_lib_save_LIBS
4349 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4350 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4351 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4352 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4355 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4356 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4357 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
4358 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4359 echo $ECHO_N "(cached) $ECHO_C" >&6
4361 ac_check_lib_save_LIBS
=$LIBS
4363 cat >conftest.
$ac_ext <<_ACEOF
4366 cat confdefs.h
>>conftest.
$ac_ext
4367 cat >>conftest.
$ac_ext <<_ACEOF
4368 /* end confdefs.h. */
4370 /* Override any gcc2 internal prototype to avoid an error. */
4374 /* We use char because int might match the return type of a gcc2
4375 builtin and then its argument prototype would still apply. */
4376 char gethostbyname ();
4385 rm -f conftest.
$ac_objext conftest
$ac_exeext
4386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4387 (eval $ac_link) 2>conftest.er1
4389 grep -v '^ *+' conftest.er1
>conftest.err
4391 cat conftest.err
>&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); } &&
4394 { ac_try
='test -z "$ac_c_werror_flag"
4395 || test ! -s conftest.err'
4396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; } &&
4401 { ac_try
='test -s conftest$ac_exeext'
4402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); }; }; then
4407 ac_cv_lib_bsd_gethostbyname
=yes
4409 echo "$as_me: failed program was:" >&5
4410 sed 's/^/| /' conftest.
$ac_ext >&5
4412 ac_cv_lib_bsd_gethostbyname
=no
4414 rm -f conftest.err conftest.
$ac_objext \
4415 conftest
$ac_exeext conftest.
$ac_ext
4416 LIBS
=$ac_check_lib_save_LIBS
4418 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4419 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
4420 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4421 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
4427 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4428 # socket/setsockopt and other routines are undefined under SCO ODT
4429 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4430 # on later versions), says Simon Leinen: it contains gethostby*
4431 # variants that don't use the name server (or something). -lsocket
4432 # must be given before -lnsl if both are needed. We assume that
4433 # if connect needs -lnsl, so does gethostbyname.
4434 echo "$as_me:$LINENO: checking for connect" >&5
4435 echo $ECHO_N "checking for connect... $ECHO_C" >&6
4436 if test "${ac_cv_func_connect+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4439 cat >conftest.
$ac_ext <<_ACEOF
4442 cat confdefs.h
>>conftest.
$ac_ext
4443 cat >>conftest.
$ac_ext <<_ACEOF
4444 /* end confdefs.h. */
4445 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4447 #define connect innocuous_connect
4449 /* System header to define __stub macros and hopefully few prototypes,
4450 which can conflict with char connect (); below.
4451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4452 <limits.h> exists even on freestanding compilers. */
4455 # include <limits.h>
4457 # include <assert.h>
4462 /* Override any gcc2 internal prototype to avoid an error. */
4467 /* We use char because int might match the return type of a gcc2
4468 builtin and then its argument prototype would still apply. */
4470 /* The GNU C library defines this for functions which it implements
4471 to always fail with ENOSYS. Some functions are actually named
4472 something starting with __ and the normal name is an alias. */
4473 #if defined (__stub_connect) || defined (__stub___connect)
4476 char (*f) () = connect;
4485 return f != connect;
4490 rm -f conftest.
$ac_objext conftest
$ac_exeext
4491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4492 (eval $ac_link) 2>conftest.er1
4494 grep -v '^ *+' conftest.er1
>conftest.err
4496 cat conftest.err
>&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); } &&
4499 { ac_try
='test -z "$ac_c_werror_flag"
4500 || test ! -s conftest.err'
4501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; } &&
4506 { ac_try
='test -s conftest$ac_exeext'
4507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); }; }; then
4512 ac_cv_func_connect
=yes
4514 echo "$as_me: failed program was:" >&5
4515 sed 's/^/| /' conftest.
$ac_ext >&5
4517 ac_cv_func_connect
=no
4519 rm -f conftest.err conftest.
$ac_objext \
4520 conftest
$ac_exeext conftest.
$ac_ext
4522 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4523 echo "${ECHO_T}$ac_cv_func_connect" >&6
4525 if test $ac_cv_func_connect = no
; then
4526 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4527 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4528 if test "${ac_cv_lib_socket_connect+set}" = set; then
4529 echo $ECHO_N "(cached) $ECHO_C" >&6
4531 ac_check_lib_save_LIBS
=$LIBS
4532 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4533 cat >conftest.
$ac_ext <<_ACEOF
4536 cat confdefs.h
>>conftest.
$ac_ext
4537 cat >>conftest.
$ac_ext <<_ACEOF
4538 /* end confdefs.h. */
4540 /* Override any gcc2 internal prototype to avoid an error. */
4544 /* We use char because int might match the return type of a gcc2
4545 builtin and then its argument prototype would still apply. */
4555 rm -f conftest.
$ac_objext conftest
$ac_exeext
4556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4557 (eval $ac_link) 2>conftest.er1
4559 grep -v '^ *+' conftest.er1
>conftest.err
4561 cat conftest.err
>&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); } &&
4564 { ac_try
='test -z "$ac_c_werror_flag"
4565 || test ! -s conftest.err'
4566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); }; } &&
4571 { ac_try
='test -s conftest$ac_exeext'
4572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); }; }; then
4577 ac_cv_lib_socket_connect
=yes
4579 echo "$as_me: failed program was:" >&5
4580 sed 's/^/| /' conftest.
$ac_ext >&5
4582 ac_cv_lib_socket_connect
=no
4584 rm -f conftest.err conftest.
$ac_objext \
4585 conftest
$ac_exeext conftest.
$ac_ext
4586 LIBS
=$ac_check_lib_save_LIBS
4588 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4589 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4590 if test $ac_cv_lib_socket_connect = yes; then
4591 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4596 # Guillermo Gomez says -lposix is necessary on A/UX.
4597 echo "$as_me:$LINENO: checking for remove" >&5
4598 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4599 if test "${ac_cv_func_remove+set}" = set; then
4600 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 cat >conftest.
$ac_ext <<_ACEOF
4605 cat confdefs.h
>>conftest.
$ac_ext
4606 cat >>conftest.
$ac_ext <<_ACEOF
4607 /* end confdefs.h. */
4608 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4610 #define remove innocuous_remove
4612 /* System header to define __stub macros and hopefully few prototypes,
4613 which can conflict with char remove (); below.
4614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4615 <limits.h> exists even on freestanding compilers. */
4618 # include <limits.h>
4620 # include <assert.h>
4625 /* Override any gcc2 internal prototype to avoid an error. */
4630 /* We use char because int might match the return type of a gcc2
4631 builtin and then its argument prototype would still apply. */
4633 /* The GNU C library defines this for functions which it implements
4634 to always fail with ENOSYS. Some functions are actually named
4635 something starting with __ and the normal name is an alias. */
4636 #if defined (__stub_remove) || defined (__stub___remove)
4639 char (*f) () = remove;
4653 rm -f conftest.
$ac_objext conftest
$ac_exeext
4654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4655 (eval $ac_link) 2>conftest.er1
4657 grep -v '^ *+' conftest.er1
>conftest.err
4659 cat conftest.err
>&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } &&
4662 { ac_try
='test -z "$ac_c_werror_flag"
4663 || test ! -s conftest.err'
4664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; } &&
4669 { ac_try
='test -s conftest$ac_exeext'
4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; }; then
4675 ac_cv_func_remove
=yes
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.
$ac_ext >&5
4680 ac_cv_func_remove
=no
4682 rm -f conftest.err conftest.
$ac_objext \
4683 conftest
$ac_exeext conftest.
$ac_ext
4685 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4686 echo "${ECHO_T}$ac_cv_func_remove" >&6
4688 if test $ac_cv_func_remove = no
; then
4689 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4690 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4691 if test "${ac_cv_lib_posix_remove+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 ac_check_lib_save_LIBS
=$LIBS
4695 LIBS
="-lposix $LIBS"
4696 cat >conftest.
$ac_ext <<_ACEOF
4699 cat confdefs.h
>>conftest.
$ac_ext
4700 cat >>conftest.
$ac_ext <<_ACEOF
4701 /* end confdefs.h. */
4703 /* Override any gcc2 internal prototype to avoid an error. */
4707 /* We use char because int might match the return type of a gcc2
4708 builtin and then its argument prototype would still apply. */
4718 rm -f conftest.
$ac_objext conftest
$ac_exeext
4719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4720 (eval $ac_link) 2>conftest.er1
4722 grep -v '^ *+' conftest.er1
>conftest.err
4724 cat conftest.err
>&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); } &&
4727 { ac_try
='test -z "$ac_c_werror_flag"
4728 || test ! -s conftest.err'
4729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); }; } &&
4734 { ac_try
='test -s conftest$ac_exeext'
4735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); }; }; then
4740 ac_cv_lib_posix_remove
=yes
4742 echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.
$ac_ext >&5
4745 ac_cv_lib_posix_remove
=no
4747 rm -f conftest.err conftest.
$ac_objext \
4748 conftest
$ac_exeext conftest.
$ac_ext
4749 LIBS
=$ac_check_lib_save_LIBS
4751 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4752 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4753 if test $ac_cv_lib_posix_remove = yes; then
4754 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4759 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4760 echo "$as_me:$LINENO: checking for shmat" >&5
4761 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4762 if test "${ac_cv_func_shmat+set}" = set; then
4763 echo $ECHO_N "(cached) $ECHO_C" >&6
4765 cat >conftest.
$ac_ext <<_ACEOF
4768 cat confdefs.h
>>conftest.
$ac_ext
4769 cat >>conftest.
$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4771 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4773 #define shmat innocuous_shmat
4775 /* System header to define __stub macros and hopefully few prototypes,
4776 which can conflict with char shmat (); below.
4777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778 <limits.h> exists even on freestanding compilers. */
4781 # include <limits.h>
4783 # include <assert.h>
4788 /* Override any gcc2 internal prototype to avoid an error. */
4793 /* We use char because int might match the return type of a gcc2
4794 builtin and then its argument prototype would still apply. */
4796 /* The GNU C library defines this for functions which it implements
4797 to always fail with ENOSYS. Some functions are actually named
4798 something starting with __ and the normal name is an alias. */
4799 #if defined (__stub_shmat) || defined (__stub___shmat)
4802 char (*f) () = shmat;
4816 rm -f conftest.
$ac_objext conftest
$ac_exeext
4817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4818 (eval $ac_link) 2>conftest.er1
4820 grep -v '^ *+' conftest.er1
>conftest.err
4822 cat conftest.err
>&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); } &&
4825 { ac_try
='test -z "$ac_c_werror_flag"
4826 || test ! -s conftest.err'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; } &&
4832 { ac_try
='test -s conftest$ac_exeext'
4833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); }; }; then
4838 ac_cv_func_shmat
=yes
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.
$ac_ext >&5
4845 rm -f conftest.err conftest.
$ac_objext \
4846 conftest
$ac_exeext conftest.
$ac_ext
4848 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4849 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4851 if test $ac_cv_func_shmat = no
; then
4852 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4853 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4854 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4855 echo $ECHO_N "(cached) $ECHO_C" >&6
4857 ac_check_lib_save_LIBS
=$LIBS
4859 cat >conftest.
$ac_ext <<_ACEOF
4862 cat confdefs.h
>>conftest.
$ac_ext
4863 cat >>conftest.
$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4866 /* Override any gcc2 internal prototype to avoid an error. */
4870 /* We use char because int might match the return type of a gcc2
4871 builtin and then its argument prototype would still apply. */
4881 rm -f conftest.
$ac_objext conftest
$ac_exeext
4882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4883 (eval $ac_link) 2>conftest.er1
4885 grep -v '^ *+' conftest.er1
>conftest.err
4887 cat conftest.err
>&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } &&
4890 { ac_try
='test -z "$ac_c_werror_flag"
4891 || test ! -s conftest.err'
4892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); }; } &&
4897 { ac_try
='test -s conftest$ac_exeext'
4898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); }; }; then
4903 ac_cv_lib_ipc_shmat
=yes
4905 echo "$as_me: failed program was:" >&5
4906 sed 's/^/| /' conftest.
$ac_ext >&5
4908 ac_cv_lib_ipc_shmat
=no
4910 rm -f conftest.err conftest.
$ac_objext \
4911 conftest
$ac_exeext conftest.
$ac_ext
4912 LIBS
=$ac_check_lib_save_LIBS
4914 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4915 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4916 if test $ac_cv_lib_ipc_shmat = yes; then
4917 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4923 # Check for libraries that X11R6 Xt/Xaw programs need.
4924 ac_save_LDFLAGS
=$LDFLAGS
4925 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4926 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4927 # check for ICE first), but we must link in the order -lSM -lICE or
4928 # we get undefined symbols. So assume we have SM if we have ICE.
4929 # These have to be linked with before -lX11, unlike the other
4930 # libraries we check for below, so use a different variable.
4931 # John Interrante, Karl Berry
4932 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4933 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4934 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4937 ac_check_lib_save_LIBS
=$LIBS
4938 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4939 cat >conftest.
$ac_ext <<_ACEOF
4942 cat confdefs.h
>>conftest.
$ac_ext
4943 cat >>conftest.
$ac_ext <<_ACEOF
4944 /* end confdefs.h. */
4946 /* Override any gcc2 internal prototype to avoid an error. */
4950 /* We use char because int might match the return type of a gcc2
4951 builtin and then its argument prototype would still apply. */
4952 char IceConnectionNumber ();
4956 IceConnectionNumber ();
4961 rm -f conftest.
$ac_objext conftest
$ac_exeext
4962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4963 (eval $ac_link) 2>conftest.er1
4965 grep -v '^ *+' conftest.er1
>conftest.err
4967 cat conftest.err
>&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } &&
4970 { ac_try
='test -z "$ac_c_werror_flag"
4971 || test ! -s conftest.err'
4972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); }; } &&
4977 { ac_try
='test -s conftest$ac_exeext'
4978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982 (exit $ac_status); }; }; then
4983 ac_cv_lib_ICE_IceConnectionNumber
=yes
4985 echo "$as_me: failed program was:" >&5
4986 sed 's/^/| /' conftest.
$ac_ext >&5
4988 ac_cv_lib_ICE_IceConnectionNumber
=no
4990 rm -f conftest.err conftest.
$ac_objext \
4991 conftest
$ac_exeext conftest.
$ac_ext
4992 LIBS
=$ac_check_lib_save_LIBS
4994 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4995 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4996 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4997 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5000 LDFLAGS
=$ac_save_LDFLAGS
5006 if test -z "$groff_no_x"; then
5010 CFLAGS
="$CFLAGS $X_CFLAGS"
5011 LDFLAGS
="$LDFLAGS $X_LIBS"
5012 LIBS
="$LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
5015 echo "$as_me:$LINENO: checking for Xaw library and header files" >&5
5016 echo $ECHO_N "checking for Xaw library and header files... $ECHO_C" >&6
5017 cat >conftest.
$ac_ext <<_ACEOF
5021 cat confdefs.h
>>conftest.
$ac_ext
5022 cat >>conftest.
$ac_ext <<_ACEOF
5023 /* end confdefs.h. */
5026 #include <X11/Intrinsic.h>
5027 #include <X11/Xaw/Simple.h>
5039 rm -f conftest.
$ac_objext conftest
$ac_exeext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5041 (eval $ac_link) 2>conftest.er1
5043 grep -v '^ *+' conftest.er1
>conftest.err
5045 cat conftest.err
>&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); } &&
5048 { ac_try
='test -z "$ac_c_werror_flag"
5049 || test ! -s conftest.err'
5050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); }; } &&
5055 { ac_try
='test -s conftest$ac_exeext'
5056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); }; }; then
5061 echo "$as_me:$LINENO: result: yes" >&5
5062 echo "${ECHO_T}yes" >&6
5064 echo "$as_me: failed program was:" >&5
5065 sed 's/^/| /' conftest.
$ac_ext >&5
5067 echo "$as_me:$LINENO: result: no" >&5
5068 echo "${ECHO_T}no" >&6
5071 rm -f conftest.err conftest.
$ac_objext \
5072 conftest
$ac_exeext conftest.
$ac_ext
5075 echo "$as_me:$LINENO: checking for Xmu library and header files" >&5
5076 echo $ECHO_N "checking for Xmu library and header files... $ECHO_C" >&6
5077 cat >conftest.
$ac_ext <<_ACEOF
5081 cat confdefs.h
>>conftest.
$ac_ext
5082 cat >>conftest.
$ac_ext <<_ACEOF
5083 /* end confdefs.h. */
5086 #include <X11/Intrinsic.h>
5087 #include <X11/Xmu/Converters.h>
5099 rm -f conftest.
$ac_objext conftest
$ac_exeext
5100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5101 (eval $ac_link) 2>conftest.er1
5103 grep -v '^ *+' conftest.er1
>conftest.err
5105 cat conftest.err
>&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); } &&
5108 { ac_try
='test -z "$ac_c_werror_flag"
5109 || test ! -s conftest.err'
5110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; } &&
5115 { ac_try
='test -s conftest$ac_exeext'
5116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); }; }; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6
5124 echo "$as_me: failed program was:" >&5
5125 sed 's/^/| /' conftest.
$ac_ext >&5
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5131 rm -f conftest.err conftest.
$ac_objext \
5132 conftest
$ac_exeext conftest.
$ac_ext
5139 if test "x$groff_no_x" = "xyes"; then
5140 { echo "$as_me:$LINENO: gxditview and xtotroff won't be built" >&5
5141 echo "$as_me: gxditview and xtotroff won't be built" >&6;}
5143 XDEVDIRS
="font/devX75 font/devX75-12 font/devX100 font/devX100-12"
5144 XPROGDIRS
="src/devices/xditview src/utils/xtotroff"
5145 XLIBDIRS
="src/libs/libxutil"
5152 # Check whether --with-appresdir or --without-appresdir was given.
5153 if test "${with_appresdir+set}" = set; then
5154 withval
="$with_appresdir"
5157 if test -z "$groff_no_x"; then
5158 # Create an Imakefile, run `xmkmf', then `make'.
5159 rm -f -r conftest.dir
5160 if mkdir conftest.dir
; then
5162 # Make sure to not put `make' in the Imakefile rules,
5163 # since we grep it out.
5164 cat >Imakefile
<<'EOF'
5167 @echo 'groff_x_usrlibdir="${USRLIBDIR}"; groff_x_libdir="${LIBDIR}"'
5170 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
5171 # GNU make sometimes prints "make[1]: Entering...",
5172 # which would confuse us.
5173 eval `${MAKE-make} xlibdirs 2>/dev/null | grep -v make`
5175 # Open Windows `xmkmf' reportedly sets LIBDIR instead of USRLIBDIR.
5176 for groff_extension
in a so sl
; do
5177 if test ! -f $groff_x_usrlibdir/libX11.
$groff_extension &&
5178 test -f $groff_x_libdir/libX11.
$groff_extension; then
5179 groff_x_usrlibdir
=$groff_x_libdir
5186 rm -f -r conftest.dir
5189 # In case the test with `xmkmf' wasn't successful, try a suite of
5190 # standard directories. Check `X11' before `X11Rn' because it is often
5191 # a symlink to the current release.
5204 /usr/local/X11R6/lib
5205 /usr/local/X11R5/lib
5206 /usr/local/X11R4/lib
5209 /usr/local/lib/X11R6
5210 /usr/local/lib/X11R5
5211 /usr/local/lib/X11R4
5215 /usr/XFree86/lib/X11
5219 /usr/unsupported/lib
5221 /usr/local/x11r5/lib
5222 /usr/lpp/Xamples/lib
5225 /usr/openwin/share/lib'
5227 if test -z "$groff_x_usrlibdir"; then
5228 # We only test whether libX11 exists.
5229 for groff_dir
in $groff_x_libdirs; do
5230 for groff_extension
in a so sl
; do
5231 if test ! -r $groff_dir/libX11.
$groff_extension; then
5232 groff_x_usrlibdir
=$groff_dir
5239 if test "x$with_appresdir" = "x"; then
5240 appresdir
=$groff_x_usrlibdir/X11
/app-defaults
5242 appresdir
=$with_appresdir
5246 if test -z "$PSPRINT"; then
5249 # Extract the first word of "$ac_prog", so it can be a program name with args.
5250 set dummy
$ac_prog; ac_word
=$2
5251 echo "$as_me:$LINENO: checking for $ac_word" >&5
5252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5253 if test "${ac_cv_prog_LPR+set}" = set; then
5254 echo $ECHO_N "(cached) $ECHO_C" >&6
5256 if test -n "$LPR"; then
5257 ac_cv_prog_LPR
="$LPR" # Let the user override the test.
5259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir
=.
5264 for ac_exec_ext
in '' $ac_executable_extensions; do
5265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5266 ac_cv_prog_LPR
="$ac_prog"
5267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 if test -n "$LPR"; then
5277 echo "$as_me:$LINENO: result: $LPR" >&5
5278 echo "${ECHO_T}$LPR" >&6
5280 echo "$as_me:$LINENO: result: no" >&5
5281 echo "${ECHO_T}no" >&6
5284 test -n "$LPR" && break
5289 # Extract the first word of "$ac_prog", so it can be a program name with args.
5290 set dummy
$ac_prog; ac_word
=$2
5291 echo "$as_me:$LINENO: checking for $ac_word" >&5
5292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5293 if test "${ac_cv_prog_LP+set}" = set; then
5294 echo $ECHO_N "(cached) $ECHO_C" >&6
5296 if test -n "$LP"; then
5297 ac_cv_prog_LP
="$LP" # Let the user override the test.
5299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5303 test -z "$as_dir" && as_dir
=.
5304 for ac_exec_ext
in '' $ac_executable_extensions; do
5305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5306 ac_cv_prog_LP
="$ac_prog"
5307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 if test -n "$LP"; then
5317 echo "$as_me:$LINENO: result: $LP" >&5
5318 echo "${ECHO_T}$LP" >&6
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5324 test -n "$LP" && break
5327 if test -n "$LPR" && test -n "$LP"; then
5328 # HP-UX provides an lpr command that emulates lpr using lp,
5329 # but it doesn't have lpq; in this case we want to use lp
5333 # Extract the first word of "$ac_prog", so it can be a program name with args.
5334 set dummy
$ac_prog; ac_word
=$2
5335 echo "$as_me:$LINENO: checking for $ac_word" >&5
5336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5337 if test "${ac_cv_prog_LPQ+set}" = set; then
5338 echo $ECHO_N "(cached) $ECHO_C" >&6
5340 if test -n "$LPQ"; then
5341 ac_cv_prog_LPQ
="$LPQ" # Let the user override the test.
5343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir
=.
5348 for ac_exec_ext
in '' $ac_executable_extensions; do
5349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5350 ac_cv_prog_LPQ
="$ac_prog"
5351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 if test -n "$LPQ"; then
5361 echo "$as_me:$LINENO: result: $LPQ" >&5
5362 echo "${ECHO_T}$LPQ" >&6
5364 echo "$as_me:$LINENO: result: no" >&5
5365 echo "${ECHO_T}no" >&6
5368 test -n "$LPQ" && break
5371 test -n "$LPQ" || LPR
=
5373 if test -n "$LPR"; then
5375 elif test -n "$LP"; then
5380 echo "$as_me:$LINENO: checking for command to use for printing PostScript files" >&5
5381 echo $ECHO_N "checking for command to use for printing PostScript files... $ECHO_C" >&6
5382 echo "$as_me:$LINENO: result: $PSPRINT" >&5
5383 echo "${ECHO_T}$PSPRINT" >&6
5385 # Figure out DVIPRINT from PSPRINT.
5386 echo "$as_me:$LINENO: checking for command to use for printing dvi files" >&5
5387 echo $ECHO_N "checking for command to use for printing dvi files... $ECHO_C" >&6
5388 if test -n "$PSPRINT" && test -z "$DVIPRINT"; then
5389 if test "x$PSPRINT" = "xlpr"; then
5396 echo "$as_me:$LINENO: result: $DVIPRINT" >&5
5397 echo "${ECHO_T}$DVIPRINT" >&6
5398 # Extract the first word of "perl", so it can be a program name with args.
5399 set dummy perl
; ac_word
=$2
5400 echo "$as_me:$LINENO: checking for $ac_word" >&5
5401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5402 if test "${ac_cv_path_PERLPATH+set}" = set; then
5403 echo $ECHO_N "(cached) $ECHO_C" >&6
5407 ac_cv_path_PERLPATH
="$PERLPATH" # Let the user override the test with a path.
5410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5414 test -z "$as_dir" && as_dir
=.
5415 for ac_exec_ext
in '' $ac_executable_extensions; do
5416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_path_PERLPATH
="$as_dir/$ac_word$ac_exec_ext"
5418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 test -z "$ac_cv_path_PERLPATH" && ac_cv_path_PERLPATH
="/usr/bin/perl"
5428 PERLPATH
=$ac_cv_path_PERLPATH
5430 if test -n "$PERLPATH"; then
5431 echo "$as_me:$LINENO: result: $PERLPATH" >&5
5432 echo "${ECHO_T}$PERLPATH" >&6
5434 echo "$as_me:$LINENO: result: no" >&5
5435 echo "${ECHO_T}no" >&6
5438 for ac_prog
in byacc
'bison -y'
5440 # Extract the first word of "$ac_prog", so it can be a program name with args.
5441 set dummy
$ac_prog; ac_word
=$2
5442 echo "$as_me:$LINENO: checking for $ac_word" >&5
5443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5444 if test "${ac_cv_prog_YACC+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5447 if test -n "$YACC"; then
5448 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5454 test -z "$as_dir" && as_dir
=.
5455 for ac_exec_ext
in '' $ac_executable_extensions; do
5456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5457 ac_cv_prog_YACC
="$ac_prog"
5458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 YACC
=$ac_cv_prog_YACC
5467 if test -n "$YACC"; then
5468 echo "$as_me:$LINENO: result: $YACC" >&5
5469 echo "${ECHO_T}$YACC" >&6
5471 echo "$as_me:$LINENO: result: no" >&5
5472 echo "${ECHO_T}no" >&6
5475 test -n "$YACC" && break
5477 test -n "$YACC" || YACC
="yacc"
5480 # Extract the first word of "makeinfo", so it can be a program name with args.
5481 set dummy makeinfo
; ac_word
=$2
5482 echo "$as_me:$LINENO: checking for $ac_word" >&5
5483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5484 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5487 if test -n "$MAKEINFO"; then
5488 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5494 test -z "$as_dir" && as_dir
=.
5495 for ac_exec_ext
in '' $ac_executable_extensions; do
5496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5497 ac_cv_prog_MAKEINFO
="makeinfo"
5498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 MAKEINFO
=$ac_cv_prog_MAKEINFO
5507 if test -n "$MAKEINFO"; then
5508 echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5509 echo "${ECHO_T}$MAKEINFO" >&6
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5515 if test -z "$MAKEINFO"; then
5516 missing
="\`makeinfo' is missing."
5518 echo "$as_me:$LINENO: checking for makeinfo version" >&5
5519 echo $ECHO_N "checking for makeinfo version... $ECHO_C" >&6
5520 # We need an additional level of quoting to make sed's regexps work.
5521 makeinfo_version
=`$MAKEINFO --version 2>&1 \
5522 | sed -e 's/^.* \([^ ][^ ]*\)$/\1/' -e '1q'`
5523 echo "$as_me:$LINENO: result: $makeinfo_version" >&5
5524 echo "${ECHO_T}$makeinfo_version" >&6
5525 # Consider only the first two numbers in version number string.
5526 makeinfo_version_major
=`echo $makeinfo_version \
5527 | sed 's/^\([0-9]*\).*$/\1/'`
5528 if test -z "$makeinfo_version_major"; then
5529 makeinfo_version_major
=0
5530 makeinfo_version_minor
=0
5532 makeinfo_version_minor
=`echo $makeinfo_version \
5533 | sed 's/^[^.][^.]*\(.*\)$/\1/'`
5534 # No minor version number at all?
5535 if test -z "$makeinfo_version_minor"; then
5536 makeinfo_version_minor
=0
5538 makeinfo_version_minor
=`echo $makeinfo_version_minor \
5539 | sed 's/\.\([0-9]*\).*$/\1/'`
5540 if test -z "$makeinfo_version_minor"; then
5541 makeinfo_version_minor
=0
5546 makeinfo_version_numeric
=`expr $makeinfo_version_major '*' 1000 \
5547 '+' $makeinfo_version_minor`
5548 if test $makeinfo_version_numeric -lt 4008; then
5549 missing
="\`makeinfo' is too old."
5552 if test -n "$missing"; then
5553 if test ! -f doc
/groff.info \
5554 ||
test ${srcdir}/doc
/groff.texinfo
-nt doc
/groff.info
; then
5555 { { echo "$as_me:$LINENO: error: $missing
5556 Get the \`texinfo' package version 4.8 or newer." >&5
5557 echo "$as_me: error: $missing
5558 Get the \`texinfo' package version 4.8 or newer." >&2;}
5559 { (exit 1); exit 1; }; }
5561 { echo "$as_me:$LINENO: WARNING: $missing
5562 Get the \`texinfo' package version 4.8 or newer if you want to convert
5563 \`groff.texinfo' into a PDF or HTML document." >&5
5564 echo "$as_me: WARNING: $missing
5565 Get the \`texinfo' package version 4.8 or newer if you want to convert
5566 \`groff.texinfo' into a PDF or HTML document." >&2;}
5570 if test -n "$ac_tool_prefix"; then
5571 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5572 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5573 echo "$as_me:$LINENO: checking for $ac_word" >&5
5574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5575 if test "${ac_cv_prog_RANLIB+set}" = set; then
5576 echo $ECHO_N "(cached) $ECHO_C" >&6
5578 if test -n "$RANLIB"; then
5579 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5585 test -z "$as_dir" && as_dir
=.
5586 for ac_exec_ext
in '' $ac_executable_extensions; do
5587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5597 RANLIB
=$ac_cv_prog_RANLIB
5598 if test -n "$RANLIB"; then
5599 echo "$as_me:$LINENO: result: $RANLIB" >&5
5600 echo "${ECHO_T}$RANLIB" >&6
5602 echo "$as_me:$LINENO: result: no" >&5
5603 echo "${ECHO_T}no" >&6
5607 if test -z "$ac_cv_prog_RANLIB"; then
5608 ac_ct_RANLIB
=$RANLIB
5609 # Extract the first word of "ranlib", so it can be a program name with args.
5610 set dummy ranlib
; ac_word
=$2
5611 echo "$as_me:$LINENO: checking for $ac_word" >&5
5612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5613 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 if test -n "$ac_ct_RANLIB"; then
5617 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5623 test -z "$as_dir" && as_dir
=.
5624 for ac_exec_ext
in '' $ac_executable_extensions; do
5625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5626 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5636 if test -n "$ac_ct_RANLIB"; then
5637 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5638 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5640 echo "$as_me:$LINENO: result: no" >&5
5641 echo "${ECHO_T}no" >&6
5644 if test "x$ac_ct_RANLIB" = x
; then
5647 if test "$build" != "$host"; then
5648 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5649 whose name does not start with the host triplet. If you think this
5650 configuration is useful to you, please write to autoconf@gnu.org." >&5
5651 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5652 whose name does not start with the host triplet. If you think this
5653 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5655 RANLIB
=$ac_ct_RANLIB
5658 RANLIB
="$ac_cv_prog_RANLIB"
5662 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
5663 if test -f $ac_dir/install-sh
; then
5665 ac_install_sh
="$ac_aux_dir/install-sh -c"
5667 elif test -f $ac_dir/install.sh
; then
5669 ac_install_sh
="$ac_aux_dir/install.sh -c"
5671 elif test -f $ac_dir/shtool
; then
5673 ac_install_sh
="$ac_aux_dir/shtool install -c"
5677 if test -z "$ac_aux_dir"; then
5678 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
5679 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
5680 { (exit 1); exit 1; }; }
5682 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
5683 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
5684 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
5687 ac_dir
=`cd $ac_aux_dir; pwd`
5688 ac_install_sh
="$ac_dir/install-sh -c"
5689 for ac_prog
in install-info
5691 # Extract the first word of "$ac_prog", so it can be a program name with args.
5692 set dummy
$ac_prog; ac_word
=$2
5693 echo "$as_me:$LINENO: checking for $ac_word" >&5
5694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5695 if test "${ac_cv_prog_INSTALL_INFO+set}" = set; then
5696 echo $ECHO_N "(cached) $ECHO_C" >&6
5698 if test -n "$INSTALL_INFO"; then
5699 ac_cv_prog_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test.
5701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5705 test -z "$as_dir" && as_dir
=.
5706 for ac_exec_ext
in '' $ac_executable_extensions; do
5707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5708 ac_cv_prog_INSTALL_INFO
="$ac_prog"
5709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5717 INSTALL_INFO
=$ac_cv_prog_INSTALL_INFO
5718 if test -n "$INSTALL_INFO"; then
5719 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5720 echo "${ECHO_T}$INSTALL_INFO" >&6
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5726 test -n "$INSTALL_INFO" && break
5728 test -n "$INSTALL_INFO" || INSTALL_INFO
=":"
5730 # Find a good install program. We prefer a C program (faster),
5731 # so one script is as good as another. But avoid the broken or
5732 # incompatible versions:
5733 # SysV /etc/install, /usr/sbin/install
5734 # SunOS /usr/etc/install
5735 # IRIX /sbin/install
5737 # AmigaOS /C/install, which installs bootblocks on floppy discs
5738 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5739 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5740 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5741 # OS/2's system install, which has a completely different semantic
5742 # ./install, which can be erroneously created by make from ./install.sh.
5743 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5744 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5745 if test -z "$INSTALL"; then
5746 if test "${ac_cv_path_install+set}" = set; then
5747 echo $ECHO_N "(cached) $ECHO_C" >&6
5749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5753 test -z "$as_dir" && as_dir
=.
5754 # Account for people who put trailing slashes in PATH elements.
5756 .
/ | .
// |
/cC
/* | \
5757 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5758 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5761 # OSF1 and SCO ODT 3.0 have their own names for install.
5762 # Don't use installbsd from OSF since it installs stuff as root
5764 for ac_prog
in ginstall scoinst
install; do
5765 for ac_exec_ext
in '' $ac_executable_extensions; do
5766 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5767 if test $ac_prog = install &&
5768 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5769 # AIX install. It has an incompatible calling convention.
5771 elif test $ac_prog = install &&
5772 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5773 # program-specific install script used by HP pwplus--don't use.
5776 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5788 if test "${ac_cv_path_install+set}" = set; then
5789 INSTALL
=$ac_cv_path_install
5791 # As a last resort, use the slow shell script. Don't cache a
5792 # value for INSTALL within a source directory, because that will
5793 # break other packages using the cache if that directory is
5794 # removed, or if the value is a relative name.
5795 INSTALL
=$ac_install_sh
5798 echo "$as_me:$LINENO: result: $INSTALL" >&5
5799 echo "${ECHO_T}$INSTALL" >&6
5801 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5802 # It thinks the first close brace ends the variable substitution.
5803 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5805 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5807 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5809 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5810 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5812 if test "$LN_S" = "ln -s"; then
5813 echo "$as_me:$LINENO: result: yes" >&5
5814 echo "${ECHO_T}yes" >&6
5816 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5817 echo "${ECHO_T}no, using $LN_S" >&6
5821 # use a dummy substitution if no csh hack is necessary to avoid errors
5822 # with non-GNU sed programs
5823 echo "$as_me:$LINENO: checking for csh hash hack" >&5
5824 echo $ECHO_N "checking for csh hash hack... $ECHO_C" >&6
5826 cat <<EOF >conftest.sh
5829 export PATH || exit 0
5833 chmod +x conftest.sh
5834 if echo .
/conftest.sh |
(csh
>/dev
/null
2>&1) >/dev
/null
2>&1; then
5835 echo "$as_me:$LINENO: result: yes" >&5
5836 echo "${ECHO_T}yes" >&6
5837 SH_SCRIPT_SED_CMD
='1s/.*/:/'
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5841 SH_SCRIPT_SED_CMD
='1s/a/a/'
5846 # checks for headers
5847 echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5848 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6
5849 if test "${ac_cv_path_GREP+set}" = set; then
5850 echo $ECHO_N "(cached) $ECHO_C" >&6
5852 # Extract the first word of "grep ggrep" to use in msg output
5853 if test -z "$GREP"; then
5854 set dummy
grep ggrep
; ac_prog_name
=$2
5855 if test "${ac_cv_path_GREP+set}" = set; then
5856 echo $ECHO_N "(cached) $ECHO_C" >&6
5858 # Create a temporary directory, and hook for its removal unless debugging.
5861 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
5862 trap '{ (exit 1); exit 1; }' 1 2 13 15
5865 # Create a (secure) tmp directory for tmp files.
5868 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/GREPXXXXXX") 2>/dev/null` &&
5869 test -n "$tmp" && test -d "$tmp"
5872 tmp
=$TMPDIR/GREP$$
-$RANDOM
5873 (umask 077 && mkdir
$tmp)
5876 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5877 { (exit 1); exit 1; }
5879 ac_path_GREP_found
=false
5880 # Loop through the user's path and test for each of PROGNAME-LIST
5881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5882 as_dummy
="$PATH:/usr/xpg4/bin"
5883 for as_dir
in $as_dummy
5886 test -z "$as_dir" && as_dir
=.
5887 for ac_prog
in grep ggrep
; do
5888 for ac_exec_ext
in '' $ac_executable_extensions; do
5889 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5890 test -f "$ac_path_GREP" ||
continue
5891 $ac_path_GREP_found ||
if $as_executable_p "$ac_path_GREP"; then
5892 # Check for GNU ac_path_GREP and select it if it is found.
5893 # Check for GNU $ac_path_GREP
5894 if "$ac_path_GREP" --version 2>&1 < /dev
/null |
grep 'GNU' >/dev
/null
; then
5895 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:
5898 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
5901 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
5902 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
5903 cp "$tmp/conftest.in" "$tmp/conftest.nl"
5904 echo 'GREP' >> "$tmp/conftest.nl"
5905 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev
/null ||
break
5906 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev
/null
2>&1 ||
break
5907 ac_count
=`expr $ac_count + 1`
5908 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5909 # Best one so far, save it but keep looking for a better one
5910 ac_cv_path_GREP
="$ac_path_GREP"
5911 ac_path_GREP_max
=$ac_count
5913 # 10*(2^10) chars as input seems more than enough
5914 test $ac_count -gt 10 && break
5920 $ac_path_GREP_found && break 3
5930 GREP
="$ac_cv_path_GREP"
5931 if test -z "$GREP"; then
5932 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
5933 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
5934 { (exit 1); exit 1; }; }
5941 echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5942 echo "${ECHO_T}$ac_cv_path_GREP" >&6
5943 GREP
="$ac_cv_path_GREP"
5946 echo "$as_me:$LINENO: checking for egrep" >&5
5947 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5948 if test "${ac_cv_path_EGREP+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 if echo a |
($GREP -E '(a|b)') >/dev
/null
2>&1
5952 then ac_cv_path_EGREP
="$GREP -E"
5954 # Extract the first word of "egrep" to use in msg output
5955 if test -z "$EGREP"; then
5956 set dummy
egrep; ac_prog_name
=$2
5957 if test "${ac_cv_path_EGREP+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5960 # Create a temporary directory, and hook for its removal unless debugging.
5963 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
5964 trap '{ (exit 1); exit 1; }' 1 2 13 15
5967 # Create a (secure) tmp directory for tmp files.
5970 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/EGREPXXXXXX") 2>/dev/null` &&
5971 test -n "$tmp" && test -d "$tmp"
5974 tmp
=$TMPDIR/EGREP$$
-$RANDOM
5975 (umask 077 && mkdir
$tmp)
5978 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5979 { (exit 1); exit 1; }
5981 ac_path_EGREP_found
=false
5982 # Loop through the user's path and test for each of PROGNAME-LIST
5983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5984 as_dummy
="$PATH:/usr/xpg4/bin"
5985 for as_dir
in $as_dummy
5988 test -z "$as_dir" && as_dir
=.
5989 for ac_prog
in egrep; do
5990 for ac_exec_ext
in '' $ac_executable_extensions; do
5991 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5992 test -f "$ac_path_EGREP" ||
continue
5993 $ac_path_EGREP_found ||
if $as_executable_p "$ac_path_EGREP"; then
5994 # Check for GNU ac_path_EGREP and select it if it is found.
5995 # Check for GNU $ac_path_EGREP
5996 if "$ac_path_EGREP" --version 2>&1 < /dev
/null |
grep 'GNU' >/dev
/null
; then
5997 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:
6000 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
6003 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
6004 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
6005 cp "$tmp/conftest.in" "$tmp/conftest.nl"
6006 echo 'EGREP' >> "$tmp/conftest.nl"
6007 "$ac_path_EGREP" 'EGREP$' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev
/null ||
break
6008 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev
/null
2>&1 ||
break
6009 ac_count
=`expr $ac_count + 1`
6010 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6011 # Best one so far, save it but keep looking for a better one
6012 ac_cv_path_EGREP
="$ac_path_EGREP"
6013 ac_path_EGREP_max
=$ac_count
6015 # 10*(2^10) chars as input seems more than enough
6016 test $ac_count -gt 10 && break
6022 $ac_path_EGREP_found && break 3
6032 EGREP
="$ac_cv_path_EGREP"
6033 if test -z "$EGREP"; then
6034 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
6035 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
6036 { (exit 1); exit 1; }; }
6044 echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6045 echo "${ECHO_T}$ac_cv_path_EGREP" >&6
6046 EGREP
="$ac_cv_path_EGREP"
6049 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6050 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6051 if test "${ac_cv_header_stdc+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 cat >conftest.
$ac_ext <<_ACEOF
6057 cat confdefs.h
>>conftest.
$ac_ext
6058 cat >>conftest.
$ac_ext <<_ACEOF
6059 /* end confdefs.h. */
6073 rm -f conftest.
$ac_objext
6074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6075 (eval $ac_compile) 2>conftest.er1
6077 grep -v '^ *+' conftest.er1
>conftest.err
6079 cat conftest.err
>&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); } &&
6082 { ac_try
='test -z "$ac_c_werror_flag"
6083 || test ! -s conftest.err'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; } &&
6089 { ac_try
='test -s conftest.$ac_objext'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; }; then
6095 ac_cv_header_stdc
=yes
6097 echo "$as_me: failed program was:" >&5
6098 sed 's/^/| /' conftest.
$ac_ext >&5
6100 ac_cv_header_stdc
=no
6102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6104 if test $ac_cv_header_stdc = yes; then
6105 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6106 cat >conftest.
$ac_ext <<_ACEOF
6109 cat confdefs.h
>>conftest.
$ac_ext
6110 cat >>conftest.
$ac_ext <<_ACEOF
6111 /* end confdefs.h. */
6115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6116 $EGREP "memchr" >/dev
/null
2>&1; then
6119 ac_cv_header_stdc
=no
6125 if test $ac_cv_header_stdc = yes; then
6126 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6127 cat >conftest.
$ac_ext <<_ACEOF
6130 cat confdefs.h
>>conftest.
$ac_ext
6131 cat >>conftest.
$ac_ext <<_ACEOF
6132 /* end confdefs.h. */
6136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6137 $EGREP "free" >/dev
/null
2>&1; then
6140 ac_cv_header_stdc
=no
6146 if test $ac_cv_header_stdc = yes; then
6147 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6148 if test "$cross_compiling" = yes; then
6151 cat >conftest.
$ac_ext <<_ACEOF
6154 cat confdefs.h
>>conftest.
$ac_ext
6155 cat >>conftest.
$ac_ext <<_ACEOF
6156 /* end confdefs.h. */
6159 #if ((' ' & 0x0FF) == 0x020)
6160 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6161 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6163 # define ISLOWER(c) \
6164 (('a' <= (c) && (c) <= 'i') \
6165 || ('j' <= (c) && (c) <= 'r') \
6166 || ('s' <= (c) && (c) <= 'z'))
6167 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6170 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6175 for (i = 0; i < 256; i++)
6176 if (XOR (islower (i), ISLOWER (i))
6177 || toupper (i) != TOUPPER (i))
6182 rm -f conftest
$ac_exeext
6183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6184 (eval $ac_link) 2>&5
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; }; then
6195 echo "$as_me: program exited with status $ac_status" >&5
6196 echo "$as_me: failed program was:" >&5
6197 sed 's/^/| /' conftest.
$ac_ext >&5
6200 ac_cv_header_stdc
=no
6202 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6206 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6207 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6208 if test $ac_cv_header_stdc = yes; then
6210 cat >>confdefs.h
<<\_ACEOF
6211 #define STDC_HEADERS 1
6216 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6226 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6227 inttypes.h stdint.h unistd.h
6229 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6230 echo "$as_me:$LINENO: checking for $ac_header" >&5
6231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6233 echo $ECHO_N "(cached) $ECHO_C" >&6
6235 cat >conftest.
$ac_ext <<_ACEOF
6238 cat confdefs.h
>>conftest.
$ac_ext
6239 cat >>conftest.
$ac_ext <<_ACEOF
6240 /* end confdefs.h. */
6241 $ac_includes_default
6243 #include <$ac_header>
6245 rm -f conftest.
$ac_objext
6246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6247 (eval $ac_compile) 2>conftest.er1
6249 grep -v '^ *+' conftest.er1
>conftest.err
6251 cat conftest.err
>&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } &&
6254 { ac_try
='test -z "$ac_c_werror_flag"
6255 || test ! -s conftest.err'
6256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260 (exit $ac_status); }; } &&
6261 { ac_try
='test -s conftest.$ac_objext'
6262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); }; }; then
6267 eval "$as_ac_Header=yes"
6269 echo "$as_me: failed program was:" >&5
6270 sed 's/^/| /' conftest.
$ac_ext >&5
6272 eval "$as_ac_Header=no"
6274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6279 cat >>confdefs.h
<<_ACEOF
6280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6300 for ac_header
in stddef.h stdlib.h unistd.h dirent.h limits.h sys
/dir.h \
6301 string.h
strings.h math.h sys
/time.h direct.h process.h
6303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6305 echo "$as_me:$LINENO: checking for $ac_header" >&5
6306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6313 # Is the header compilable?
6314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6316 cat >conftest.
$ac_ext <<_ACEOF
6319 cat confdefs.h
>>conftest.
$ac_ext
6320 cat >>conftest.
$ac_ext <<_ACEOF
6321 /* end confdefs.h. */
6322 $ac_includes_default
6323 #include <$ac_header>
6325 rm -f conftest.
$ac_objext
6326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6327 (eval $ac_compile) 2>conftest.er1
6329 grep -v '^ *+' conftest.er1
>conftest.err
6331 cat conftest.err
>&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); } &&
6334 { ac_try
='test -z "$ac_c_werror_flag"
6335 || test ! -s conftest.err'
6336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); }; } &&
6341 { ac_try
='test -s conftest.$ac_objext'
6342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); }; }; then
6347 ac_header_compiler
=yes
6349 echo "$as_me: failed program was:" >&5
6350 sed 's/^/| /' conftest.
$ac_ext >&5
6352 ac_header_compiler
=no
6354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6356 echo "${ECHO_T}$ac_header_compiler" >&6
6358 # Is the header present?
6359 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6360 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6361 cat >conftest.
$ac_ext <<_ACEOF
6364 cat confdefs.h
>>conftest.
$ac_ext
6365 cat >>conftest.
$ac_ext <<_ACEOF
6366 /* end confdefs.h. */
6367 #include <$ac_header>
6369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6372 grep -v '^ *+' conftest.er1
>conftest.err
6374 cat conftest.err
>&5
6375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 (exit $ac_status); } >/dev
/null
; then
6377 if test -s conftest.err
; then
6378 ac_cpp_err
=$ac_c_preproc_warn_flag
6379 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6386 if test -z "$ac_cpp_err"; then
6387 ac_header_preproc
=yes
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.
$ac_ext >&5
6392 ac_header_preproc
=no
6394 rm -f conftest.err conftest.
$ac_ext
6395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6396 echo "${ECHO_T}$ac_header_preproc" >&6
6398 # So? What about this header?
6399 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6401 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6402 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6404 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6405 ac_header_preproc
=yes
6408 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6410 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6411 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6412 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6413 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6414 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6415 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6418 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6419 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6422 ## ------------------------------------------ ##
6423 ## Report this to the AC_PACKAGE_NAME lists. ##
6424 ## ------------------------------------------ ##
6427 sed "s/^/$as_me: WARNING: /" >&2
6430 echo "$as_me:$LINENO: checking for $ac_header" >&5
6431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6433 echo $ECHO_N "(cached) $ECHO_C" >&6
6435 eval "$as_ac_Header=\$ac_header_preproc"
6437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6442 cat >>confdefs.h
<<_ACEOF
6443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6450 echo "$as_me:$LINENO: checking for ISC 3.x or 4.x" >&5
6451 echo $ECHO_N "checking for ISC 3.x or 4.x... $ECHO_C" >&6
6452 if grep '[34]\.' /usr
/options
/cb.name
>/dev
/null
2>&1
6454 echo "$as_me:$LINENO: result: yes" >&5
6455 echo "${ECHO_T}yes" >&6
6457 cat >>confdefs.h
<<\_ACEOF
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6465 echo "$as_me:$LINENO: checking whether -D_POSIX_SOURCE is necessary" >&5
6466 echo $ECHO_N "checking whether -D_POSIX_SOURCE is necessary... $ECHO_C" >&6
6468 ac_cpp
='$CXXCPP $CPPFLAGS'
6469 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6470 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6471 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6473 cat >conftest.
$ac_ext <<_ACEOF
6477 cat confdefs.h
>>conftest.
$ac_ext
6478 cat >>conftest.
$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6483 extern "C" { void fileno(int); }
6495 rm -f conftest.
$ac_objext
6496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6497 (eval $ac_compile) 2>conftest.er1
6499 grep -v '^ *+' conftest.er1
>conftest.err
6501 cat conftest.err
>&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); } &&
6504 { ac_try
='test -z "$ac_cxx_werror_flag"
6505 || test ! -s conftest.err'
6506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); }; } &&
6511 { ac_try
='test -s conftest.$ac_objext'
6512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); }; }; then
6517 echo "$as_me:$LINENO: result: yes" >&5
6518 echo "${ECHO_T}yes" >&6
6520 cat >>confdefs.h
<<\_ACEOF
6521 #define _POSIX_SOURCE 1
6525 echo "$as_me: failed program was:" >&5
6526 sed 's/^/| /' conftest.
$ac_ext >&5
6528 echo "$as_me:$LINENO: result: no" >&5
6529 echo "${ECHO_T}no" >&6
6531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6533 ac_cpp
='$CPP $CPPFLAGS'
6534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6539 # checks for header stuff
6541 ac_cpp
='$CXXCPP $CPPFLAGS'
6542 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6543 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6544 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6546 echo "$as_me:$LINENO: checking for return type of srand" >&5
6547 echo $ECHO_N "checking for return type of srand... $ECHO_C" >&6
6548 cat >conftest.
$ac_ext <<_ACEOF
6552 cat confdefs.h
>>conftest.
$ac_ext
6553 cat >>conftest.
$ac_ext <<_ACEOF
6554 /* end confdefs.h. */
6558 extern "C" { void srand(unsigned int); }
6570 rm -f conftest.
$ac_objext
6571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6572 (eval $ac_compile) 2>conftest.er1
6574 grep -v '^ *+' conftest.er1
>conftest.err
6576 cat conftest.err
>&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); } &&
6579 { ac_try
='test -z "$ac_cxx_werror_flag"
6580 || test ! -s conftest.err'
6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }; } &&
6586 { ac_try
='test -s conftest.$ac_objext'
6587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); }; }; then
6592 echo "$as_me:$LINENO: result: void" >&5
6593 echo "${ECHO_T}void" >&6
6595 cat >>confdefs.h
<<\_ACEOF
6596 #define RET_TYPE_SRAND_IS_VOID 1
6600 echo "$as_me: failed program was:" >&5
6601 sed 's/^/| /' conftest.
$ac_ext >&5
6603 echo "$as_me:$LINENO: result: int" >&5
6604 echo "${ECHO_T}int" >&6
6606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6608 ac_cpp
='$CPP $CPPFLAGS'
6609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6613 echo "$as_me:$LINENO: checking whether gettimeofday must be declared" >&5
6614 echo $ECHO_N "checking whether gettimeofday must be declared... $ECHO_C" >&6
6616 ac_cpp
='$CXXCPP $CPPFLAGS'
6617 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6618 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6619 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6621 if test "${groff_cv_decl_needed_gettimeofday+set}" = set; then
6622 echo $ECHO_N "(cached) $ECHO_C" >&6
6624 cat >conftest.
$ac_ext <<_ACEOF
6628 cat confdefs.h
>>conftest.
$ac_ext
6629 cat >>conftest.
$ac_ext <<_ACEOF
6630 /* end confdefs.h. */
6634 #ifdef HAVE_STRING_H
6637 #ifdef HAVE_STRINGS_H
6638 #include <strings.h>
6640 #ifdef HAVE_STDLIB_H
6643 #ifdef HAVE_SYS_TIME_H
6644 #include <sys/time.h>
6646 #ifdef HAVE_UNISTD_H
6659 #ifndef gettimeofday
6660 char *p = (char *) gettimeofday;
6669 rm -f conftest.
$ac_objext
6670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6671 (eval $ac_compile) 2>conftest.er1
6673 grep -v '^ *+' conftest.er1
>conftest.err
6675 cat conftest.err
>&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); } &&
6678 { ac_try
='test -z "$ac_cxx_werror_flag"
6679 || test ! -s conftest.err'
6680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); }; } &&
6685 { ac_try
='test -s conftest.$ac_objext'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; }; then
6691 groff_cv_decl_needed_gettimeofday
=no
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.
$ac_ext >&5
6696 groff_cv_decl_needed_gettimeofday
=yes
6698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6701 echo "$as_me:$LINENO: result: $groff_cv_decl_needed_gettimeofday" >&5
6702 echo "${ECHO_T}$groff_cv_decl_needed_gettimeofday" >&6
6703 if test $groff_cv_decl_needed_gettimeofday = yes; then
6705 cat >>confdefs.h
<<\_ACEOF
6706 #define NEED_DECLARATION_GETTIMEOFDAY 1
6711 ac_cpp
='$CPP $CPPFLAGS'
6712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6716 echo "$as_me:$LINENO: checking whether hypot must be declared" >&5
6717 echo $ECHO_N "checking whether hypot must be declared... $ECHO_C" >&6
6719 ac_cpp
='$CXXCPP $CPPFLAGS'
6720 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6721 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6722 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6724 if test "${groff_cv_decl_needed_hypot+set}" = set; then
6725 echo $ECHO_N "(cached) $ECHO_C" >&6
6727 cat >conftest.
$ac_ext <<_ACEOF
6731 cat confdefs.h
>>conftest.
$ac_ext
6732 cat >>conftest.
$ac_ext <<_ACEOF
6733 /* end confdefs.h. */
6737 #ifdef HAVE_STRING_H
6740 #ifdef HAVE_STRINGS_H
6741 #include <strings.h>
6743 #ifdef HAVE_STDLIB_H
6746 #ifdef HAVE_SYS_TIME_H
6747 #include <sys/time.h>
6749 #ifdef HAVE_UNISTD_H
6763 char *p = (char *) hypot;
6772 rm -f conftest.
$ac_objext
6773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6774 (eval $ac_compile) 2>conftest.er1
6776 grep -v '^ *+' conftest.er1
>conftest.err
6778 cat conftest.err
>&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); } &&
6781 { ac_try
='test -z "$ac_cxx_werror_flag"
6782 || test ! -s conftest.err'
6783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); }; } &&
6788 { ac_try
='test -s conftest.$ac_objext'
6789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); }; }; then
6794 groff_cv_decl_needed_hypot
=no
6796 echo "$as_me: failed program was:" >&5
6797 sed 's/^/| /' conftest.
$ac_ext >&5
6799 groff_cv_decl_needed_hypot
=yes
6801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6804 echo "$as_me:$LINENO: result: $groff_cv_decl_needed_hypot" >&5
6805 echo "${ECHO_T}$groff_cv_decl_needed_hypot" >&6
6806 if test $groff_cv_decl_needed_hypot = yes; then
6808 cat >>confdefs.h
<<\_ACEOF
6809 #define NEED_DECLARATION_HYPOT 1
6814 ac_cpp
='$CPP $CPPFLAGS'
6815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6819 echo "$as_me:$LINENO: checking whether popen must be declared" >&5
6820 echo $ECHO_N "checking whether popen must be declared... $ECHO_C" >&6
6822 ac_cpp
='$CXXCPP $CPPFLAGS'
6823 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6824 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6825 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6827 if test "${groff_cv_decl_needed_popen+set}" = set; then
6828 echo $ECHO_N "(cached) $ECHO_C" >&6
6830 cat >conftest.
$ac_ext <<_ACEOF
6834 cat confdefs.h
>>conftest.
$ac_ext
6835 cat >>conftest.
$ac_ext <<_ACEOF
6836 /* end confdefs.h. */
6840 #ifdef HAVE_STRING_H
6843 #ifdef HAVE_STRINGS_H
6844 #include <strings.h>
6846 #ifdef HAVE_STDLIB_H
6849 #ifdef HAVE_SYS_TIME_H
6850 #include <sys/time.h>
6852 #ifdef HAVE_UNISTD_H
6866 char *p = (char *) popen;
6875 rm -f conftest.
$ac_objext
6876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6877 (eval $ac_compile) 2>conftest.er1
6879 grep -v '^ *+' conftest.er1
>conftest.err
6881 cat conftest.err
>&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } &&
6884 { ac_try
='test -z "$ac_cxx_werror_flag"
6885 || test ! -s conftest.err'
6886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); }; } &&
6891 { ac_try
='test -s conftest.$ac_objext'
6892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; }; then
6897 groff_cv_decl_needed_popen
=no
6899 echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.
$ac_ext >&5
6902 groff_cv_decl_needed_popen
=yes
6904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6907 echo "$as_me:$LINENO: result: $groff_cv_decl_needed_popen" >&5
6908 echo "${ECHO_T}$groff_cv_decl_needed_popen" >&6
6909 if test $groff_cv_decl_needed_popen = yes; then
6911 cat >>confdefs.h
<<\_ACEOF
6912 #define NEED_DECLARATION_POPEN 1
6917 ac_cpp
='$CPP $CPPFLAGS'
6918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6922 echo "$as_me:$LINENO: checking whether pclose must be declared" >&5
6923 echo $ECHO_N "checking whether pclose must be declared... $ECHO_C" >&6
6925 ac_cpp
='$CXXCPP $CPPFLAGS'
6926 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6927 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6928 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6930 if test "${groff_cv_decl_needed_pclose+set}" = set; then
6931 echo $ECHO_N "(cached) $ECHO_C" >&6
6933 cat >conftest.
$ac_ext <<_ACEOF
6937 cat confdefs.h
>>conftest.
$ac_ext
6938 cat >>conftest.
$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6943 #ifdef HAVE_STRING_H
6946 #ifdef HAVE_STRINGS_H
6947 #include <strings.h>
6949 #ifdef HAVE_STDLIB_H
6952 #ifdef HAVE_SYS_TIME_H
6953 #include <sys/time.h>
6955 #ifdef HAVE_UNISTD_H
6969 char *p = (char *) pclose;
6978 rm -f conftest.
$ac_objext
6979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6980 (eval $ac_compile) 2>conftest.er1
6982 grep -v '^ *+' conftest.er1
>conftest.err
6984 cat conftest.err
>&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); } &&
6987 { ac_try
='test -z "$ac_cxx_werror_flag"
6988 || test ! -s conftest.err'
6989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); }; } &&
6994 { ac_try
='test -s conftest.$ac_objext'
6995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); }; }; then
7000 groff_cv_decl_needed_pclose
=no
7002 echo "$as_me: failed program was:" >&5
7003 sed 's/^/| /' conftest.
$ac_ext >&5
7005 groff_cv_decl_needed_pclose
=yes
7007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7010 echo "$as_me:$LINENO: result: $groff_cv_decl_needed_pclose" >&5
7011 echo "${ECHO_T}$groff_cv_decl_needed_pclose" >&6
7012 if test $groff_cv_decl_needed_pclose = yes; then
7014 cat >>confdefs.h
<<\_ACEOF
7015 #define NEED_DECLARATION_PCLOSE 1
7020 ac_cpp
='$CPP $CPPFLAGS'
7021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7025 echo "$as_me:$LINENO: checking whether putenv must be declared" >&5
7026 echo $ECHO_N "checking whether putenv must be declared... $ECHO_C" >&6
7028 ac_cpp
='$CXXCPP $CPPFLAGS'
7029 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7030 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7031 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7033 if test "${groff_cv_decl_needed_putenv+set}" = set; then
7034 echo $ECHO_N "(cached) $ECHO_C" >&6
7036 cat >conftest.
$ac_ext <<_ACEOF
7040 cat confdefs.h
>>conftest.
$ac_ext
7041 cat >>conftest.
$ac_ext <<_ACEOF
7042 /* end confdefs.h. */
7046 #ifdef HAVE_STRING_H
7049 #ifdef HAVE_STRINGS_H
7050 #include <strings.h>
7052 #ifdef HAVE_STDLIB_H
7055 #ifdef HAVE_SYS_TIME_H
7056 #include <sys/time.h>
7058 #ifdef HAVE_UNISTD_H
7072 char *p = (char *) putenv;
7081 rm -f conftest.
$ac_objext
7082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7083 (eval $ac_compile) 2>conftest.er1
7085 grep -v '^ *+' conftest.er1
>conftest.err
7087 cat conftest.err
>&5
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); } &&
7090 { ac_try
='test -z "$ac_cxx_werror_flag"
7091 || test ! -s conftest.err'
7092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); }; } &&
7097 { ac_try
='test -s conftest.$ac_objext'
7098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); }; }; then
7103 groff_cv_decl_needed_putenv
=no
7105 echo "$as_me: failed program was:" >&5
7106 sed 's/^/| /' conftest.
$ac_ext >&5
7108 groff_cv_decl_needed_putenv
=yes
7110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7113 echo "$as_me:$LINENO: result: $groff_cv_decl_needed_putenv" >&5
7114 echo "${ECHO_T}$groff_cv_decl_needed_putenv" >&6
7115 if test $groff_cv_decl_needed_putenv = yes; then
7117 cat >>confdefs.h
<<\_ACEOF
7118 #define NEED_DECLARATION_PUTENV 1
7123 ac_cpp
='$CPP $CPPFLAGS'
7124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7128 echo "$as_me:$LINENO: checking whether rand must be declared" >&5
7129 echo $ECHO_N "checking whether rand must be declared... $ECHO_C" >&6
7131 ac_cpp
='$CXXCPP $CPPFLAGS'
7132 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7133 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7134 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7136 if test "${groff_cv_decl_needed_rand+set}" = set; then
7137 echo $ECHO_N "(cached) $ECHO_C" >&6
7139 cat >conftest.
$ac_ext <<_ACEOF
7143 cat confdefs.h
>>conftest.
$ac_ext
7144 cat >>conftest.
$ac_ext <<_ACEOF
7145 /* end confdefs.h. */
7149 #ifdef HAVE_STRING_H
7152 #ifdef HAVE_STRINGS_H
7153 #include <strings.h>
7155 #ifdef HAVE_STDLIB_H
7158 #ifdef HAVE_SYS_TIME_H
7159 #include <sys/time.h>
7161 #ifdef HAVE_UNISTD_H
7175 char *p = (char *) rand;
7184 rm -f conftest.
$ac_objext
7185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7186 (eval $ac_compile) 2>conftest.er1
7188 grep -v '^ *+' conftest.er1
>conftest.err
7190 cat conftest.err
>&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); } &&
7193 { ac_try
='test -z "$ac_cxx_werror_flag"
7194 || test ! -s conftest.err'
7195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); }; } &&
7200 { ac_try
='test -s conftest.$ac_objext'
7201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); }; }; then
7206 groff_cv_decl_needed_rand
=no
7208 echo "$as_me: failed program was:" >&5
7209 sed 's/^/| /' conftest.
$ac_ext >&5
7211 groff_cv_decl_needed_rand
=yes
7213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7216 echo "$as_me:$LINENO: result: $groff_cv_decl_needed_rand" >&5
7217 echo "${ECHO_T}$groff_cv_decl_needed_rand" >&6
7218 if test $groff_cv_decl_needed_rand = yes; then
7220 cat >>confdefs.h
<<\_ACEOF
7221 #define NEED_DECLARATION_RAND 1
7226 ac_cpp
='$CPP $CPPFLAGS'
7227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7231 echo "$as_me:$LINENO: checking whether snprintf must be declared" >&5
7232 echo $ECHO_N "checking whether snprintf must be declared... $ECHO_C" >&6
7234 ac_cpp
='$CXXCPP $CPPFLAGS'
7235 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7236 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7237 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7239 if test "${groff_cv_decl_needed_snprintf+set}" = set; then
7240 echo $ECHO_N "(cached) $ECHO_C" >&6
7242 cat >conftest.
$ac_ext <<_ACEOF
7246 cat confdefs.h
>>conftest.
$ac_ext
7247 cat >>conftest.
$ac_ext <<_ACEOF
7248 /* end confdefs.h. */
7252 #ifdef HAVE_STRING_H
7255 #ifdef HAVE_STRINGS_H
7256 #include <strings.h>
7258 #ifdef HAVE_STDLIB_H
7261 #ifdef HAVE_SYS_TIME_H
7262 #include <sys/time.h>
7264 #ifdef HAVE_UNISTD_H
7278 char *p = (char *) snprintf;
7287 rm -f conftest.
$ac_objext
7288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7289 (eval $ac_compile) 2>conftest.er1
7291 grep -v '^ *+' conftest.er1
>conftest.err
7293 cat conftest.err
>&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } &&
7296 { ac_try
='test -z "$ac_cxx_werror_flag"
7297 || test ! -s conftest.err'
7298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); }; } &&
7303 { ac_try
='test -s conftest.$ac_objext'
7304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308 (exit $ac_status); }; }; then
7309 groff_cv_decl_needed_snprintf
=no
7311 echo "$as_me: failed program was:" >&5
7312 sed 's/^/| /' conftest.
$ac_ext >&5
7314 groff_cv_decl_needed_snprintf
=yes
7316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7319 echo "$as_me:$LINENO: result: $groff_cv_decl_needed_snprintf" >&5
7320 echo "${ECHO_T}$groff_cv_decl_needed_snprintf" >&6
7321 if test $groff_cv_decl_needed_snprintf = yes; then
7323 cat >>confdefs.h
<<\_ACEOF
7324 #define NEED_DECLARATION_SNPRINTF 1
7329 ac_cpp
='$CPP $CPPFLAGS'
7330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7334 echo "$as_me:$LINENO: checking whether srand must be declared" >&5
7335 echo $ECHO_N "checking whether srand must be declared... $ECHO_C" >&6
7337 ac_cpp
='$CXXCPP $CPPFLAGS'
7338 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7339 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7340 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7342 if test "${groff_cv_decl_needed_srand+set}" = set; then
7343 echo $ECHO_N "(cached) $ECHO_C" >&6
7345 cat >conftest.
$ac_ext <<_ACEOF
7349 cat confdefs.h
>>conftest.
$ac_ext
7350 cat >>conftest.
$ac_ext <<_ACEOF
7351 /* end confdefs.h. */
7355 #ifdef HAVE_STRING_H
7358 #ifdef HAVE_STRINGS_H
7359 #include <strings.h>
7361 #ifdef HAVE_STDLIB_H
7364 #ifdef HAVE_SYS_TIME_H
7365 #include <sys/time.h>
7367 #ifdef HAVE_UNISTD_H
7381 char *p = (char *) srand;
7390 rm -f conftest.
$ac_objext
7391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7392 (eval $ac_compile) 2>conftest.er1
7394 grep -v '^ *+' conftest.er1
>conftest.err
7396 cat conftest.err
>&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); } &&
7399 { ac_try
='test -z "$ac_cxx_werror_flag"
7400 || test ! -s conftest.err'
7401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); }; } &&
7406 { ac_try
='test -s conftest.$ac_objext'
7407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); }; }; then
7412 groff_cv_decl_needed_srand
=no
7414 echo "$as_me: failed program was:" >&5
7415 sed 's/^/| /' conftest.
$ac_ext >&5
7417 groff_cv_decl_needed_srand
=yes
7419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7422 echo "$as_me:$LINENO: result: $groff_cv_decl_needed_srand" >&5
7423 echo "${ECHO_T}$groff_cv_decl_needed_srand" >&6
7424 if test $groff_cv_decl_needed_srand = yes; then
7426 cat >>confdefs.h
<<\_ACEOF
7427 #define NEED_DECLARATION_SRAND 1
7432 ac_cpp
='$CPP $CPPFLAGS'
7433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7437 echo "$as_me:$LINENO: checking whether strcasecmp must be declared" >&5
7438 echo $ECHO_N "checking whether strcasecmp must be declared... $ECHO_C" >&6
7440 ac_cpp
='$CXXCPP $CPPFLAGS'
7441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7445 if test "${groff_cv_decl_needed_strcasecmp+set}" = set; then
7446 echo $ECHO_N "(cached) $ECHO_C" >&6
7448 cat >conftest.
$ac_ext <<_ACEOF
7452 cat confdefs.h
>>conftest.
$ac_ext
7453 cat >>conftest.
$ac_ext <<_ACEOF
7454 /* end confdefs.h. */
7458 #ifdef HAVE_STRING_H
7461 #ifdef HAVE_STRINGS_H
7462 #include <strings.h>
7464 #ifdef HAVE_STDLIB_H
7467 #ifdef HAVE_SYS_TIME_H
7468 #include <sys/time.h>
7470 #ifdef HAVE_UNISTD_H
7484 char *p = (char *) strcasecmp;
7493 rm -f conftest.
$ac_objext
7494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7495 (eval $ac_compile) 2>conftest.er1
7497 grep -v '^ *+' conftest.er1
>conftest.err
7499 cat conftest.err
>&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); } &&
7502 { ac_try
='test -z "$ac_cxx_werror_flag"
7503 || test ! -s conftest.err'
7504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); }; } &&
7509 { ac_try
='test -s conftest.$ac_objext'
7510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); }; }; then
7515 groff_cv_decl_needed_strcasecmp
=no
7517 echo "$as_me: failed program was:" >&5
7518 sed 's/^/| /' conftest.
$ac_ext >&5
7520 groff_cv_decl_needed_strcasecmp
=yes
7522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7525 echo "$as_me:$LINENO: result: $groff_cv_decl_needed_strcasecmp" >&5
7526 echo "${ECHO_T}$groff_cv_decl_needed_strcasecmp" >&6
7527 if test $groff_cv_decl_needed_strcasecmp = yes; then
7529 cat >>confdefs.h
<<\_ACEOF
7530 #define NEED_DECLARATION_STRCASECMP 1
7535 ac_cpp
='$CPP $CPPFLAGS'
7536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7540 echo "$as_me:$LINENO: checking whether strncasecmp must be declared" >&5
7541 echo $ECHO_N "checking whether strncasecmp must be declared... $ECHO_C" >&6
7543 ac_cpp
='$CXXCPP $CPPFLAGS'
7544 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7545 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7546 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7548 if test "${groff_cv_decl_needed_strncasecmp+set}" = set; then
7549 echo $ECHO_N "(cached) $ECHO_C" >&6
7551 cat >conftest.
$ac_ext <<_ACEOF
7555 cat confdefs.h
>>conftest.
$ac_ext
7556 cat >>conftest.
$ac_ext <<_ACEOF
7557 /* end confdefs.h. */
7561 #ifdef HAVE_STRING_H
7564 #ifdef HAVE_STRINGS_H
7565 #include <strings.h>
7567 #ifdef HAVE_STDLIB_H
7570 #ifdef HAVE_SYS_TIME_H
7571 #include <sys/time.h>
7573 #ifdef HAVE_UNISTD_H
7587 char *p = (char *) strncasecmp;
7596 rm -f conftest.
$ac_objext
7597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7598 (eval $ac_compile) 2>conftest.er1
7600 grep -v '^ *+' conftest.er1
>conftest.err
7602 cat conftest.err
>&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } &&
7605 { ac_try
='test -z "$ac_cxx_werror_flag"
7606 || test ! -s conftest.err'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; } &&
7612 { ac_try
='test -s conftest.$ac_objext'
7613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); }; }; then
7618 groff_cv_decl_needed_strncasecmp
=no
7620 echo "$as_me: failed program was:" >&5
7621 sed 's/^/| /' conftest.
$ac_ext >&5
7623 groff_cv_decl_needed_strncasecmp
=yes
7625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7628 echo "$as_me:$LINENO: result: $groff_cv_decl_needed_strncasecmp" >&5
7629 echo "${ECHO_T}$groff_cv_decl_needed_strncasecmp" >&6
7630 if test $groff_cv_decl_needed_strncasecmp = yes; then
7632 cat >>confdefs.h
<<\_ACEOF
7633 #define NEED_DECLARATION_STRNCASECMP 1
7638 ac_cpp
='$CPP $CPPFLAGS'
7639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7643 echo "$as_me:$LINENO: checking whether vfprintf must be declared" >&5
7644 echo $ECHO_N "checking whether vfprintf must be declared... $ECHO_C" >&6
7646 ac_cpp
='$CXXCPP $CPPFLAGS'
7647 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7648 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7649 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7651 if test "${groff_cv_decl_needed_vfprintf+set}" = set; then
7652 echo $ECHO_N "(cached) $ECHO_C" >&6
7654 cat >conftest.
$ac_ext <<_ACEOF
7658 cat confdefs.h
>>conftest.
$ac_ext
7659 cat >>conftest.
$ac_ext <<_ACEOF
7660 /* end confdefs.h. */
7664 #ifdef HAVE_STRING_H
7667 #ifdef HAVE_STRINGS_H
7668 #include <strings.h>
7670 #ifdef HAVE_STDLIB_H
7673 #ifdef HAVE_SYS_TIME_H
7674 #include <sys/time.h>
7676 #ifdef HAVE_UNISTD_H
7690 char *p = (char *) vfprintf;
7699 rm -f conftest.
$ac_objext
7700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7701 (eval $ac_compile) 2>conftest.er1
7703 grep -v '^ *+' conftest.er1
>conftest.err
7705 cat conftest.err
>&5
7706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707 (exit $ac_status); } &&
7708 { ac_try
='test -z "$ac_cxx_werror_flag"
7709 || test ! -s conftest.err'
7710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); }; } &&
7715 { ac_try
='test -s conftest.$ac_objext'
7716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); }; }; then
7721 groff_cv_decl_needed_vfprintf
=no
7723 echo "$as_me: failed program was:" >&5
7724 sed 's/^/| /' conftest.
$ac_ext >&5
7726 groff_cv_decl_needed_vfprintf
=yes
7728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7731 echo "$as_me:$LINENO: result: $groff_cv_decl_needed_vfprintf" >&5
7732 echo "${ECHO_T}$groff_cv_decl_needed_vfprintf" >&6
7733 if test $groff_cv_decl_needed_vfprintf = yes; then
7735 cat >>confdefs.h
<<\_ACEOF
7736 #define NEED_DECLARATION_VFPRINTF 1
7741 ac_cpp
='$CPP $CPPFLAGS'
7742 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7743 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7744 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7746 echo "$as_me:$LINENO: checking whether vsnprintf must be declared" >&5
7747 echo $ECHO_N "checking whether vsnprintf must be declared... $ECHO_C" >&6
7749 ac_cpp
='$CXXCPP $CPPFLAGS'
7750 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7751 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7752 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7754 if test "${groff_cv_decl_needed_vsnprintf+set}" = set; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7757 cat >conftest.
$ac_ext <<_ACEOF
7761 cat confdefs.h
>>conftest.
$ac_ext
7762 cat >>conftest.
$ac_ext <<_ACEOF
7763 /* end confdefs.h. */
7767 #ifdef HAVE_STRING_H
7770 #ifdef HAVE_STRINGS_H
7771 #include <strings.h>
7773 #ifdef HAVE_STDLIB_H
7776 #ifdef HAVE_SYS_TIME_H
7777 #include <sys/time.h>
7779 #ifdef HAVE_UNISTD_H
7793 char *p = (char *) vsnprintf;
7802 rm -f conftest.
$ac_objext
7803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7804 (eval $ac_compile) 2>conftest.er1
7806 grep -v '^ *+' conftest.er1
>conftest.err
7808 cat conftest.err
>&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); } &&
7811 { ac_try
='test -z "$ac_cxx_werror_flag"
7812 || test ! -s conftest.err'
7813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 (exit $ac_status); }; } &&
7818 { ac_try
='test -s conftest.$ac_objext'
7819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); }; }; then
7824 groff_cv_decl_needed_vsnprintf
=no
7826 echo "$as_me: failed program was:" >&5
7827 sed 's/^/| /' conftest.
$ac_ext >&5
7829 groff_cv_decl_needed_vsnprintf
=yes
7831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7834 echo "$as_me:$LINENO: result: $groff_cv_decl_needed_vsnprintf" >&5
7835 echo "${ECHO_T}$groff_cv_decl_needed_vsnprintf" >&6
7836 if test $groff_cv_decl_needed_vsnprintf = yes; then
7838 cat >>confdefs.h
<<\_ACEOF
7839 #define NEED_DECLARATION_VSNPRINTF 1
7844 ac_cpp
='$CPP $CPPFLAGS'
7845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7850 ac_cpp
='$CXXCPP $CPPFLAGS'
7851 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7852 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7853 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7855 echo "$as_me:$LINENO: checking for sys_nerr in <errno.h>, <stdio.h>, or <stdlib.h>" >&5
7856 echo $ECHO_N "checking for sys_nerr in <errno.h>, <stdio.h>, or <stdlib.h>... $ECHO_C" >&6
7857 cat >conftest.
$ac_ext <<_ACEOF
7861 cat confdefs.h
>>conftest.
$ac_ext
7862 cat >>conftest.
$ac_ext <<_ACEOF
7863 /* end confdefs.h. */
7885 rm -f conftest.
$ac_objext
7886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7887 (eval $ac_compile) 2>conftest.er1
7889 grep -v '^ *+' conftest.er1
>conftest.err
7891 cat conftest.err
>&5
7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); } &&
7894 { ac_try
='test -z "$ac_cxx_werror_flag"
7895 || test ! -s conftest.err'
7896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); }; } &&
7901 { ac_try
='test -s conftest.$ac_objext'
7902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); }; }; then
7907 echo "$as_me:$LINENO: result: yes" >&5
7908 echo "${ECHO_T}yes" >&6
7910 cat >>confdefs.h
<<\_ACEOF
7911 #define HAVE_SYS_NERR 1
7915 echo "$as_me: failed program was:" >&5
7916 sed 's/^/| /' conftest.
$ac_ext >&5
7918 echo "$as_me:$LINENO: result: no" >&5
7919 echo "${ECHO_T}no" >&6
7921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7923 ac_cpp
='$CPP $CPPFLAGS'
7924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7928 echo "$as_me:$LINENO: checking for sys_errlist in <errno.h>, <stdio.h>, or <stdlib.h>" >&5
7929 echo $ECHO_N "checking for sys_errlist in <errno.h>, <stdio.h>, or <stdlib.h>... $ECHO_C" >&6
7930 cat >conftest.
$ac_ext <<_ACEOF
7934 cat confdefs.h
>>conftest.
$ac_ext
7935 cat >>conftest.
$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7950 k = (int)sys_errlist[0];
7958 rm -f conftest.
$ac_objext
7959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7960 (eval $ac_compile) 2>conftest.er1
7962 grep -v '^ *+' conftest.er1
>conftest.err
7964 cat conftest.err
>&5
7965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966 (exit $ac_status); } &&
7967 { ac_try
='test -z "$ac_c_werror_flag"
7968 || test ! -s conftest.err'
7969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7973 (exit $ac_status); }; } &&
7974 { ac_try
='test -s conftest.$ac_objext'
7975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7979 (exit $ac_status); }; }; then
7980 echo "$as_me:$LINENO: result: yes" >&5
7981 echo "${ECHO_T}yes" >&6
7983 cat >>confdefs.h
<<\_ACEOF
7984 #define HAVE_SYS_ERRLIST 1
7988 echo "$as_me: failed program was:" >&5
7989 sed 's/^/| /' conftest.
$ac_ext >&5
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7996 ac_cpp
='$CXXCPP $CPPFLAGS'
7997 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7998 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7999 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8001 echo "$as_me:$LINENO: checking C++ <osfcn.h>" >&5
8002 echo $ECHO_N "checking C++ <osfcn.h>... $ECHO_C" >&6
8003 cat >conftest.
$ac_ext <<_ACEOF
8007 cat confdefs.h
>>conftest.
$ac_ext
8008 cat >>conftest.
$ac_ext <<_ACEOF
8009 /* end confdefs.h. */
8029 rm -f conftest.
$ac_objext
8030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8031 (eval $ac_compile) 2>conftest.er1
8033 grep -v '^ *+' conftest.er1
>conftest.err
8035 cat conftest.err
>&5
8036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8037 (exit $ac_status); } &&
8038 { ac_try
='test -z "$ac_cxx_werror_flag"
8039 || test ! -s conftest.err'
8040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); }; } &&
8045 { ac_try
='test -s conftest.$ac_objext'
8046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050 (exit $ac_status); }; }; then
8051 echo "$as_me:$LINENO: result: yes" >&5
8052 echo "${ECHO_T}yes" >&6
8054 cat >>confdefs.h
<<\_ACEOF
8055 #define HAVE_CC_OSFCN_H 1
8059 echo "$as_me: failed program was:" >&5
8060 sed 's/^/| /' conftest.
$ac_ext >&5
8062 echo "$as_me:$LINENO: result: no" >&5
8063 echo "${ECHO_T}no" >&6
8065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8067 ac_cpp
='$CPP $CPPFLAGS'
8068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8073 ac_cpp
='$CXXCPP $CPPFLAGS'
8074 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8075 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8076 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8078 echo "$as_me:$LINENO: checking C++ <limits.h>" >&5
8079 echo $ECHO_N "checking C++ <limits.h>... $ECHO_C" >&6
8080 cat >conftest.
$ac_ext <<_ACEOF
8084 cat confdefs.h
>>conftest.
$ac_ext
8085 cat >>conftest.
$ac_ext <<_ACEOF
8086 /* end confdefs.h. */
8107 rm -f conftest.
$ac_objext
8108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8109 (eval $ac_compile) 2>conftest.er1
8111 grep -v '^ *+' conftest.er1
>conftest.err
8113 cat conftest.err
>&5
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); } &&
8116 { ac_try
='test -z "$ac_cxx_werror_flag"
8117 || test ! -s conftest.err'
8118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); }; } &&
8123 { ac_try
='test -s conftest.$ac_objext'
8124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 (exit $ac_status); }; }; then
8129 echo "$as_me:$LINENO: result: yes" >&5
8130 echo "${ECHO_T}yes" >&6
8132 cat >>confdefs.h
<<\_ACEOF
8133 #define HAVE_CC_LIMITS_H 1
8137 echo "$as_me: failed program was:" >&5
8138 sed 's/^/| /' conftest.
$ac_ext >&5
8140 echo "$as_me:$LINENO: result: no" >&5
8141 echo "${ECHO_T}no" >&6
8143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8145 ac_cpp
='$CPP $CPPFLAGS'
8146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8151 ac_cpp
='$CXXCPP $CPPFLAGS'
8152 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8153 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8154 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8156 echo "$as_me:$LINENO: checking C++ <inttypes.h>" >&5
8157 echo $ECHO_N "checking C++ <inttypes.h>... $ECHO_C" >&6
8158 cat >conftest.
$ac_ext <<_ACEOF
8162 cat confdefs.h
>>conftest.
$ac_ext
8163 cat >>conftest.
$ac_ext <<_ACEOF
8164 /* end confdefs.h. */
8167 #include <sys/types.h>
8168 #include <inttypes.h>
8176 uintmax_t i = (uintmax_t)-1;
8184 rm -f conftest.
$ac_objext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8186 (eval $ac_compile) 2>conftest.er1
8188 grep -v '^ *+' conftest.er1
>conftest.err
8190 cat conftest.err
>&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } &&
8193 { ac_try
='test -z "$ac_cxx_werror_flag"
8194 || test ! -s conftest.err'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; } &&
8200 { ac_try
='test -s conftest.$ac_objext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8206 groff_cv_header_inttypes_h
=yes
8208 cat >>confdefs.h
<<\_ACEOF
8209 #define HAVE_CC_INTTYPES_H 1
8213 echo "$as_me: failed program was:" >&5
8214 sed 's/^/| /' conftest.
$ac_ext >&5
8216 groff_cv_header_inttypes_h
=no
8218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8219 echo "$as_me:$LINENO: result: $groff_cv_header_inttypes_h" >&5
8220 echo "${ECHO_T}$groff_cv_header_inttypes_h" >&6
8222 ac_cpp
='$CPP $CPPFLAGS'
8223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8228 # checks for typedefs
8230 ac_cpp
='$CXXCPP $CPPFLAGS'
8231 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8232 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8233 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8235 echo "$as_me:$LINENO: checking for unsigned long long" >&5
8236 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
8237 cat >conftest.
$ac_ext <<_ACEOF
8241 cat confdefs.h
>>conftest.
$ac_ext
8242 cat >>conftest.
$ac_ext <<_ACEOF
8243 /* end confdefs.h. */
8246 unsigned long long ull = 1;
8248 unsigned long long ullmax = (unsigned long long)-1;
8256 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
8264 rm -f conftest.
$ac_objext conftest
$ac_exeext
8265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8266 (eval $ac_link) 2>conftest.er1
8268 grep -v '^ *+' conftest.er1
>conftest.err
8270 cat conftest.err
>&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 (exit $ac_status); } &&
8273 { ac_try
='test -z "$ac_cxx_werror_flag"
8274 || test ! -s conftest.err'
8275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); }; } &&
8280 { ac_try
='test -s conftest$ac_exeext'
8281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); }; }; then
8286 groff_cv_type_unsigned_long_long
=yes
8288 echo "$as_me: failed program was:" >&5
8289 sed 's/^/| /' conftest.
$ac_ext >&5
8291 groff_cv_type_unsigned_long_long
=no
8293 rm -f conftest.err conftest.
$ac_objext \
8294 conftest
$ac_exeext conftest.
$ac_ext
8295 echo "$as_me:$LINENO: result: $groff_cv_type_unsigned_long_long" >&5
8296 echo "${ECHO_T}$groff_cv_type_unsigned_long_long" >&6
8298 ac_cpp
='$CPP $CPPFLAGS'
8299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8304 if test $groff_cv_header_inttypes_h = no
; then
8306 test $groff_cv_type_unsigned_long_long = yes \
8307 && ac_type
='unsigned long long' \
8308 || ac_type
='unsigned long'
8310 cat >>confdefs.h
<<_ACEOF
8311 #define uintmax_t $ac_type
8316 ac_cpp
='$CXXCPP $CPPFLAGS'
8317 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8318 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8319 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8321 echo "$as_me:$LINENO: checking for declaration of time_t" >&5
8322 echo $ECHO_N "checking for declaration of time_t... $ECHO_C" >&6
8323 cat >conftest.
$ac_ext <<_ACEOF
8327 cat confdefs.h
>>conftest.
$ac_ext
8328 cat >>conftest.
$ac_ext <<_ACEOF
8329 /* end confdefs.h. */
8341 struct tm *p = localtime(&t);
8349 rm -f conftest.
$ac_objext
8350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8351 (eval $ac_compile) 2>conftest.er1
8353 grep -v '^ *+' conftest.er1
>conftest.err
8355 cat conftest.err
>&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); } &&
8358 { ac_try
='test -z "$ac_cxx_werror_flag"
8359 || test ! -s conftest.err'
8360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); }; } &&
8365 { ac_try
='test -s conftest.$ac_objext'
8366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); }; }; then
8371 echo "$as_me:$LINENO: result: yes" >&5
8372 echo "${ECHO_T}yes" >&6
8374 echo "$as_me: failed program was:" >&5
8375 sed 's/^/| /' conftest.
$ac_ext >&5
8377 echo "$as_me:$LINENO: result: no" >&5
8378 echo "${ECHO_T}no" >&6
8380 cat >>confdefs.h
<<\_ACEOF
8381 #define LONG_FOR_TIME_T 1
8385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8387 ac_cpp
='$CPP $CPPFLAGS'
8388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8392 echo "$as_me:$LINENO: checking for return type of signal handlers" >&5
8393 echo $ECHO_N "checking for return type of signal handlers... $ECHO_C" >&6
8394 for groff_declaration
in \
8395 'extern "C" void (*signal (int, void (*)(int)))(int);' \
8396 'extern "C" void (*signal (int, void (*)(int)) throw ())(int);' \
8397 'void (*signal ()) ();'
8399 cat >conftest.
$ac_ext <<_ACEOF
8403 cat confdefs.h
>>conftest.
$ac_ext
8404 cat >>conftest.
$ac_ext <<_ACEOF
8405 /* end confdefs.h. */
8408 #include <sys/types.h>
8429 rm -f conftest.
$ac_objext
8430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8431 (eval $ac_compile) 2>conftest.er1
8433 grep -v '^ *+' conftest.er1
>conftest.err
8435 cat conftest.err
>&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); } &&
8438 { ac_try
='test -z "$ac_c_werror_flag"
8439 || test ! -s conftest.err'
8440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); }; } &&
8445 { ac_try
='test -s conftest.$ac_objext'
8446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 (exit $ac_status); }; }; then
8453 echo "$as_me: failed program was:" >&5
8454 sed 's/^/| /' conftest.
$ac_ext >&5
8458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8461 if test -n "$groff_declaration"; then
8462 echo "$as_me:$LINENO: result: void" >&5
8463 echo "${ECHO_T}void" >&6
8465 cat >>confdefs.h
<<\_ACEOF
8466 #define RETSIGTYPE void
8470 echo "$as_me:$LINENO: result: int" >&5
8471 echo "${ECHO_T}int" >&6
8473 cat >>confdefs.h
<<\_ACEOF
8474 #define RETSIGTYPE int
8478 echo "$as_me:$LINENO: checking struct exception" >&5
8479 echo $ECHO_N "checking struct exception... $ECHO_C" >&6
8480 cat >conftest.
$ac_ext <<_ACEOF
8484 cat confdefs.h
>>conftest.
$ac_ext
8485 cat >>conftest.
$ac_ext <<_ACEOF
8486 /* end confdefs.h. */
8505 rm -f conftest.
$ac_objext
8506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8507 (eval $ac_compile) 2>conftest.er1
8509 grep -v '^ *+' conftest.er1
>conftest.err
8511 cat conftest.err
>&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); } &&
8514 { ac_try
='test -z "$ac_c_werror_flag"
8515 || test ! -s conftest.err'
8516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); }; } &&
8521 { ac_try
='test -s conftest.$ac_objext'
8522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); }; }; then
8527 echo "$as_me:$LINENO: result: yes" >&5
8528 echo "${ECHO_T}yes" >&6
8530 cat >>confdefs.h
<<\_ACEOF
8531 #define HAVE_STRUCT_EXCEPTION 1
8535 echo "$as_me: failed program was:" >&5
8536 sed 's/^/| /' conftest.
$ac_ext >&5
8538 echo "$as_me:$LINENO: result: no" >&5
8539 echo "${ECHO_T}no" >&6
8541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8544 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8545 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8546 if test "${ac_cv_c_bigendian+set}" = set; then
8547 echo $ECHO_N "(cached) $ECHO_C" >&6
8549 # See if sys/param.h defines the BYTE_ORDER macro.
8550 cat >conftest.
$ac_ext <<_ACEOF
8553 cat confdefs.h
>>conftest.
$ac_ext
8554 cat >>conftest.
$ac_ext <<_ACEOF
8555 /* end confdefs.h. */
8556 #include <sys/types.h>
8557 #include <sys/param.h>
8562 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8570 rm -f conftest.
$ac_objext
8571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8572 (eval $ac_compile) 2>conftest.er1
8574 grep -v '^ *+' conftest.er1
>conftest.err
8576 cat conftest.err
>&5
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); } &&
8579 { ac_try
='test -z "$ac_c_werror_flag"
8580 || test ! -s conftest.err'
8581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585 (exit $ac_status); }; } &&
8586 { ac_try
='test -s conftest.$ac_objext'
8587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 (exit $ac_status); }; }; then
8592 # It does; now see whether it defined to BIG_ENDIAN or not.
8593 cat >conftest.
$ac_ext <<_ACEOF
8596 cat confdefs.h
>>conftest.
$ac_ext
8597 cat >>conftest.
$ac_ext <<_ACEOF
8598 /* end confdefs.h. */
8599 #include <sys/types.h>
8600 #include <sys/param.h>
8605 #if BYTE_ORDER != BIG_ENDIAN
8613 rm -f conftest.
$ac_objext
8614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8615 (eval $ac_compile) 2>conftest.er1
8617 grep -v '^ *+' conftest.er1
>conftest.err
8619 cat conftest.err
>&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); } &&
8622 { ac_try
='test -z "$ac_c_werror_flag"
8623 || test ! -s conftest.err'
8624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); }; } &&
8629 { ac_try
='test -s conftest.$ac_objext'
8630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); }; }; then
8635 ac_cv_c_bigendian
=yes
8637 echo "$as_me: failed program was:" >&5
8638 sed 's/^/| /' conftest.
$ac_ext >&5
8640 ac_cv_c_bigendian
=no
8642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8644 echo "$as_me: failed program was:" >&5
8645 sed 's/^/| /' conftest.
$ac_ext >&5
8647 # It does not; compile a test program.
8648 if test "$cross_compiling" = yes; then
8649 # try to guess the endianness by grepping values into an object file
8650 ac_cv_c_bigendian
=unknown
8651 cat >conftest.
$ac_ext <<_ACEOF
8654 cat confdefs.h
>>conftest.
$ac_ext
8655 cat >>conftest.
$ac_ext <<_ACEOF
8656 /* end confdefs.h. */
8657 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8658 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8659 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
8660 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8661 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8662 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
8666 _ascii (); _ebcdic ();
8671 rm -f conftest.
$ac_objext
8672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8673 (eval $ac_compile) 2>conftest.er1
8675 grep -v '^ *+' conftest.er1
>conftest.err
8677 cat conftest.err
>&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); } &&
8680 { ac_try
='test -z "$ac_c_werror_flag"
8681 || test ! -s conftest.err'
8682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; } &&
8687 { ac_try
='test -s conftest.$ac_objext'
8688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; }; then
8693 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
8694 ac_cv_c_bigendian
=yes
8696 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
8697 if test "$ac_cv_c_bigendian" = unknown
; then
8698 ac_cv_c_bigendian
=no
8700 # finding both strings is unlikely to happen, but who knows?
8701 ac_cv_c_bigendian
=unknown
8705 echo "$as_me: failed program was:" >&5
8706 sed 's/^/| /' conftest.
$ac_ext >&5
8709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8711 cat >conftest.
$ac_ext <<_ACEOF
8714 cat confdefs.h
>>conftest.
$ac_ext
8715 cat >>conftest.
$ac_ext <<_ACEOF
8716 /* end confdefs.h. */
8717 $ac_includes_default
8722 /* Are we little or big endian? From Harbison&Steele. */
8726 char c[sizeof (long int)];
8729 exit (u.c[sizeof (long int) - 1] == 1);
8735 rm -f conftest
$ac_exeext
8736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8737 (eval $ac_link) 2>&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); }; }; then
8746 ac_cv_c_bigendian
=no
8748 echo "$as_me: program exited with status $ac_status" >&5
8749 echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.
$ac_ext >&5
8753 ac_cv_c_bigendian
=yes
8755 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8760 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8761 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8762 case $ac_cv_c_bigendian in
8765 cat >>confdefs.h
<<\_ACEOF
8766 #define WORDS_BIGENDIAN 1
8772 { { echo "$as_me:$LINENO: error: unknown endianness
8773 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
8774 echo "$as_me: error: unknown endianness
8775 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
8776 { (exit 1); exit 1; }; } ;;
8780 # checks for libraries
8781 echo "$as_me:$LINENO: checking for main in -lc" >&5
8782 echo $ECHO_N "checking for main in -lc... $ECHO_C" >&6
8783 if test "${ac_cv_lib_c_main+set}" = set; then
8784 echo $ECHO_N "(cached) $ECHO_C" >&6
8786 ac_check_lib_save_LIBS
=$LIBS
8788 cat >conftest.
$ac_ext <<_ACEOF
8791 cat confdefs.h
>>conftest.
$ac_ext
8792 cat >>conftest.
$ac_ext <<_ACEOF
8793 /* end confdefs.h. */
8804 rm -f conftest.
$ac_objext conftest
$ac_exeext
8805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8806 (eval $ac_link) 2>conftest.er1
8808 grep -v '^ *+' conftest.er1
>conftest.err
8810 cat conftest.err
>&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } &&
8813 { ac_try
='test -z "$ac_c_werror_flag"
8814 || test ! -s conftest.err'
8815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); }; } &&
8820 { ac_try
='test -s conftest$ac_exeext'
8821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); }; }; then
8826 ac_cv_lib_c_main
=yes
8828 echo "$as_me: failed program was:" >&5
8829 sed 's/^/| /' conftest.
$ac_ext >&5
8833 rm -f conftest.err conftest.
$ac_objext \
8834 conftest
$ac_exeext conftest.
$ac_ext
8835 LIBS
=$ac_check_lib_save_LIBS
8837 echo "$as_me:$LINENO: result: $ac_cv_lib_c_main" >&5
8838 echo "${ECHO_T}$ac_cv_lib_c_main" >&6
8839 if test $ac_cv_lib_c_main = yes; then
8844 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8845 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8846 if test "${ac_cv_lib_m_sin+set}" = set; then
8847 echo $ECHO_N "(cached) $ECHO_C" >&6
8849 ac_check_lib_save_LIBS
=$LIBS
8851 cat >conftest.
$ac_ext <<_ACEOF
8854 cat confdefs.h
>>conftest.
$ac_ext
8855 cat >>conftest.
$ac_ext <<_ACEOF
8856 /* end confdefs.h. */
8858 /* Override any gcc2 internal prototype to avoid an error. */
8862 /* We use char because int might match the return type of a gcc2
8863 builtin and then its argument prototype would still apply. */
8873 rm -f conftest.
$ac_objext conftest
$ac_exeext
8874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8875 (eval $ac_link) 2>conftest.er1
8877 grep -v '^ *+' conftest.er1
>conftest.err
8879 cat conftest.err
>&5
8880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881 (exit $ac_status); } &&
8882 { ac_try
='test -z "$ac_c_werror_flag"
8883 || test ! -s conftest.err'
8884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); }; } &&
8889 { ac_try
='test -s conftest$ac_exeext'
8890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); }; }; then
8897 echo "$as_me: failed program was:" >&5
8898 sed 's/^/| /' conftest.
$ac_ext >&5
8902 rm -f conftest.err conftest.
$ac_objext \
8903 conftest
$ac_exeext conftest.
$ac_ext
8904 LIBS
=$ac_check_lib_save_LIBS
8906 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8907 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8908 if test $ac_cv_lib_m_sin = yes; then
8914 if test "X$prefix" = "XNONE"; then
8915 acl_final_prefix
="$ac_default_prefix"
8917 acl_final_prefix
="$prefix"
8919 if test "X$exec_prefix" = "XNONE"; then
8920 acl_final_exec_prefix
='${prefix}'
8922 acl_final_exec_prefix
="$exec_prefix"
8924 acl_save_prefix
="$prefix"
8925 prefix
="$acl_final_prefix"
8926 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
8927 prefix
="$acl_save_prefix"
8929 # Make sure we can run config.sub.
8930 $ac_config_sub sun4
>/dev
/null
2>&1 ||
8931 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
8932 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
8933 { (exit 1); exit 1; }; }
8935 echo "$as_me:$LINENO: checking build system type" >&5
8936 echo $ECHO_N "checking build system type... $ECHO_C" >&6
8937 if test "${ac_cv_build+set}" = set; then
8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8940 ac_cv_build_alias
=$build_alias
8941 test -z "$ac_cv_build_alias" &&
8942 ac_cv_build_alias
=`$ac_config_guess`
8943 test -z "$ac_cv_build_alias" &&
8944 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
8945 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
8946 { (exit 1); exit 1; }; }
8947 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
8948 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
8949 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
8950 { (exit 1); exit 1; }; }
8953 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
8954 echo "${ECHO_T}$ac_cv_build" >&6
8956 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
8957 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
8958 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
8961 echo "$as_me:$LINENO: checking host system type" >&5
8962 echo $ECHO_N "checking host system type... $ECHO_C" >&6
8963 if test "${ac_cv_host+set}" = set; then
8964 echo $ECHO_N "(cached) $ECHO_C" >&6
8966 ac_cv_host_alias
=$host_alias
8967 test -z "$ac_cv_host_alias" &&
8968 ac_cv_host_alias
=$ac_cv_build_alias
8969 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
8970 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
8971 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
8972 { (exit 1); exit 1; }; }
8975 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
8976 echo "${ECHO_T}$ac_cv_host" >&6
8978 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
8979 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
8980 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
8984 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8985 if test "${with_gnu_ld+set}" = set; then
8986 withval
="$with_gnu_ld"
8987 test "$withval" = no || with_gnu_ld
=yes
8991 # Prepare PATH_SEPARATOR.
8992 # The user is always right.
8993 if test "${PATH_SEPARATOR+set}" != set; then
8994 echo "#! /bin/sh" >conf$$.sh
8995 echo "exit 0" >>conf$$.sh
8997 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9005 if test "$GCC" = yes; then
9006 # Check if gcc -print-prog-name=ld gives a path.
9007 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9008 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9011 # gcc leaves a trailing carriage return which upsets mingw
9012 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9014 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9017 # Accept absolute paths.
9018 [\\/]* |
[A-Za-z
]:[\\/]*)
9019 re_direlt
='/[^/][^/]*/\.\./'
9020 # Canonicalize the path of ld
9021 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9022 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9023 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
9025 test -z "$LD" && LD
="$ac_prog"
9028 # If it fails, then pretend we aren't using GCC.
9032 # If it is relative, then search for the first ld in PATH.
9036 elif test "$with_gnu_ld" = yes; then
9037 echo "$as_me:$LINENO: checking for GNU ld" >&5
9038 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9040 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9041 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9043 if test "${acl_cv_path_LD+set}" = set; then
9044 echo $ECHO_N "(cached) $ECHO_C" >&6
9046 if test -z "$LD"; then
9047 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9048 for ac_dir
in $PATH; do
9049 test -z "$ac_dir" && ac_dir
=.
9050 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9051 acl_cv_path_LD
="$ac_dir/$ac_prog"
9052 # Check to see if the program is GNU ld. I'd rather use --version,
9053 # but apparently some GNU ld's only accept -v.
9054 # Break only if it was the GNU/non-GNU ld that we prefer.
9055 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
9056 *GNU
* |
*'with BFD'*)
9057 test "$with_gnu_ld" != no
&& break ;;
9059 test "$with_gnu_ld" != yes && break ;;
9065 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
9069 LD
="$acl_cv_path_LD"
9070 if test -n "$LD"; then
9071 echo "$as_me:$LINENO: result: $LD" >&5
9072 echo "${ECHO_T}$LD" >&6
9074 echo "$as_me:$LINENO: result: no" >&5
9075 echo "${ECHO_T}no" >&6
9077 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9078 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9079 { (exit 1); exit 1; }; }
9080 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9081 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9082 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9083 echo $ECHO_N "(cached) $ECHO_C" >&6
9085 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9086 case `$LD -v 2>&1 </dev/null` in
9087 *GNU
* |
*'with BFD'*)
9088 acl_cv_prog_gnu_ld
=yes ;;
9090 acl_cv_prog_gnu_ld
=no
;;
9093 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9094 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9095 with_gnu_ld
=$acl_cv_prog_gnu_ld
9100 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9101 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9102 if test "${acl_cv_rpath+set}" = set; then
9103 echo $ECHO_N "(cached) $ECHO_C" >&6
9106 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
9107 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9113 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9114 echo "${ECHO_T}$acl_cv_rpath" >&6
9116 libext
="$acl_cv_libext"
9117 shlibext
="$acl_cv_shlibext"
9118 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
9119 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
9120 hardcode_direct
="$acl_cv_hardcode_direct"
9121 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
9122 # Check whether --enable-rpath or --disable-rpath was given.
9123 if test "${enable_rpath+set}" = set; then
9124 enableval
="$enable_rpath"
9132 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
9133 if test -n "$searchpath"; then
9134 acl_save_IFS
="${IFS= }"; IFS
=":"
9135 for searchdir
in $searchpath; do
9136 if test -d "$searchdir"; then
9137 case "$searchdir" in
9138 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
9139 *) searchdir
=`cd "$searchdir" && pwd`
9140 case "$searchdir" in
9141 */lib64
) acl_libdirstem
=lib64
;;
9158 acl_save_prefix
="$prefix"
9159 prefix
="$acl_final_prefix"
9160 acl_save_exec_prefix
="$exec_prefix"
9161 exec_prefix
="$acl_final_exec_prefix"
9163 eval additional_includedir
=\"$includedir\"
9164 eval additional_libdir
=\"$libdir\"
9166 exec_prefix
="$acl_save_exec_prefix"
9167 prefix
="$acl_save_prefix"
9170 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9171 if test "${with_libiconv_prefix+set}" = set; then
9172 withval
="$with_libiconv_prefix"
9174 if test "X$withval" = "Xno"; then
9177 if test "X$withval" = "X"; then
9179 acl_save_prefix
="$prefix"
9180 prefix
="$acl_final_prefix"
9181 acl_save_exec_prefix
="$exec_prefix"
9182 exec_prefix
="$acl_final_exec_prefix"
9184 eval additional_includedir
=\"$includedir\"
9185 eval additional_libdir
=\"$libdir\"
9187 exec_prefix
="$acl_save_exec_prefix"
9188 prefix
="$acl_save_prefix"
9191 additional_includedir
="$withval/include"
9192 additional_libdir
="$withval/$acl_libdirstem"
9202 names_already_handled
=
9203 names_next_round
='iconv '
9204 while test -n "$names_next_round"; do
9205 names_this_round
="$names_next_round"
9207 for name
in $names_this_round; do
9209 for n
in $names_already_handled; do
9210 if test "$n" = "$name"; then
9215 if test -z "$already_handled"; then
9216 names_already_handled
="$names_already_handled $name"
9217 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9218 eval value
=\"\
$HAVE_LIB$uppername\"
9219 if test -n "$value"; then
9220 if test "$value" = yes; then
9221 eval value
=\"\
$LIB$uppername\"
9222 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9223 eval value
=\"\
$LTLIB$uppername\"
9224 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9233 if test $use_additional = yes; then
9234 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9235 found_dir
="$additional_libdir"
9236 found_so
="$additional_libdir/lib$name.$shlibext"
9237 if test -f "$additional_libdir/lib$name.la"; then
9238 found_la
="$additional_libdir/lib$name.la"
9241 if test -f "$additional_libdir/lib$name.$libext"; then
9242 found_dir
="$additional_libdir"
9243 found_a
="$additional_libdir/lib$name.$libext"
9244 if test -f "$additional_libdir/lib$name.la"; then
9245 found_la
="$additional_libdir/lib$name.la"
9250 if test "X$found_dir" = "X"; then
9251 for x
in $LDFLAGS $LTLIBICONV; do
9253 acl_save_prefix
="$prefix"
9254 prefix
="$acl_final_prefix"
9255 acl_save_exec_prefix
="$exec_prefix"
9256 exec_prefix
="$acl_final_exec_prefix"
9258 exec_prefix
="$acl_save_exec_prefix"
9259 prefix
="$acl_save_prefix"
9263 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9264 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9266 found_so
="$dir/lib$name.$shlibext"
9267 if test -f "$dir/lib$name.la"; then
9268 found_la
="$dir/lib$name.la"
9271 if test -f "$dir/lib$name.$libext"; then
9273 found_a
="$dir/lib$name.$libext"
9274 if test -f "$dir/lib$name.la"; then
9275 found_la
="$dir/lib$name.la"
9281 if test "X$found_dir" != "X"; then
9286 if test "X$found_dir" != "X"; then
9287 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9288 if test "X$found_so" != "X"; then
9289 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
9290 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9293 for x
in $ltrpathdirs; do
9294 if test "X$x" = "X$found_dir"; then
9299 if test -z "$haveit"; then
9300 ltrpathdirs
="$ltrpathdirs $found_dir"
9302 if test "$hardcode_direct" = yes; then
9303 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9305 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9306 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9308 for x
in $rpathdirs; do
9309 if test "X$x" = "X$found_dir"; then
9314 if test -z "$haveit"; then
9315 rpathdirs
="$rpathdirs $found_dir"
9319 for x
in $LDFLAGS $LIBICONV; do
9321 acl_save_prefix
="$prefix"
9322 prefix
="$acl_final_prefix"
9323 acl_save_exec_prefix
="$exec_prefix"
9324 exec_prefix
="$acl_final_exec_prefix"
9326 exec_prefix
="$acl_save_exec_prefix"
9327 prefix
="$acl_save_prefix"
9329 if test "X$x" = "X-L$found_dir"; then
9334 if test -z "$haveit"; then
9335 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9337 if test "$hardcode_minus_L" != no
; then
9338 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9340 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9346 if test "X$found_a" != "X"; then
9347 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9349 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9352 additional_includedir
=
9353 case "$found_dir" in
9354 */$acl_libdirstem |
*/$acl_libdirstem/)
9355 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
9356 additional_includedir
="$basedir/include"
9359 if test "X$additional_includedir" != "X"; then
9360 if test "X$additional_includedir" != "X/usr/include"; then
9362 if test "X$additional_includedir" = "X/usr/local/include"; then
9363 if test -n "$GCC"; then
9365 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
9369 if test -z "$haveit"; then
9370 for x
in $CPPFLAGS $INCICONV; do
9372 acl_save_prefix
="$prefix"
9373 prefix
="$acl_final_prefix"
9374 acl_save_exec_prefix
="$exec_prefix"
9375 exec_prefix
="$acl_final_exec_prefix"
9377 exec_prefix
="$acl_save_exec_prefix"
9378 prefix
="$acl_save_prefix"
9380 if test "X$x" = "X-I$additional_includedir"; then
9385 if test -z "$haveit"; then
9386 if test -d "$additional_includedir"; then
9387 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9393 if test -n "$found_la"; then
9394 save_libdir
="$libdir"
9396 */* |
*\\*) .
"$found_la" ;;
9397 *) .
"./$found_la" ;;
9399 libdir
="$save_libdir"
9400 for dep
in $dependency_libs; do
9403 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9404 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
9406 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
9407 if test -n "$GCC"; then
9409 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
9413 if test -z "$haveit"; then
9415 for x
in $LDFLAGS $LIBICONV; do
9417 acl_save_prefix
="$prefix"
9418 prefix
="$acl_final_prefix"
9419 acl_save_exec_prefix
="$exec_prefix"
9420 exec_prefix
="$acl_final_exec_prefix"
9422 exec_prefix
="$acl_save_exec_prefix"
9423 prefix
="$acl_save_prefix"
9425 if test "X$x" = "X-L$additional_libdir"; then
9430 if test -z "$haveit"; then
9431 if test -d "$additional_libdir"; then
9432 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9436 for x
in $LDFLAGS $LTLIBICONV; do
9438 acl_save_prefix
="$prefix"
9439 prefix
="$acl_final_prefix"
9440 acl_save_exec_prefix
="$exec_prefix"
9441 exec_prefix
="$acl_final_exec_prefix"
9443 exec_prefix
="$acl_save_exec_prefix"
9444 prefix
="$acl_save_prefix"
9446 if test "X$x" = "X-L$additional_libdir"; then
9451 if test -z "$haveit"; then
9452 if test -d "$additional_libdir"; then
9453 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9460 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9461 if test "$enable_rpath" != no
; then
9463 for x
in $rpathdirs; do
9464 if test "X$x" = "X$dir"; then
9469 if test -z "$haveit"; then
9470 rpathdirs
="$rpathdirs $dir"
9473 for x
in $ltrpathdirs; do
9474 if test "X$x" = "X$dir"; then
9479 if test -z "$haveit"; then
9480 ltrpathdirs
="$ltrpathdirs $dir"
9485 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9488 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9491 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
9492 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9498 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9499 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9505 if test "X$rpathdirs" != "X"; then
9506 if test -n "$hardcode_libdir_separator"; then
9508 for found_dir
in $rpathdirs; do
9509 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9511 acl_save_libdir
="$libdir"
9513 eval flag
=\"$hardcode_libdir_flag_spec\"
9514 libdir
="$acl_save_libdir"
9515 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9517 for found_dir
in $rpathdirs; do
9518 acl_save_libdir
="$libdir"
9520 eval flag
=\"$hardcode_libdir_flag_spec\"
9521 libdir
="$acl_save_libdir"
9522 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9526 if test "X$ltrpathdirs" != "X"; then
9527 for found_dir
in $ltrpathdirs; do
9528 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9538 am_save_CPPFLAGS
="$CPPFLAGS"
9540 for element
in $INCICONV; do
9542 for x
in $CPPFLAGS; do
9544 acl_save_prefix
="$prefix"
9545 prefix
="$acl_final_prefix"
9546 acl_save_exec_prefix
="$exec_prefix"
9547 exec_prefix
="$acl_final_exec_prefix"
9549 exec_prefix
="$acl_save_exec_prefix"
9550 prefix
="$acl_save_prefix"
9552 if test "X$x" = "X$element"; then
9557 if test -z "$haveit"; then
9558 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9563 echo "$as_me:$LINENO: checking for iconv" >&5
9564 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9565 if test "${am_cv_func_iconv+set}" = set; then
9566 echo $ECHO_N "(cached) $ECHO_C" >&6
9569 am_cv_func_iconv
="no, consider installing GNU libiconv"
9571 cat >conftest.
$ac_ext <<_ACEOF
9574 cat confdefs.h
>>conftest.
$ac_ext
9575 cat >>conftest.
$ac_ext <<_ACEOF
9576 /* end confdefs.h. */
9582 iconv_t cd = iconv_open("","");
9583 iconv(cd,NULL,NULL,NULL,NULL);
9589 rm -f conftest.
$ac_objext conftest
$ac_exeext
9590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9591 (eval $ac_link) 2>conftest.er1
9593 grep -v '^ *+' conftest.er1
>conftest.err
9595 cat conftest.err
>&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); } &&
9598 { ac_try
='test -z "$ac_c_werror_flag"
9599 || test ! -s conftest.err'
9600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 (exit $ac_status); }; } &&
9605 { ac_try
='test -s conftest$ac_exeext'
9606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); }; }; then
9611 am_cv_func_iconv
=yes
9613 echo "$as_me: failed program was:" >&5
9614 sed 's/^/| /' conftest.
$ac_ext >&5
9617 rm -f conftest.err conftest.
$ac_objext \
9618 conftest
$ac_exeext conftest.
$ac_ext
9619 if test "$am_cv_func_iconv" != yes; then
9620 am_save_LIBS
="$LIBS"
9621 LIBS
="$LIBS $LIBICONV"
9622 cat >conftest.
$ac_ext <<_ACEOF
9625 cat confdefs.h
>>conftest.
$ac_ext
9626 cat >>conftest.
$ac_ext <<_ACEOF
9627 /* end confdefs.h. */
9633 iconv_t cd = iconv_open("","");
9634 iconv(cd,NULL,NULL,NULL,NULL);
9640 rm -f conftest.
$ac_objext conftest
$ac_exeext
9641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9642 (eval $ac_link) 2>conftest.er1
9644 grep -v '^ *+' conftest.er1
>conftest.err
9646 cat conftest.err
>&5
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); } &&
9649 { ac_try
='test -z "$ac_c_werror_flag"
9650 || test ! -s conftest.err'
9651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); }; } &&
9656 { ac_try
='test -s conftest$ac_exeext'
9657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 (exit $ac_status); }; }; then
9663 am_cv_func_iconv
=yes
9665 echo "$as_me: failed program was:" >&5
9666 sed 's/^/| /' conftest.
$ac_ext >&5
9669 rm -f conftest.err conftest.
$ac_objext \
9670 conftest
$ac_exeext conftest.
$ac_ext
9671 LIBS
="$am_save_LIBS"
9675 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9676 echo "${ECHO_T}$am_cv_func_iconv" >&6
9677 if test "$am_cv_func_iconv" = yes; then
9679 cat >>confdefs.h
<<\_ACEOF
9680 #define HAVE_ICONV 1
9684 if test "$am_cv_lib_iconv" = yes; then
9685 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9686 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9687 echo "$as_me:$LINENO: result: $LIBICONV" >&5
9688 echo "${ECHO_T}$LIBICONV" >&6
9690 CPPFLAGS
="$am_save_CPPFLAGS"
9697 if test "$am_cv_func_iconv" = yes; then
9698 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9699 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9700 if test "${am_cv_proto_iconv+set}" = set; then
9701 echo $ECHO_N "(cached) $ECHO_C" >&6
9704 cat >conftest.
$ac_ext <<_ACEOF
9707 cat confdefs.h
>>conftest.
$ac_ext
9708 cat >>conftest.
$ac_ext <<_ACEOF
9709 /* end confdefs.h. */
9717 #if defined(__STDC__) || defined(__cplusplus)
9718 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9731 rm -f conftest.
$ac_objext
9732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9733 (eval $ac_compile) 2>conftest.er1
9735 grep -v '^ *+' conftest.er1
>conftest.err
9737 cat conftest.err
>&5
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); } &&
9740 { ac_try
='test -z "$ac_c_werror_flag"
9741 || test ! -s conftest.err'
9742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); }; } &&
9747 { ac_try
='test -s conftest.$ac_objext'
9748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752 (exit $ac_status); }; }; then
9753 am_cv_proto_iconv_arg1
=""
9755 echo "$as_me: failed program was:" >&5
9756 sed 's/^/| /' conftest.
$ac_ext >&5
9758 am_cv_proto_iconv_arg1
="const"
9760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9761 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
9764 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9765 echo "$as_me:$LINENO: result: ${ac_t:-
9766 }$am_cv_proto_iconv" >&5
9767 echo "${ECHO_T}${ac_t:-
9768 }$am_cv_proto_iconv" >&6
9770 cat >>confdefs.h
<<_ACEOF
9771 #define ICONV_CONST $am_cv_proto_iconv_arg1
9777 # checks for functions
9780 for ac_header
in stdlib.h unistd.h
9782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9784 echo "$as_me:$LINENO: checking for $ac_header" >&5
9785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9787 echo $ECHO_N "(cached) $ECHO_C" >&6
9789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9792 # Is the header compilable?
9793 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9795 cat >conftest.
$ac_ext <<_ACEOF
9798 cat confdefs.h
>>conftest.
$ac_ext
9799 cat >>conftest.
$ac_ext <<_ACEOF
9800 /* end confdefs.h. */
9801 $ac_includes_default
9802 #include <$ac_header>
9804 rm -f conftest.
$ac_objext
9805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9806 (eval $ac_compile) 2>conftest.er1
9808 grep -v '^ *+' conftest.er1
>conftest.err
9810 cat conftest.err
>&5
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); } &&
9813 { ac_try
='test -z "$ac_c_werror_flag"
9814 || test ! -s conftest.err'
9815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9819 (exit $ac_status); }; } &&
9820 { ac_try
='test -s conftest.$ac_objext'
9821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825 (exit $ac_status); }; }; then
9826 ac_header_compiler
=yes
9828 echo "$as_me: failed program was:" >&5
9829 sed 's/^/| /' conftest.
$ac_ext >&5
9831 ac_header_compiler
=no
9833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9835 echo "${ECHO_T}$ac_header_compiler" >&6
9837 # Is the header present?
9838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9840 cat >conftest.
$ac_ext <<_ACEOF
9843 cat confdefs.h
>>conftest.
$ac_ext
9844 cat >>conftest.
$ac_ext <<_ACEOF
9845 /* end confdefs.h. */
9846 #include <$ac_header>
9848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9851 grep -v '^ *+' conftest.er1
>conftest.err
9853 cat conftest.err
>&5
9854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855 (exit $ac_status); } >/dev
/null
; then
9856 if test -s conftest.err
; then
9857 ac_cpp_err
=$ac_c_preproc_warn_flag
9858 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9865 if test -z "$ac_cpp_err"; then
9866 ac_header_preproc
=yes
9868 echo "$as_me: failed program was:" >&5
9869 sed 's/^/| /' conftest.
$ac_ext >&5
9871 ac_header_preproc
=no
9873 rm -f conftest.err conftest.
$ac_ext
9874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9875 echo "${ECHO_T}$ac_header_preproc" >&6
9877 # So? What about this header?
9878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9884 ac_header_preproc
=yes
9887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9901 ## ------------------------------------------ ##
9902 ## Report this to the AC_PACKAGE_NAME lists. ##
9903 ## ------------------------------------------ ##
9906 sed "s/^/$as_me: WARNING: /" >&2
9909 echo "$as_me:$LINENO: checking for $ac_header" >&5
9910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9912 echo $ECHO_N "(cached) $ECHO_C" >&6
9914 eval "$as_ac_Header=\$ac_header_preproc"
9916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9921 cat >>confdefs.h
<<_ACEOF
9922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9930 for ac_func
in getpagesize
9932 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9933 echo "$as_me:$LINENO: checking for $ac_func" >&5
9934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9935 if eval "test \"\${$as_ac_var+set}\" = set"; then
9936 echo $ECHO_N "(cached) $ECHO_C" >&6
9938 cat >conftest.
$ac_ext <<_ACEOF
9941 cat confdefs.h
>>conftest.
$ac_ext
9942 cat >>conftest.
$ac_ext <<_ACEOF
9943 /* end confdefs.h. */
9944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9946 #define $ac_func innocuous_$ac_func
9948 /* System header to define __stub macros and hopefully few prototypes,
9949 which can conflict with char $ac_func (); below.
9950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9951 <limits.h> exists even on freestanding compilers. */
9954 # include <limits.h>
9956 # include <assert.h>
9961 /* Override any gcc2 internal prototype to avoid an error. */
9966 /* We use char because int might match the return type of a gcc2
9967 builtin and then its argument prototype would still apply. */
9969 /* The GNU C library defines this for functions which it implements
9970 to always fail with ENOSYS. Some functions are actually named
9971 something starting with __ and the normal name is an alias. */
9972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9975 char (*f) () = $ac_func;
9984 return f != $ac_func;
9989 rm -f conftest.
$ac_objext conftest
$ac_exeext
9990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9991 (eval $ac_link) 2>conftest.er1
9993 grep -v '^ *+' conftest.er1
>conftest.err
9995 cat conftest.err
>&5
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 (exit $ac_status); } &&
9998 { ac_try
='test -z "$ac_c_werror_flag"
9999 || test ! -s conftest.err'
10000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10001 (eval $ac_try) 2>&5
10003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10004 (exit $ac_status); }; } &&
10005 { ac_try
='test -s conftest$ac_exeext'
10006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10007 (eval $ac_try) 2>&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); }; }; then
10011 eval "$as_ac_var=yes"
10013 echo "$as_me: failed program was:" >&5
10014 sed 's/^/| /' conftest.
$ac_ext >&5
10016 eval "$as_ac_var=no"
10018 rm -f conftest.err conftest.
$ac_objext \
10019 conftest
$ac_exeext conftest.
$ac_ext
10021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10023 if test `eval echo '${'$as_ac_var'}'` = yes; then
10024 cat >>confdefs.h
<<_ACEOF
10025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10031 echo "$as_me:$LINENO: checking for working mmap" >&5
10032 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
10033 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
10034 echo $ECHO_N "(cached) $ECHO_C" >&6
10036 if test "$cross_compiling" = yes; then
10037 ac_cv_func_mmap_fixed_mapped
=no
10039 cat >conftest.
$ac_ext <<_ACEOF
10042 cat confdefs.h
>>conftest.
$ac_ext
10043 cat >>conftest.
$ac_ext <<_ACEOF
10044 /* end confdefs.h. */
10045 $ac_includes_default
10046 /* malloc might have been renamed as rpl_malloc. */
10049 /* Thanks to Mike Haertel and Jim Avera for this test.
10050 Here is a matrix of mmap possibilities:
10051 mmap private not fixed
10052 mmap private fixed at somewhere currently unmapped
10053 mmap private fixed at somewhere already mapped
10054 mmap shared not fixed
10055 mmap shared fixed at somewhere currently unmapped
10056 mmap shared fixed at somewhere already mapped
10057 For private mappings, we should verify that changes cannot be read()
10058 back from the file, nor mmap's back from the file at a different
10059 address. (There have been systems where private was not correctly
10060 implemented like the infamous i386 svr4.0, and systems where the
10061 VM page cache was not coherent with the file system buffer cache
10062 like early versions of FreeBSD and possibly contemporary NetBSD.)
10063 For shared mappings, we should conversely verify that changes get
10064 propagated back to all the places they're supposed to be.
10066 Grep wants private fixed already mapped.
10067 The main things grep needs to know about mmap are:
10068 * does it exist and is it safe to write into the mmap'd area
10069 * how to use it (BSD variants) */
10072 #include <sys/mman.h>
10074 #if !STDC_HEADERS && !HAVE_STDLIB_H
10078 /* This mess was copied from the GNU getpagesize.h. */
10079 #if !HAVE_GETPAGESIZE
10080 /* Assume that all systems that can run configure have sys/param.h. */
10081 # if !HAVE_SYS_PARAM_H
10082 # define HAVE_SYS_PARAM_H 1
10085 # ifdef _SC_PAGESIZE
10086 # define getpagesize() sysconf(_SC_PAGESIZE)
10087 # else /* no _SC_PAGESIZE */
10088 # if HAVE_SYS_PARAM_H
10089 # include <sys/param.h>
10090 # ifdef EXEC_PAGESIZE
10091 # define getpagesize() EXEC_PAGESIZE
10092 # else /* no EXEC_PAGESIZE */
10094 # define getpagesize() NBPG * CLSIZE
10097 # endif /* no CLSIZE */
10098 # else /* no NBPG */
10100 # define getpagesize() NBPC
10101 # else /* no NBPC */
10103 # define getpagesize() PAGESIZE
10104 # endif /* PAGESIZE */
10105 # endif /* no NBPC */
10106 # endif /* no NBPG */
10107 # endif /* no EXEC_PAGESIZE */
10108 # else /* no HAVE_SYS_PARAM_H */
10109 # define getpagesize() 8192 /* punt totally */
10110 # endif /* no HAVE_SYS_PARAM_H */
10111 # endif /* no _SC_PAGESIZE */
10113 #endif /* no HAVE_GETPAGESIZE */
10118 char *data, *data2, *data3;
10122 pagesize = getpagesize ();
10124 /* First, make a file with some known garbage in it. */
10125 data = (char *) malloc (pagesize);
10128 for (i = 0; i < pagesize; ++i)
10129 *(data + i) = rand ();
10131 fd = creat ("conftest.mmap", 0600);
10134 if (write (fd, data, pagesize) != pagesize)
10138 /* Next, try to mmap the file at a fixed address which already has
10139 something else allocated at it. If we can, also make sure that
10140 we see the same garbage. */
10141 fd = open ("conftest.mmap", O_RDWR);
10144 data2 = (char *) malloc (2 * pagesize);
10147 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
10148 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
10149 MAP_PRIVATE | MAP_FIXED, fd, 0L))
10151 for (i = 0; i < pagesize; ++i)
10152 if (*(data + i) != *(data2 + i))
10155 /* Finally, make sure that changes to the mapped area do not
10156 percolate back to the file as seen by read(). (This is a bug on
10157 some variants of i386 svr4.0.) */
10158 for (i = 0; i < pagesize; ++i)
10159 *(data2 + i) = *(data2 + i) + 1;
10160 data3 = (char *) malloc (pagesize);
10163 if (read (fd, data3, pagesize) != pagesize)
10165 for (i = 0; i < pagesize; ++i)
10166 if (*(data + i) != *(data3 + i))
10172 rm -f conftest
$ac_exeext
10173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10174 (eval $ac_link) 2>&5
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10179 (eval $ac_try) 2>&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); }; }; then
10183 ac_cv_func_mmap_fixed_mapped
=yes
10185 echo "$as_me: program exited with status $ac_status" >&5
10186 echo "$as_me: failed program was:" >&5
10187 sed 's/^/| /' conftest.
$ac_ext >&5
10189 ( exit $ac_status )
10190 ac_cv_func_mmap_fixed_mapped
=no
10192 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10195 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
10196 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
10197 if test $ac_cv_func_mmap_fixed_mapped = yes; then
10199 cat >>confdefs.h
<<\_ACEOF
10200 #define HAVE_MMAP 1
10204 rm -f conftest.mmap
10207 LIBS
="$LIBS $LIBC $LIBM"
10216 for ac_func
in fmod getcwd putenv snprintf strcasecmp \
10217 strerror strncasecmp strtol
10219 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10220 echo "$as_me:$LINENO: checking for $ac_func" >&5
10221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10222 if eval "test \"\${$as_ac_var+set}\" = set"; then
10223 echo $ECHO_N "(cached) $ECHO_C" >&6
10225 cat >conftest.
$ac_ext <<_ACEOF
10228 cat confdefs.h
>>conftest.
$ac_ext
10229 cat >>conftest.
$ac_ext <<_ACEOF
10230 /* end confdefs.h. */
10231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10233 #define $ac_func innocuous_$ac_func
10235 /* System header to define __stub macros and hopefully few prototypes,
10236 which can conflict with char $ac_func (); below.
10237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10238 <limits.h> exists even on freestanding compilers. */
10241 # include <limits.h>
10243 # include <assert.h>
10248 /* Override any gcc2 internal prototype to avoid an error. */
10253 /* We use char because int might match the return type of a gcc2
10254 builtin and then its argument prototype would still apply. */
10256 /* The GNU C library defines this for functions which it implements
10257 to always fail with ENOSYS. Some functions are actually named
10258 something starting with __ and the normal name is an alias. */
10259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10262 char (*f) () = $ac_func;
10271 return f != $ac_func;
10276 rm -f conftest.
$ac_objext conftest
$ac_exeext
10277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10278 (eval $ac_link) 2>conftest.er1
10280 grep -v '^ *+' conftest.er1
>conftest.err
10282 cat conftest.err
>&5
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); } &&
10285 { ac_try
='test -z "$ac_c_werror_flag"
10286 || test ! -s conftest.err'
10287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10288 (eval $ac_try) 2>&5
10290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291 (exit $ac_status); }; } &&
10292 { ac_try
='test -s conftest$ac_exeext'
10293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10294 (eval $ac_try) 2>&5
10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); }; }; then
10298 eval "$as_ac_var=yes"
10300 echo "$as_me: failed program was:" >&5
10301 sed 's/^/| /' conftest.
$ac_ext >&5
10303 eval "$as_ac_var=no"
10305 rm -f conftest.err conftest.
$ac_objext \
10306 conftest
$ac_exeext conftest.
$ac_ext
10308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10310 if test `eval echo '${'$as_ac_var'}'` = yes; then
10311 cat >>confdefs.h
<<_ACEOF
10312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10317 "$ac_func.$ac_objext" | \
10318 *" $ac_func.$ac_objext" | \
10319 "$ac_func.$ac_objext "* | \
10320 *" $ac_func.$ac_objext "* ) ;;
10321 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
10328 # vsnprintf is in the same source file as snprintf
10330 for ac_func
in vsnprintf
10332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10333 echo "$as_me:$LINENO: checking for $ac_func" >&5
10334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10335 if eval "test \"\${$as_ac_var+set}\" = set"; then
10336 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 cat >conftest.
$ac_ext <<_ACEOF
10341 cat confdefs.h
>>conftest.
$ac_ext
10342 cat >>conftest.
$ac_ext <<_ACEOF
10343 /* end confdefs.h. */
10344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10346 #define $ac_func innocuous_$ac_func
10348 /* System header to define __stub macros and hopefully few prototypes,
10349 which can conflict with char $ac_func (); below.
10350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10351 <limits.h> exists even on freestanding compilers. */
10354 # include <limits.h>
10356 # include <assert.h>
10361 /* Override any gcc2 internal prototype to avoid an error. */
10366 /* We use char because int might match the return type of a gcc2
10367 builtin and then its argument prototype would still apply. */
10369 /* The GNU C library defines this for functions which it implements
10370 to always fail with ENOSYS. Some functions are actually named
10371 something starting with __ and the normal name is an alias. */
10372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10375 char (*f) () = $ac_func;
10384 return f != $ac_func;
10389 rm -f conftest.
$ac_objext conftest
$ac_exeext
10390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10391 (eval $ac_link) 2>conftest.er1
10393 grep -v '^ *+' conftest.er1
>conftest.err
10395 cat conftest.err
>&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } &&
10398 { ac_try
='test -z "$ac_c_werror_flag"
10399 || test ! -s conftest.err'
10400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10401 (eval $ac_try) 2>&5
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); }; } &&
10405 { ac_try
='test -s conftest$ac_exeext'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; }; then
10411 eval "$as_ac_var=yes"
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.
$ac_ext >&5
10416 eval "$as_ac_var=no"
10418 rm -f conftest.err conftest.
$ac_objext \
10419 conftest
$ac_exeext conftest.
$ac_ext
10421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10423 if test `eval echo '${'$as_ac_var'}'` = yes; then
10424 cat >>confdefs.h
<<_ACEOF
10425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10430 "snprintf.$ac_objext" | \
10431 *" snprintf.$ac_objext" | \
10432 "snprintf.$ac_objext "* | \
10433 *" snprintf.$ac_objext "* ) ;;
10434 *) LIBOBJS
="$LIBOBJS snprintf.$ac_objext" ;;
10447 for ac_func
in gettimeofday isatty
kill rename setlocale strsep
10449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10450 echo "$as_me:$LINENO: checking for $ac_func" >&5
10451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10452 if eval "test \"\${$as_ac_var+set}\" = set"; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10455 cat >conftest.
$ac_ext <<_ACEOF
10458 cat confdefs.h
>>conftest.
$ac_ext
10459 cat >>conftest.
$ac_ext <<_ACEOF
10460 /* end confdefs.h. */
10461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10463 #define $ac_func innocuous_$ac_func
10465 /* System header to define __stub macros and hopefully few prototypes,
10466 which can conflict with char $ac_func (); below.
10467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10468 <limits.h> exists even on freestanding compilers. */
10471 # include <limits.h>
10473 # include <assert.h>
10478 /* Override any gcc2 internal prototype to avoid an error. */
10483 /* We use char because int might match the return type of a gcc2
10484 builtin and then its argument prototype would still apply. */
10486 /* The GNU C library defines this for functions which it implements
10487 to always fail with ENOSYS. Some functions are actually named
10488 something starting with __ and the normal name is an alias. */
10489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10492 char (*f) () = $ac_func;
10501 return f != $ac_func;
10506 rm -f conftest.
$ac_objext conftest
$ac_exeext
10507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10508 (eval $ac_link) 2>conftest.er1
10510 grep -v '^ *+' conftest.er1
>conftest.err
10512 cat conftest.err
>&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); } &&
10515 { ac_try
='test -z "$ac_c_werror_flag"
10516 || test ! -s conftest.err'
10517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10518 (eval $ac_try) 2>&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); }; } &&
10522 { ac_try
='test -s conftest$ac_exeext'
10523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10524 (eval $ac_try) 2>&5
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); }; }; then
10528 eval "$as_ac_var=yes"
10530 echo "$as_me: failed program was:" >&5
10531 sed 's/^/| /' conftest.
$ac_ext >&5
10533 eval "$as_ac_var=no"
10535 rm -f conftest.err conftest.
$ac_objext \
10536 conftest
$ac_exeext conftest.
$ac_ext
10538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10540 if test `eval echo '${'$as_ac_var'}'` = yes; then
10541 cat >>confdefs.h
<<_ACEOF
10542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10548 echo "$as_me:$LINENO: checking for mkstemp" >&5
10549 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
10551 ac_cpp
='$CXXCPP $CPPFLAGS'
10552 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10553 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10554 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10557 cat >conftest.
$ac_ext <<_ACEOF
10561 cat confdefs.h
>>conftest.
$ac_ext
10562 cat >>conftest.
$ac_ext <<_ACEOF
10563 /* end confdefs.h. */
10566 #include <stdlib.h>
10567 #include <unistd.h>
10584 rm -f conftest.
$ac_objext conftest
$ac_exeext
10585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10586 (eval $ac_link) 2>conftest.er1
10588 grep -v '^ *+' conftest.er1
>conftest.err
10590 cat conftest.err
>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); } &&
10593 { ac_try
='test -z "$ac_cxx_werror_flag"
10594 || test ! -s conftest.err'
10595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10596 (eval $ac_try) 2>&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); }; } &&
10600 { ac_try
='test -s conftest$ac_exeext'
10601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10602 (eval $ac_try) 2>&5
10604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); }; }; then
10606 echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10609 cat >>confdefs.h
<<\_ACEOF
10610 #define HAVE_MKSTEMP 1
10614 echo "$as_me: failed program was:" >&5
10615 sed 's/^/| /' conftest.
$ac_ext >&5
10617 echo "$as_me:$LINENO: result: no" >&5
10618 echo "${ECHO_T}no" >&6
10620 "mkstemp.$ac_objext" | \
10621 *" mkstemp.$ac_objext" | \
10622 "mkstemp.$ac_objext "* | \
10623 *" mkstemp.$ac_objext "* ) ;;
10624 *) LIBOBJS
="$LIBOBJS mkstemp.$ac_objext" ;;
10628 rm -f conftest.err conftest.
$ac_objext \
10629 conftest
$ac_exeext conftest.
$ac_ext
10631 ac_cpp
='$CPP $CPPFLAGS'
10632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10636 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
10637 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
10638 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 cat >conftest.
$ac_ext <<_ACEOF
10644 cat confdefs.h
>>conftest.
$ac_ext
10645 cat >>conftest.
$ac_ext <<_ACEOF
10646 /* end confdefs.h. */
10647 $ac_includes_default
10651 #ifndef sys_siglist
10652 char *p = (char *) sys_siglist;
10659 rm -f conftest.
$ac_objext
10660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10661 (eval $ac_compile) 2>conftest.er1
10663 grep -v '^ *+' conftest.er1
>conftest.err
10665 cat conftest.err
>&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); } &&
10668 { ac_try
='test -z "$ac_c_werror_flag"
10669 || test ! -s conftest.err'
10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); }; } &&
10675 { ac_try
='test -s conftest.$ac_objext'
10676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10677 (eval $ac_try) 2>&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); }; }; then
10681 ac_cv_have_decl_sys_siglist
=yes
10683 echo "$as_me: failed program was:" >&5
10684 sed 's/^/| /' conftest.
$ac_ext >&5
10686 ac_cv_have_decl_sys_siglist
=no
10688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10690 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
10691 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
10692 if test $ac_cv_have_decl_sys_siglist = yes; then
10694 cat >>confdefs.h
<<_ACEOF
10695 #define HAVE_DECL_SYS_SIGLIST 1
10700 cat >>confdefs.h
<<_ACEOF
10701 #define HAVE_DECL_SYS_SIGLIST 0
10706 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
10707 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
10708 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
10709 echo $ECHO_N "(cached) $ECHO_C" >&6
10711 cat >conftest.
$ac_ext <<_ACEOF
10714 cat confdefs.h
>>conftest.
$ac_ext
10715 cat >>conftest.
$ac_ext <<_ACEOF
10716 /* end confdefs.h. */
10717 $ac_includes_default
10721 #ifndef getc_unlocked
10722 char *p = (char *) getc_unlocked;
10729 rm -f conftest.
$ac_objext
10730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10731 (eval $ac_compile) 2>conftest.er1
10733 grep -v '^ *+' conftest.er1
>conftest.err
10735 cat conftest.err
>&5
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); } &&
10738 { ac_try
='test -z "$ac_c_werror_flag"
10739 || test ! -s conftest.err'
10740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10741 (eval $ac_try) 2>&5
10743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744 (exit $ac_status); }; } &&
10745 { ac_try
='test -s conftest.$ac_objext'
10746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10747 (eval $ac_try) 2>&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); }; }; then
10751 ac_cv_have_decl_getc_unlocked
=yes
10753 echo "$as_me: failed program was:" >&5
10754 sed 's/^/| /' conftest.
$ac_ext >&5
10756 ac_cv_have_decl_getc_unlocked
=no
10758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10760 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
10761 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
10762 if test $ac_cv_have_decl_getc_unlocked = yes; then
10764 cat >>confdefs.h
<<_ACEOF
10765 #define HAVE_DECL_GETC_UNLOCKED 1
10770 cat >>confdefs.h
<<_ACEOF
10771 #define HAVE_DECL_GETC_UNLOCKED 0
10779 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
10780 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
10781 if test "${am_cv_langinfo_codeset+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10784 cat >conftest.
$ac_ext <<_ACEOF
10787 cat confdefs.h
>>conftest.
$ac_ext
10788 cat >>conftest.
$ac_ext <<_ACEOF
10789 /* end confdefs.h. */
10790 #include <langinfo.h>
10794 char* cs = nl_langinfo(CODESET);
10799 rm -f conftest.
$ac_objext conftest
$ac_exeext
10800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10801 (eval $ac_link) 2>conftest.er1
10803 grep -v '^ *+' conftest.er1
>conftest.err
10805 cat conftest.err
>&5
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); } &&
10808 { ac_try
='test -z "$ac_c_werror_flag"
10809 || test ! -s conftest.err'
10810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10811 (eval $ac_try) 2>&5
10813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10814 (exit $ac_status); }; } &&
10815 { ac_try
='test -s conftest$ac_exeext'
10816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10817 (eval $ac_try) 2>&5
10819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820 (exit $ac_status); }; }; then
10821 am_cv_langinfo_codeset
=yes
10823 echo "$as_me: failed program was:" >&5
10824 sed 's/^/| /' conftest.
$ac_ext >&5
10826 am_cv_langinfo_codeset
=no
10828 rm -f conftest.err conftest.
$ac_objext \
10829 conftest
$ac_exeext conftest.
$ac_ext
10832 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
10833 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
10834 if test $am_cv_langinfo_codeset = yes; then
10836 cat >>confdefs.h
<<\_ACEOF
10837 #define HAVE_LANGINFO_CODESET 1
10843 # checks for compiler characteristics
10845 ac_cpp
='$CXXCPP $CPPFLAGS'
10846 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10847 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10848 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10850 echo "$as_me:$LINENO: checking whether ANSI array delete syntax is supported" >&5
10851 echo $ECHO_N "checking whether ANSI array delete syntax is supported... $ECHO_C" >&6
10852 cat >conftest.
$ac_ext <<_ACEOF
10856 cat confdefs.h
>>conftest.
$ac_ext
10857 cat >>conftest.
$ac_ext <<_ACEOF
10858 /* end confdefs.h. */
10865 char *p = new char[5];
10874 rm -f conftest.
$ac_objext
10875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10876 (eval $ac_compile) 2>conftest.er1
10878 grep -v '^ *+' conftest.er1
>conftest.err
10880 cat conftest.err
>&5
10881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882 (exit $ac_status); } &&
10883 { ac_try
='test -z "$ac_cxx_werror_flag"
10884 || test ! -s conftest.err'
10885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10886 (eval $ac_try) 2>&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); }; } &&
10890 { ac_try
='test -s conftest.$ac_objext'
10891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10892 (eval $ac_try) 2>&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); }; }; then
10896 echo "$as_me:$LINENO: result: yes" >&5
10897 echo "${ECHO_T}yes" >&6
10899 echo "$as_me: failed program was:" >&5
10900 sed 's/^/| /' conftest.
$ac_ext >&5
10902 echo "$as_me:$LINENO: result: no" >&5
10903 echo "${ECHO_T}no" >&6
10905 cat >>confdefs.h
<<\_ACEOF
10906 #define ARRAY_DELETE_NEEDS_SIZE 1
10910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10912 ac_cpp
='$CPP $CPPFLAGS'
10913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10918 ac_cpp
='$CXXCPP $CPPFLAGS'
10919 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10920 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10921 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10923 echo "$as_me:$LINENO: checking traditional preprocessor" >&5
10924 echo $ECHO_N "checking traditional preprocessor... $ECHO_C" >&6
10925 cat >conftest.
$ac_ext <<_ACEOF
10929 cat confdefs.h
>>conftest.
$ac_ext
10930 cat >>conftest.
$ac_ext <<_ACEOF
10931 /* end confdefs.h. */
10934 #define name2(a, b) a/**/b
10942 int name2(foo, bar);
10950 rm -f conftest.
$ac_objext
10951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10952 (eval $ac_compile) 2>conftest.er1
10954 grep -v '^ *+' conftest.er1
>conftest.err
10956 cat conftest.err
>&5
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); } &&
10959 { ac_try
='test -z "$ac_cxx_werror_flag"
10960 || test ! -s conftest.err'
10961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10962 (eval $ac_try) 2>&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); }; } &&
10966 { ac_try
='test -s conftest.$ac_objext'
10967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10968 (eval $ac_try) 2>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); }; }; then
10972 echo "$as_me:$LINENO: result: yes" >&5
10973 echo "${ECHO_T}yes" >&6
10975 cat >>confdefs.h
<<\_ACEOF
10976 #define TRADITIONAL_CPP 1
10980 echo "$as_me: failed program was:" >&5
10981 sed 's/^/| /' conftest.
$ac_ext >&5
10983 echo "$as_me:$LINENO: result: no" >&5
10984 echo "${ECHO_T}no" >&6
10986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10988 ac_cpp
='$CPP $CPPFLAGS'
10989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10994 # checks for operating system services
10995 echo "$as_me:$LINENO: checking w_coredump" >&5
10996 echo $ECHO_N "checking w_coredump... $ECHO_C" >&6
10997 if test "$cross_compiling" = yes; then
10998 echo "$as_me:$LINENO: result: no" >&5
10999 echo "${ECHO_T}no" >&6
11001 cat >conftest.
$ac_ext <<_ACEOF
11005 cat confdefs.h
>>conftest.
$ac_ext
11006 cat >>conftest.
$ac_ext <<_ACEOF
11007 /* end confdefs.h. */
11010 #include <sys/types.h>
11011 #include <sys/wait.h>
11025 ((union wait *)&i)->w_coredump = 1;
11036 rm -f conftest
$ac_exeext
11037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11038 (eval $ac_link) 2>&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11043 (eval $ac_try) 2>&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); }; }; then
11047 echo "$as_me:$LINENO: result: yes" >&5
11048 echo "${ECHO_T}yes" >&6
11050 cat >>confdefs.h
<<\_ACEOF
11051 #define WCOREFLAG 0200
11055 echo "$as_me: program exited with status $ac_status" >&5
11056 echo "$as_me: failed program was:" >&5
11057 sed 's/^/| /' conftest.
$ac_ext >&5
11059 ( exit $ac_status )
11060 echo "$as_me:$LINENO: result: no" >&5
11061 echo "${ECHO_T}no" >&6
11063 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11066 # other random stuff
11067 echo "$as_me:$LINENO: checking default value for grops -b option" >&5
11068 echo $ECHO_N "checking default value for grops -b option... $ECHO_C" >&6
11069 test -n "${BROKEN_SPOOLER_FLAGS}" || BROKEN_SPOOLER_FLAGS
=0
11070 echo "$as_me:$LINENO: result: $BROKEN_SPOOLER_FLAGS" >&5
11071 echo "${ECHO_T}$BROKEN_SPOOLER_FLAGS" >&6
11073 echo "$as_me:$LINENO: checking default paper size" >&5
11074 echo $ECHO_N "checking default paper size... $ECHO_C" >&6
11075 groff_prefix
=$prefix
11076 test "x$prefix" = "xNONE" && groff_prefix
=$ac_default_prefix
11077 if test -z "$PAGE"; then
11079 if test -r $groff_prefix/share
/groff
/font
/devps
/DESC
; then
11080 descfile
=$groff_prefix/share
/groff
/font
/devps
/DESC
11081 elif test -r $groff_prefix/lib
/groff
/font
/devps
/DESC
; then
11082 descfile
=$groff_prefix/lib
/groff
/font
/devps
/DESC
11084 for f
in $groff_prefix/share
/groff
/*/font
/devps
/DESC
; do
11085 if test -r $f; then
11092 if test -n "$descfile"; then
11093 if grep '^paperlength[ ]\+841890' $descfile >/dev
/null
2>&1; then
11095 elif grep '^papersize[ ]\+[aA]4' $descfile >/dev
/null
2>&1; then
11101 if test -z "$PAGE"; then
11102 dom
=`awk '($1 == "dom" || $1 == "search") { print $2; exit}' \
11103 /etc/resolv.conf 2>/dev/null`
11104 if test -z "$dom"; then
11105 dom
=`(domainname) 2>/dev/null | tr -d '+'`
11106 if test -z "$dom" \
11107 ||
test "$dom" = '(none)'; then
11108 dom
=`(hostname) 2>/dev/null | grep '\.'`
11111 # If the top-level domain is two letters and it's not `us' or `ca'
11112 # then they probably use A4 paper.
11114 *.
[Uu
][Ss
]|
*.
[Cc
][Aa
])
11116 *.
[A-Za-z
][A-Za-z
])
11121 test -n "$PAGE" || PAGE
=letter
11122 if test "x$PAGE" = "xA4"; then
11124 cat >>confdefs.h
<<\_ACEOF
11129 echo "$as_me:$LINENO: result: $PAGE" >&5
11130 echo "${ECHO_T}$PAGE" >&6
11132 echo "$as_me:$LINENO: checking for existing troff installation" >&5
11133 echo $ECHO_N "checking for existing troff installation... $ECHO_C" >&6
11134 if test "x`(echo .tm '|n(.g' | tr '|' '\\\\' | troff -z -i 2>&1) 2>/dev/null`" = x0
; then
11135 echo "$as_me:$LINENO: result: yes" >&5
11136 echo "${ECHO_T}yes" >&6
11139 echo "$as_me:$LINENO: result: no" >&5
11140 echo "${ECHO_T}no" >&6
11144 echo "$as_me:$LINENO: checking for prefix of system macro packages" >&5
11145 echo $ECHO_N "checking for prefix of system macro packages... $ECHO_C" >&6
11147 sys_tmac_file_prefix
=
11148 for d
in /usr
/share
/lib
/tmac
/usr
/lib
/tmac
; do
11149 for t
in "" tmac.
; do
11150 for m
in an s m
; do
11152 if test -z "$sys_tmac_prefix" \
11154 && grep '^\.if' $f >/dev
/null
2>&1; then
11155 sys_tmac_prefix
=$d/$t
11156 sys_tmac_file_prefix
=$t
11161 echo "$as_me:$LINENO: result: $sys_tmac_prefix" >&5
11162 echo "${ECHO_T}$sys_tmac_prefix" >&6
11165 echo "$as_me:$LINENO: checking which system macro packages should be made available" >&5
11166 echo $ECHO_N "checking which system macro packages should be made available... $ECHO_C" >&6
11168 if test "x$sys_tmac_file_prefix" = "xtmac."; then
11169 for f
in $sys_tmac_prefix*; do
11170 suff
=`echo $f | sed -e "s;$sys_tmac_prefix;;"`
11175 grep "Copyright.*Free Software Foundation" $f >/dev
/null \
11176 || tmac_wrap
="$tmac_wrap $suff" ;;
11179 elif test -n "$sys_tmac_prefix"; then
11180 files
=`echo $sys_tmac_prefix*`
11181 grep "\\.so" $files >conftest.sol
11182 for f
in $files; do
11184 ${sys_tmac_prefix}e
)
11192 if grep "\\.so.*/$b\$" conftest.sol
>/dev
/null \
11193 ||
grep -l "Copyright.*Free Software Foundation" $f >/dev
/null
; then
11196 suff
=`echo $f | sed -e "s;$sys_tmac_prefix;;"`
11201 tmac_wrap
="$tmac_wrap $suff" ;;
11208 echo "$as_me:$LINENO: result: $tmac_wrap" >&5
11209 echo "${ECHO_T}$tmac_wrap" >&6
11211 echo "$as_me:$LINENO: checking separator character to use in groff search paths" >&5
11212 echo $ECHO_N "checking separator character to use in groff search paths... $ECHO_C" >&6
11213 cp ${srcdir}/src
/include
/nonposix.h conftest.h
11214 cat >conftest.
$ac_ext <<_ACEOF
11218 cat confdefs.h
>>conftest.
$ac_ext
11219 cat >>conftest.
$ac_ext <<_ACEOF
11220 /* end confdefs.h. */
11224 #include "conftest.h"
11232 #if PATH_SEP_CHAR == ';'
11233 make an error "Path separator is ';'"
11242 rm -f conftest.
$ac_objext
11243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11244 (eval $ac_compile) 2>conftest.er1
11246 grep -v '^ *+' conftest.er1
>conftest.err
11248 cat conftest.err
>&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); } &&
11251 { ac_try
='test -z "$ac_c_werror_flag"
11252 || test ! -s conftest.err'
11253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11254 (eval $ac_try) 2>&5
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); }; } &&
11258 { ac_try
='test -s conftest.$ac_objext'
11259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11260 (eval $ac_try) 2>&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); }; }; then
11264 GROFF_PATH_SEPARATOR
=":"
11266 echo "$as_me: failed program was:" >&5
11267 sed 's/^/| /' conftest.
$ac_ext >&5
11269 GROFF_PATH_SEPARATOR
=";"
11271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11272 echo "$as_me:$LINENO: result: $GROFF_PATH_SEPARATOR" >&5
11273 echo "${ECHO_T}$GROFF_PATH_SEPARATOR" >&6
11276 # Check whether --with-alt-gs or --without-alt-gs was given.
11277 if test "${with_alt_gs+set}" = set; then
11278 withval
="$with_alt_gs"
11279 ALT_GHOSTSCRIPT_PROGS
="$withval"
11281 ALT_GHOSTSCRIPT_PROGS
="gs gswin32c gsos2"
11286 # Check whether --with-gs or --without-gs was given.
11287 if test "${with_gs+set}" = set; then
11289 GHOSTSCRIPT
=$withval
11291 if test -n "$ac_tool_prefix"; then
11292 for ac_prog
in $ALT_GHOSTSCRIPT_PROGS
11294 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11295 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11296 echo "$as_me:$LINENO: checking for $ac_word" >&5
11297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11298 if test "${ac_cv_prog_GHOSTSCRIPT+set}" = set; then
11299 echo $ECHO_N "(cached) $ECHO_C" >&6
11301 if test -n "$GHOSTSCRIPT"; then
11302 ac_cv_prog_GHOSTSCRIPT
="$GHOSTSCRIPT" # Let the user override the test.
11304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11305 for as_dir
in $PATH
11308 test -z "$as_dir" && as_dir
=.
11309 for ac_exec_ext
in '' $ac_executable_extensions; do
11310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11311 ac_cv_prog_GHOSTSCRIPT
="$ac_tool_prefix$ac_prog"
11312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11320 GHOSTSCRIPT
=$ac_cv_prog_GHOSTSCRIPT
11321 if test -n "$GHOSTSCRIPT"; then
11322 echo "$as_me:$LINENO: result: $GHOSTSCRIPT" >&5
11323 echo "${ECHO_T}$GHOSTSCRIPT" >&6
11325 echo "$as_me:$LINENO: result: no" >&5
11326 echo "${ECHO_T}no" >&6
11329 test -n "$GHOSTSCRIPT" && break
11332 if test -z "$GHOSTSCRIPT"; then
11333 ac_ct_GHOSTSCRIPT
=$GHOSTSCRIPT
11334 for ac_prog
in $ALT_GHOSTSCRIPT_PROGS
11336 # Extract the first word of "$ac_prog", so it can be a program name with args.
11337 set dummy
$ac_prog; ac_word
=$2
11338 echo "$as_me:$LINENO: checking for $ac_word" >&5
11339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11340 if test "${ac_cv_prog_ac_ct_GHOSTSCRIPT+set}" = set; then
11341 echo $ECHO_N "(cached) $ECHO_C" >&6
11343 if test -n "$ac_ct_GHOSTSCRIPT"; then
11344 ac_cv_prog_ac_ct_GHOSTSCRIPT
="$ac_ct_GHOSTSCRIPT" # Let the user override the test.
11346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11347 for as_dir
in $PATH
11350 test -z "$as_dir" && as_dir
=.
11351 for ac_exec_ext
in '' $ac_executable_extensions; do
11352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11353 ac_cv_prog_ac_ct_GHOSTSCRIPT
="$ac_prog"
11354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11362 ac_ct_GHOSTSCRIPT
=$ac_cv_prog_ac_ct_GHOSTSCRIPT
11363 if test -n "$ac_ct_GHOSTSCRIPT"; then
11364 echo "$as_me:$LINENO: result: $ac_ct_GHOSTSCRIPT" >&5
11365 echo "${ECHO_T}$ac_ct_GHOSTSCRIPT" >&6
11367 echo "$as_me:$LINENO: result: no" >&5
11368 echo "${ECHO_T}no" >&6
11371 test -n "$ac_ct_GHOSTSCRIPT" && break
11374 if test "x$ac_ct_GHOSTSCRIPT" = x
; then
11375 GHOSTSCRIPT
="missing"
11377 if test "$build" != "$host"; then
11378 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11379 whose name does not start with the host triplet. If you think this
11380 configuration is useful to you, please write to autoconf@gnu.org." >&5
11381 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11382 whose name does not start with the host triplet. If you think this
11383 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11385 GHOSTSCRIPT
=$ac_ct_GHOSTSCRIPT
11390 test "$GHOSTSCRIPT" = "no" && GHOSTSCRIPT
=missing
11393 make_install_html
=install_html
11396 # Extract the first word of "pnmcut", so it can be a program name with args.
11397 set dummy pnmcut
; ac_word
=$2
11398 echo "$as_me:$LINENO: checking for $ac_word" >&5
11399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11400 if test "${ac_cv_prog_pnmcut+set}" = set; then
11401 echo $ECHO_N "(cached) $ECHO_C" >&6
11403 if test -n "$pnmcut"; then
11404 ac_cv_prog_pnmcut
="$pnmcut" # Let the user override the test.
11406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11407 for as_dir
in $PATH
11410 test -z "$as_dir" && as_dir
=.
11411 for ac_exec_ext
in '' $ac_executable_extensions; do
11412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11413 ac_cv_prog_pnmcut
="found"
11414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11420 test -z "$ac_cv_prog_pnmcut" && ac_cv_prog_pnmcut
="missing"
11423 pnmcut
=$ac_cv_prog_pnmcut
11424 if test -n "$pnmcut"; then
11425 echo "$as_me:$LINENO: result: $pnmcut" >&5
11426 echo "${ECHO_T}$pnmcut" >&6
11428 echo "$as_me:$LINENO: result: no" >&5
11429 echo "${ECHO_T}no" >&6
11432 if test $pnmcut = missing
; then
11433 missing
="$missing \`pnmcut'"
11434 fi;# Extract the first word of "pnmcrop", so it can be a program name with args.
11435 set dummy pnmcrop
; ac_word
=$2
11436 echo "$as_me:$LINENO: checking for $ac_word" >&5
11437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11438 if test "${ac_cv_prog_pnmcrop+set}" = set; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11441 if test -n "$pnmcrop"; then
11442 ac_cv_prog_pnmcrop
="$pnmcrop" # Let the user override the test.
11444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11445 for as_dir
in $PATH
11448 test -z "$as_dir" && as_dir
=.
11449 for ac_exec_ext
in '' $ac_executable_extensions; do
11450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11451 ac_cv_prog_pnmcrop
="found"
11452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11458 test -z "$ac_cv_prog_pnmcrop" && ac_cv_prog_pnmcrop
="missing"
11461 pnmcrop
=$ac_cv_prog_pnmcrop
11462 if test -n "$pnmcrop"; then
11463 echo "$as_me:$LINENO: result: $pnmcrop" >&5
11464 echo "${ECHO_T}$pnmcrop" >&6
11466 echo "$as_me:$LINENO: result: no" >&5
11467 echo "${ECHO_T}no" >&6
11470 if test $pnmcrop = missing
; then
11471 missing
="$missing \`pnmcrop'"
11472 fi;# Extract the first word of "pnmtopng", so it can be a program name with args.
11473 set dummy pnmtopng
; ac_word
=$2
11474 echo "$as_me:$LINENO: checking for $ac_word" >&5
11475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11476 if test "${ac_cv_prog_pnmtopng+set}" = set; then
11477 echo $ECHO_N "(cached) $ECHO_C" >&6
11479 if test -n "$pnmtopng"; then
11480 ac_cv_prog_pnmtopng
="$pnmtopng" # Let the user override the test.
11482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11483 for as_dir
in $PATH
11486 test -z "$as_dir" && as_dir
=.
11487 for ac_exec_ext
in '' $ac_executable_extensions; do
11488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11489 ac_cv_prog_pnmtopng
="found"
11490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11496 test -z "$ac_cv_prog_pnmtopng" && ac_cv_prog_pnmtopng
="missing"
11499 pnmtopng
=$ac_cv_prog_pnmtopng
11500 if test -n "$pnmtopng"; then
11501 echo "$as_me:$LINENO: result: $pnmtopng" >&5
11502 echo "${ECHO_T}$pnmtopng" >&6
11504 echo "$as_me:$LINENO: result: no" >&5
11505 echo "${ECHO_T}no" >&6
11508 if test $pnmtopng = missing
; then
11509 missing
="$missing \`pnmtopng'"
11510 fi;# Extract the first word of "psselect", so it can be a program name with args.
11511 set dummy psselect
; ac_word
=$2
11512 echo "$as_me:$LINENO: checking for $ac_word" >&5
11513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11514 if test "${ac_cv_prog_psselect+set}" = set; then
11515 echo $ECHO_N "(cached) $ECHO_C" >&6
11517 if test -n "$psselect"; then
11518 ac_cv_prog_psselect
="$psselect" # Let the user override the test.
11520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11521 for as_dir
in $PATH
11524 test -z "$as_dir" && as_dir
=.
11525 for ac_exec_ext
in '' $ac_executable_extensions; do
11526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11527 ac_cv_prog_psselect
="found"
11528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11534 test -z "$ac_cv_prog_psselect" && ac_cv_prog_psselect
="missing"
11537 psselect
=$ac_cv_prog_psselect
11538 if test -n "$psselect"; then
11539 echo "$as_me:$LINENO: result: $psselect" >&5
11540 echo "${ECHO_T}$psselect" >&6
11542 echo "$as_me:$LINENO: result: no" >&5
11543 echo "${ECHO_T}no" >&6
11546 if test $psselect = missing
; then
11547 missing
="$missing \`psselect'"
11548 fi;# Extract the first word of "pnmtops", so it can be a program name with args.
11549 set dummy pnmtops
; ac_word
=$2
11550 echo "$as_me:$LINENO: checking for $ac_word" >&5
11551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11552 if test "${ac_cv_prog_pnmtops+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 if test -n "$pnmtops"; then
11556 ac_cv_prog_pnmtops
="$pnmtops" # Let the user override the test.
11558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11559 for as_dir
in $PATH
11562 test -z "$as_dir" && as_dir
=.
11563 for ac_exec_ext
in '' $ac_executable_extensions; do
11564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11565 ac_cv_prog_pnmtops
="found"
11566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11572 test -z "$ac_cv_prog_pnmtops" && ac_cv_prog_pnmtops
="missing"
11575 pnmtops
=$ac_cv_prog_pnmtops
11576 if test -n "$pnmtops"; then
11577 echo "$as_me:$LINENO: result: $pnmtops" >&5
11578 echo "${ECHO_T}$pnmtops" >&6
11580 echo "$as_me:$LINENO: result: no" >&5
11581 echo "${ECHO_T}no" >&6
11584 if test $pnmtops = missing
; then
11585 missing
="$missing \`pnmtops'"
11588 test "$GHOSTSCRIPT" = "missing" && missing
="$missing \`gs'"
11590 if test -n "$missing"; then
11591 plural
=`set $missing; test $# -gt 1 && echo s`
11592 missing
=`set $missing
11594 while test $# -gt 0
11597 1) missing="$missing$1" ;;
11598 2) missing="$missing$1 and " ;;
11599 *) missing="$missing$1, " ;;
11608 { echo "$as_me:$LINENO: WARNING: missing program$plural:
11612 cannot be found in the PATH.
11613 Consequently, groff's HTML backend (grohtml) will not work properly;
11614 therefore, it will neither be possible to prepare, nor to install,
11615 documentation in HTML format.
11617 echo "$as_me: WARNING: missing program$plural:
11621 cannot be found in the PATH.
11622 Consequently, groff's HTML backend (grohtml) will not work properly;
11623 therefore, it will neither be possible to prepare, nor to install,
11624 documentation in HTML format.
11631 # Check whether --with-alt-awk or --without-alt-awk was given.
11632 if test "${with_alt_awk+set}" = set; then
11633 withval
="$with_alt_awk"
11634 ALT_AWK_PROGS
="$withval"
11636 ALT_AWK_PROGS
="gawk mawk nawk awk"
11641 # Check whether --with-awk or --without-awk was given.
11642 if test "${with_awk+set}" = set; then
11643 withval
="$with_awk"
11646 if test -n "$ac_tool_prefix"; then
11647 for ac_prog
in $ALT_AWK_PROGS
11649 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11650 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11651 echo "$as_me:$LINENO: checking for $ac_word" >&5
11652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11653 if test "${ac_cv_prog_AWK+set}" = set; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11656 if test -n "$AWK"; then
11657 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
11659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11660 for as_dir
in $PATH
11663 test -z "$as_dir" && as_dir
=.
11664 for ac_exec_ext
in '' $ac_executable_extensions; do
11665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11666 ac_cv_prog_AWK
="$ac_tool_prefix$ac_prog"
11667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11675 AWK
=$ac_cv_prog_AWK
11676 if test -n "$AWK"; then
11677 echo "$as_me:$LINENO: result: $AWK" >&5
11678 echo "${ECHO_T}$AWK" >&6
11680 echo "$as_me:$LINENO: result: no" >&5
11681 echo "${ECHO_T}no" >&6
11684 test -n "$AWK" && break
11687 if test -z "$AWK"; then
11689 for ac_prog
in $ALT_AWK_PROGS
11691 # Extract the first word of "$ac_prog", so it can be a program name with args.
11692 set dummy
$ac_prog; ac_word
=$2
11693 echo "$as_me:$LINENO: checking for $ac_word" >&5
11694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11695 if test "${ac_cv_prog_ac_ct_AWK+set}" = set; then
11696 echo $ECHO_N "(cached) $ECHO_C" >&6
11698 if test -n "$ac_ct_AWK"; then
11699 ac_cv_prog_ac_ct_AWK
="$ac_ct_AWK" # Let the user override the test.
11701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11702 for as_dir
in $PATH
11705 test -z "$as_dir" && as_dir
=.
11706 for ac_exec_ext
in '' $ac_executable_extensions; do
11707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11708 ac_cv_prog_ac_ct_AWK
="$ac_prog"
11709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11717 ac_ct_AWK
=$ac_cv_prog_ac_ct_AWK
11718 if test -n "$ac_ct_AWK"; then
11719 echo "$as_me:$LINENO: result: $ac_ct_AWK" >&5
11720 echo "${ECHO_T}$ac_ct_AWK" >&6
11722 echo "$as_me:$LINENO: result: no" >&5
11723 echo "${ECHO_T}no" >&6
11726 test -n "$ac_ct_AWK" && break
11729 if test "x$ac_ct_AWK" = x
; then
11732 if test "$build" != "$host"; then
11733 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11734 whose name does not start with the host triplet. If you think this
11735 configuration is useful to you, please write to autoconf@gnu.org." >&5
11736 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11737 whose name does not start with the host triplet. If you think this
11738 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11745 test "$AWK" = "no" && AWK
=missing
11750 make_install_pdfdoc
=install_pdfdoc
11753 test "$AWK" = missing
&& missing
="\`awk'"
11754 test "$GHOSTSCRIPT" = missing
&& missing
="$missing \`gs'"
11755 if test -n "$missing"; then
11756 plural
=`set $missing; test $# -eq 2 && echo s`
11757 test x
$plural = xs \
11758 && missing
=`set $missing; echo "$1 and $2"` \
11759 || missing
=`echo $missing`
11762 make_install_pdfdoc
=
11764 { echo "$as_me:$LINENO: WARNING: missing program$plural:
11766 The program$plural $missing cannot be found in the PATH.
11767 Consequently, groff's PDF formatter (pdfroff) will not work properly;
11768 therefore, it will neither be possible to prepare, nor to install,
11769 documentation in PDF format.
11771 echo "$as_me: WARNING: missing program$plural:
11773 The program$plural $missing cannot be found in the PATH.
11774 Consequently, groff's PDF formatter (pdfroff) will not work properly;
11775 therefore, it will neither be possible to prepare, nor to install,
11776 documentation in PDF format.
11782 echo "$as_me:$LINENO: checking whether pnmtops can handle the -nosetpage option" >&5
11783 echo $ECHO_N "checking whether pnmtops can handle the -nosetpage option... $ECHO_C" >&6
11784 if echo P2
2 2 255 0 1 2 0 | pnmtops
-nosetpage > /dev
/null
2>&1 ; then
11785 echo "$as_me:$LINENO: result: yes" >&5
11786 echo "${ECHO_T}yes" >&6
11787 pnmtops_nosetpage
="pnmtops -nosetpage"
11789 echo "$as_me:$LINENO: result: no" >&5
11790 echo "${ECHO_T}no" >&6
11791 pnmtops_nosetpage
="pnmtops"
11795 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
11796 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
11797 if test "${ac_cv_gnu_library_2_1+set}" = set; then
11798 echo $ECHO_N "(cached) $ECHO_C" >&6
11800 cat >conftest.
$ac_ext <<_ACEOF
11803 cat confdefs.h
>>conftest.
$ac_ext
11804 cat >>conftest.
$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11807 #include <features.h>
11808 #ifdef __GNU_LIBRARY__
11809 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
11815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11816 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
11817 ac_cv_gnu_library_2_1
=yes
11819 ac_cv_gnu_library_2_1
=no
11826 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
11827 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
11829 GLIBC21
="$ac_cv_gnu_library_2_1"
11833 ac_config_files
="$ac_config_files stamp-h"
11835 ac_config_files
="$ac_config_files Makefile doc/Makefile src/utils/xtotroff/Makefile"
11837 ac_config_files
="$ac_config_files contrib/gdiffmk/tests/runtests"
11839 ac_config_files
="$ac_config_files test-groff"
11841 cat >confcache
<<\_ACEOF
11842 # This file is a shell script that caches the results of configure
11843 # tests run on this system so they can be shared between configure
11844 # scripts and configure runs, see configure's option --config-cache.
11845 # It is not useful on other systems. If it contains results you don't
11846 # want to keep, you may remove or edit it.
11848 # config.status only pays attention to the cache file if you give it
11849 # the --recheck option to rerun configure.
11851 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11853 # following values.
11857 # The following way of writing the cache mishandles newlines in values,
11858 # but we know of no workaround that is simple, portable, and efficient.
11859 # So, don't put newlines in cache variables' values.
11860 # Ultrix sh set writes to stderr and can't be redirected directly,
11861 # and sets the high bit in the cache file unless we assign to the vars.
11864 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11866 # `set' does not quote correctly, so add quotes (double-quote
11867 # substitution turns \\\\ into \\, and sed turns \\ into \).
11870 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11873 # `set' quotes correctly as required by POSIX, so do not add quotes.
11875 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11882 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11884 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11886 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11887 if test -w $cache_file; then
11888 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11889 cat confcache
>$cache_file
11891 echo "not updating unwritable cache $cache_file"
11896 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11897 # Let make expand exec_prefix.
11898 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11900 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11901 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11902 # trailing colons and then remove the whole line if VPATH becomes empty
11903 # (actually we leave an empty line to preserve line numbers).
11904 if test "x$srcdir" = x.
; then
11905 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11906 s/:*\$(srcdir):*/:/;
11907 s/:*\${srcdir}:*/:/;
11909 s/^\([^=]*=[ ]*\):*/\1/;
11915 DEFS
=-DHAVE_CONFIG_H
11919 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11920 # 1. Remove the extension, and $U if already installed.
11921 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11922 ac_i
=`echo "$ac_i" | sed "$ac_script"`
11924 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11925 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11927 LIBOBJS
=$ac_libobjs
11929 LTLIBOBJS
=$ac_ltlibobjs
11933 : ${CONFIG_STATUS=./config.status}
11934 ac_clean_files_save
=$ac_clean_files
11935 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11936 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11937 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11938 cat >$CONFIG_STATUS <<_ACEOF
11940 # Generated by $as_me.
11941 # Run this file to recreate the current configuration.
11942 # Compiler output produced by configure, useful for debugging
11943 # configure, is in config.log if it exists.
11946 ac_cs_recheck=false
11948 SHELL=\${CONFIG_SHELL-$SHELL}
11951 cat >>$CONFIG_STATUS <<\_ACEOF
11952 ## --------------------- ##
11953 ## M4sh Initialization. ##
11954 ## --------------------- ##
11956 # Be Bourne compatible
11957 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11960 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11961 # is contrary to our usage. Disable this feature.
11962 alias -g '${1+"$@"}'='"$@"'
11963 setopt NO_GLOB_SUBST
11964 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11967 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
11968 DUALCASE
=1; export DUALCASE
# for MKS sh
11972 # Avoid depending upon Character Ranges.
11973 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11974 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11975 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11976 as_cr_digits
='0123456789'
11977 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11979 # The user is always right.
11980 if test "${PATH_SEPARATOR+set}" != set; then
11981 echo "#! /bin/sh" >conf$$.sh
11982 echo "exit 0" >>conf$$.sh
11984 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11992 # Support unset when possible.
11993 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12000 # Find who we are. Look in the path if we contain no path at all
12003 *[\\/]* ) as_myself
=$0 ;;
12004 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12005 for as_dir
in $PATH
12008 test -z "$as_dir" && as_dir
=.
12009 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12014 # We did not find ourselves, most probably we were run as `sh COMMAND'
12015 # in which case we are not to be found in the path.
12016 if test "x$as_myself" = x
; then
12019 if test ! -f "$as_myself"; then
12020 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute file name" >&5
12021 echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2;}
12022 { (exit 1); exit 1; }; }
12025 # Work around bugs in pre-3.0 UWIN ksh.
12026 for as_var
in ENV MAIL MAILPATH
12027 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12035 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12036 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12037 LC_TELEPHONE LC_TIME
12039 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12040 eval $as_var=C
; export $as_var
12042 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12046 # Required to use basename.
12047 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12053 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12054 as_basename
=basename
12060 # Name of the executable.
12061 as_me
=`$as_basename "$0" ||
12062 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12063 X"$0" : 'X\(//\)$' \| \
12064 X"$0" : 'X\(/\)$' \| \
12065 . : '\(.\)' 2>/dev/null ||
12067 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12068 /^X\/\(\/\/\)$/{ s//\1/; q; }
12069 /^X\/\(\/\).*/{ s//\1/; q; }
12075 as_lineno_1
=$LINENO
12076 as_lineno_2
=$LINENO
12077 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12078 test "x$as_lineno_1" != "x$as_lineno_2" &&
12079 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12081 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12082 # uniformly replaced by the line number. The first 'sed' inserts a
12083 # line-number line after each line using $LINENO; the second 'sed'
12084 # does the real work. The second script uses 'N' to pair each
12085 # line-number line with the line containing $LINENO, and appends
12086 # trailing '-' during substitution so that $LINENO is not a special
12087 # case at line end.
12088 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12089 # scripts with optimization help from Paolo Bonzini. Blame Lee
12090 # E. McMahon (1931-1989) for sed's syntax. :-)
12102 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
12105 ' >$as_me.lineno
&&
12106 chmod +x
$as_me.lineno ||
12107 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12108 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12109 { (exit 1); exit 1; }; }
12111 # Don't try to exec as it changes $[0], causing all sort of problems
12112 # (the dirname of $[0] is not the place where we might find the
12113 # original and so on. Autoconf is especially sensible to this).
12115 # Exit status is that of the last command.
12120 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12121 *c
*,-n*) ECHO_N
= ECHO_C
='
12123 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12124 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12127 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12133 rm -f conf$$ conf$$.exe conf$$.
file
12135 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12136 # We could just check for DJGPP; but this test a) works b) is more generic
12137 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12138 if test -f conf$$.exe
; then
12139 # Don't use ln at all; we don't have any links
12144 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12149 rm -f conf$$ conf$$.exe conf$$.
file
12151 if mkdir
-p .
2>/dev
/null
; then
12154 test -d .
/-p && rmdir .
/-p
12158 as_executable_p
="test -f"
12160 # Sed expression to map a string onto a valid CPP name.
12161 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12163 # Sed expression to map a string onto a valid variable name.
12164 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12168 # We need space, tab and new line, in precisely that order.
12178 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12179 # report actual input values of CONFIG_FILES etc. instead of their
12180 # values after options handling. Logging --version etc. is OK.
12184 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12185 ## Running $as_me. ##
12190 This file was extended by $as_me, which was
12191 generated by GNU Autoconf 2.59b. Invocation command line was
12193 CONFIG_FILES = $CONFIG_FILES
12194 CONFIG_HEADERS = $CONFIG_HEADERS
12195 CONFIG_LINKS = $CONFIG_LINKS
12196 CONFIG_COMMANDS = $CONFIG_COMMANDS
12200 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12204 # Files that config.status was made for.
12205 if test -n "$ac_config_files"; then
12206 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12209 if test -n "$ac_config_headers"; then
12210 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12213 if test -n "$ac_config_links"; then
12214 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12217 if test -n "$ac_config_commands"; then
12218 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12221 cat >>$CONFIG_STATUS <<\_ACEOF
12224 \`$as_me' instantiates files from templates according to the
12225 current configuration.
12227 Usage: $0 [OPTIONS] [FILE]...
12229 -h, --help print this help, then exit
12230 -V, --version print version number, then exit
12231 -q, --quiet do not print progress messages
12232 -d, --debug don't remove temporary files
12233 --recheck update $as_me by reconfiguring in the same conditions
12234 --file=FILE[:TEMPLATE]
12235 instantiate the configuration file FILE
12236 --header=FILE[:TEMPLATE]
12237 instantiate the configuration header FILE
12239 Configuration files:
12242 Configuration headers:
12245 Report bugs to <bug-autoconf@gnu.org>."
12248 cat >>$CONFIG_STATUS <<_ACEOF
12251 configured by $0, generated by GNU Autoconf 2.59b,
12252 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12254 Copyright (C) 2004 Free Software Foundation, Inc.
12255 This config.status script is free software; the Free Software Foundation
12256 gives unlimited permission to copy, distribute and modify it."
12261 cat >>$CONFIG_STATUS <<\_ACEOF
12262 # If no file are specified by the user, then we need to provide default
12263 # value. By we need to know if files were specified by the user.
12269 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12270 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12278 *) # This is not an option, so the user has probably given explicit
12281 ac_need_defaults
=false
;;
12285 # Handling of the options.
12287 cat >>$CONFIG_STATUS <<\_ACEOF
12288 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12290 --version |
--vers* |
-V )
12291 echo "$ac_cs_version"; exit 0 ;;
12293 # Conflict between --help and --header
12294 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12295 Try \`$0 --help' for more information." >&5
12296 echo "$as_me: error: ambiguous option: $1
12297 Try \`$0 --help' for more information." >&2;}
12298 { (exit 1); exit 1; }; };;
12299 --help |
--hel |
-h )
12300 echo "$ac_cs_usage"; exit 0 ;;
12301 --debug |
--d* |
-d )
12303 --file |
--fil |
--fi |
--f )
12305 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12306 ac_need_defaults
=false
;;
12307 --header |
--heade |
--head |
--hea )
12309 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12310 ac_need_defaults
=false
;;
12311 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12312 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12315 # This is an error.
12316 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12317 Try \`$0 --help' for more information." >&5
12318 echo "$as_me: error: unrecognized option: $1
12319 Try \`$0 --help' for more information." >&2;}
12320 { (exit 1); exit 1; }; } ;;
12322 *) ac_config_targets
="$ac_config_targets $1" ;;
12328 ac_configure_extra_args
=
12330 if $ac_cs_silent; then
12332 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12336 cat >>$CONFIG_STATUS <<_ACEOF
12337 if \$ac_cs_recheck; then
12338 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12339 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12348 cat >>$CONFIG_STATUS <<\_ACEOF
12349 for ac_config_target
in $ac_config_targets
12351 case "$ac_config_target" in
12352 # Handling of arguments.
12353 "stamp-h" ) CONFIG_FILES
="$CONFIG_FILES stamp-h" ;;
12354 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12355 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12356 "src/utils/xtotroff/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xtotroff/Makefile" ;;
12357 "contrib/gdiffmk/tests/runtests" ) CONFIG_FILES
="$CONFIG_FILES contrib/gdiffmk/tests/runtests" ;;
12358 "test-groff" ) CONFIG_FILES
="$CONFIG_FILES test-groff" ;;
12359 "src/include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/include/config.h:src/include/config.hin" ;;
12360 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12361 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12362 { (exit 1); exit 1; }; };;
12366 # If the user did not use the arguments to specify the items to instantiate,
12367 # then the envvar interface is used. Set only those that are not.
12368 # We use the long form for the default assignment because of an extremely
12369 # bizarre bug on SunOS 4.1.3.
12370 if $ac_need_defaults; then
12371 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12372 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12375 # Have a temporary directory for convenience. Make it in the build tree
12376 # simply because there is no reason to put it here, and in addition,
12377 # creating and moving files from /tmp can sometimes cause problems.
12378 # Create a temporary directory, and hook for its removal unless debugging.
12381 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
12382 trap '{ (exit 1); exit 1; }' 1 2 13 15
12385 # Create a (secure) tmp directory for tmp files.
12388 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12389 test -n "$tmp" && test -d "$tmp"
12392 tmp
=.
/confstat$$
-$RANDOM
12393 (umask 077 && mkdir
$tmp)
12396 echo "$me: cannot create a temporary directory in ." >&2
12397 { (exit 1); exit 1; }
12402 cat >>$CONFIG_STATUS <<_ACEOF
12405 # CONFIG_FILES section.
12408 # No need to generate the scripts if there are no CONFIG_FILES.
12409 # This happens for instance when ./config.status config.h
12410 if test -n "\$CONFIG_FILES"; then
12411 # Protect against being on the right side of a sed subst in config.status.
12412 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12413 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12414 s,@SHELL@,$SHELL,;t t
12415 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12416 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12417 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12418 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12419 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12420 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12421 s,@exec_prefix@,$exec_prefix,;t t
12422 s,@prefix@,$prefix,;t t
12423 s,@program_transform_name@,$program_transform_name,;t t
12424 s,@bindir@,$bindir,;t t
12425 s,@sbindir@,$sbindir,;t t
12426 s,@libexecdir@,$libexecdir,;t t
12427 s,@datadir@,$datadir,;t t
12428 s,@sysconfdir@,$sysconfdir,;t t
12429 s,@sharedstatedir@,$sharedstatedir,;t t
12430 s,@localstatedir@,$localstatedir,;t t
12431 s,@libdir@,$libdir,;t t
12432 s,@includedir@,$includedir,;t t
12433 s,@oldincludedir@,$oldincludedir,;t t
12434 s,@infodir@,$infodir,;t t
12435 s,@mandir@,$mandir,;t t
12436 s,@build_alias@,$build_alias,;t t
12437 s,@host_alias@,$host_alias,;t t
12438 s,@target_alias@,$target_alias,;t t
12439 s,@DEFS@,$DEFS,;t t
12440 s,@ECHO_C@,$ECHO_C,;t t
12441 s,@ECHO_N@,$ECHO_N,;t t
12442 s,@ECHO_T@,$ECHO_T,;t t
12443 s,@LIBS@,$LIBS,;t t
12445 s,@CFLAGS@,$CFLAGS,;t t
12446 s,@LDFLAGS@,$LDFLAGS,;t t
12447 s,@CPPFLAGS@,$CPPFLAGS,;t t
12448 s,@ac_ct_CC@,$ac_ct_CC,;t t
12449 s,@EXEEXT@,$EXEEXT,;t t
12450 s,@OBJEXT@,$OBJEXT,;t t
12452 s,@CXXFLAGS@,$CXXFLAGS,;t t
12453 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12454 s,@TTYDEVDIRS@,$TTYDEVDIRS,;t t
12455 s,@OTHERDEVDIRS@,$OTHERDEVDIRS,;t t
12457 s,@X_CFLAGS@,$X_CFLAGS,;t t
12458 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
12459 s,@X_LIBS@,$X_LIBS,;t t
12460 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
12461 s,@XDEVDIRS@,$XDEVDIRS,;t t
12462 s,@XPROGDIRS@,$XPROGDIRS,;t t
12463 s,@XLIBDIRS@,$XLIBDIRS,;t t
12464 s,@appresdir@,$appresdir,;t t
12468 s,@PSPRINT@,$PSPRINT,;t t
12469 s,@DVIPRINT@,$DVIPRINT,;t t
12470 s,@PERLPATH@,$PERLPATH,;t t
12471 s,@YACC@,$YACC,;t t
12472 s,@MAKEINFO@,$MAKEINFO,;t t
12473 s,@RANLIB@,$RANLIB,;t t
12474 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12475 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
12476 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12477 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12478 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12479 s,@LN_S@,$LN_S,;t t
12480 s,@SH_SCRIPT_SED_CMD@,$SH_SCRIPT_SED_CMD,;t t
12481 s,@GREP@,$GREP,;t t
12482 s,@EGREP@,$EGREP,;t t
12483 s,@LIBC@,$LIBC,;t t
12484 s,@LIBM@,$LIBM,;t t
12485 s,@build@,$build,;t t
12486 s,@build_cpu@,$build_cpu,;t t
12487 s,@build_vendor@,$build_vendor,;t t
12488 s,@build_os@,$build_os,;t t
12489 s,@host@,$host,;t t
12490 s,@host_cpu@,$host_cpu,;t t
12491 s,@host_vendor@,$host_vendor,;t t
12492 s,@host_os@,$host_os,;t t
12493 s,@LIBICONV@,$LIBICONV,;t t
12494 s,@LTLIBICONV@,$LTLIBICONV,;t t
12495 s,@LIBOBJS@,$LIBOBJS,;t t
12496 s,@BROKEN_SPOOLER_FLAGS@,$BROKEN_SPOOLER_FLAGS,;t t
12497 s,@PAGE@,$PAGE,;t t
12499 s,@sys_tmac_prefix@,$sys_tmac_prefix,;t t
12500 s,@tmac_wrap@,$tmac_wrap,;t t
12501 s,@GROFF_PATH_SEPARATOR@,$GROFF_PATH_SEPARATOR,;t t
12502 s,@ALT_GHOSTSCRIPT_PROGS@,$ALT_GHOSTSCRIPT_PROGS,;t t
12503 s,@GHOSTSCRIPT@,$GHOSTSCRIPT,;t t
12504 s,@ac_ct_GHOSTSCRIPT@,$ac_ct_GHOSTSCRIPT,;t t
12505 s,@pnmcut@,$pnmcut,;t t
12506 s,@pnmcrop@,$pnmcrop,;t t
12507 s,@pnmtopng@,$pnmtopng,;t t
12508 s,@psselect@,$psselect,;t t
12509 s,@pnmtops@,$pnmtops,;t t
12510 s,@make_html@,$make_html,;t t
12511 s,@make_install_html@,$make_install_html,;t t
12512 s,@ALT_AWK_PROGS@,$ALT_AWK_PROGS,;t t
12514 s,@ac_ct_AWK@,$ac_ct_AWK,;t t
12515 s,@make_pdfdoc@,$make_pdfdoc,;t t
12516 s,@make_install_pdfdoc@,$make_install_pdfdoc,;t t
12517 s,@pnmtops_nosetpage@,$pnmtops_nosetpage,;t t
12518 s,@GLIBC21@,$GLIBC21,;t t
12519 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12524 cat >>$CONFIG_STATUS <<\_ACEOF
12525 # Split the substitutions into bite-sized pieces for seds with
12526 # small command number limits, like on Digital OSF/1 and HP-UX.
12527 ac_max_sed_lines
=48
12528 ac_sed_frag
=1 # Number of current file.
12529 ac_beg
=1 # First line for current file.
12530 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12533 while $ac_more_lines; do
12534 if test $ac_beg -gt 1; then
12535 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12537 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12539 if test ! -s $tmp/subs.frag
; then
12540 ac_more_lines
=false
12542 # The purpose of the label and of the branching condition is to
12543 # speed up the sed processing (if there are no `@' at all, there
12544 # is no need to browse any of the substitutions).
12545 # These are the two extra sed commands mentioned above.
12547 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12548 if test -z "$ac_sed_cmds"; then
12549 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12551 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12553 ac_sed_frag
=`expr $ac_sed_frag + 1`
12555 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12558 if test -z "$ac_sed_cmds"; then
12561 fi # test -n "$CONFIG_FILES"
12564 cat >>$CONFIG_STATUS <<\_ACEOF
12565 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12566 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12568 - |
*:- |
*:-:* ) # input from stdin
12570 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12571 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12572 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12573 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12574 * ) ac_file_in
=$ac_file.
in ;;
12577 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12578 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12579 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12580 X"$ac_file" : 'X\(//\)[^/]' \| \
12581 X"$ac_file" : 'X\(//\)$' \| \
12582 X"$ac_file" : 'X\(/\)' \| \
12583 . : '\(.\)' 2>/dev/null ||
12585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12586 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12587 /^X\(\/\/\)$/{ s//\1/; q; }
12588 /^X\(\/\).*/{ s//\1/; q; }
12590 { if $as_mkdir_p; then
12591 test -d "$ac_dir" || mkdir
-p "$ac_dir"
12595 while test ! -d "$as_dir"; do
12596 as_dirs
="$as_dir $as_dirs"
12597 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12598 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12599 X"$as_dir" : 'X\(//\)[^/]' \| \
12600 X"$as_dir" : 'X\(//\)$' \| \
12601 X"$as_dir" : 'X\(/\)' \| \
12602 . : '\(.\)' 2>/dev/null ||
12604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12605 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12606 /^X\(\/\/\)$/{ s//\1/; q; }
12607 /^X\(\/\).*/{ s//\1/; q; }
12610 test ! -n "$as_dirs" || mkdir
$as_dirs
12611 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12612 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12613 { (exit 1); exit 1; }; }; }
12617 if test "$ac_dir" != .
; then
12618 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12619 # A "../" for each directory in $ac_dir_suffix.
12620 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12622 ac_dir_suffix
= ac_top_builddir
=
12626 .
) # No --srcdir option. We are building in place.
12628 if test -z "$ac_top_builddir"; then
12631 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12633 [\\/]* | ?
:[\\/]* ) # Absolute name.
12634 ac_srcdir
=$srcdir$ac_dir_suffix;
12635 ac_top_srcdir
=$srcdir ;;
12636 *) # Relative name.
12637 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12638 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12641 # Do not use `cd foo && pwd` to compute absolute names, because
12642 # the directories may not exist.
12644 .
) ac_abs_builddir
="$ac_dir";;
12647 .
) ac_abs_builddir
=`pwd`;;
12648 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12649 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12652 case $ac_abs_builddir in
12653 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12655 case ${ac_top_builddir}.
in
12656 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12657 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12658 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12661 case $ac_abs_builddir in
12662 .
) ac_abs_srcdir
=$ac_srcdir;;
12665 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12666 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12667 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12670 case $ac_abs_builddir in
12671 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12673 case $ac_top_srcdir in
12674 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12675 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12676 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12682 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12683 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12686 if test x
"$ac_file" != x-
; then
12687 { echo "$as_me:$LINENO: creating $ac_file" >&5
12688 echo "$as_me: creating $ac_file" >&6;}
12691 # Let's still pretend it is `configure' which instantiates (i.e., don't
12692 # use $as_me), people would be surprised to read:
12693 # /* config.h. Generated by config.status. */
12694 if test x
"$ac_file" = x-
; then
12697 configure_input
="$ac_file. "
12699 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12700 sed 's,.*/,,'` by configure."
12702 # First look for the input files in the build tree, otherwise in the
12704 ac_file_inputs
=`IFS=:
12705 for f in $ac_file_in; do
12707 -) echo $tmp/stdin ;;
12709 # Absolute (can't be DOS-style, as IFS=:)
12710 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12711 echo "$as_me: error: cannot find input file: $f" >&2;}
12712 { (exit 1); exit 1; }; }
12715 if test -f "$f"; then
12718 elif test -f "$srcdir/$f"; then
12723 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12724 echo "$as_me: error: cannot find input file: $f" >&2;}
12725 { (exit 1); exit 1; }; }
12728 done` ||
{ (exit 1); exit 1; }
12730 cat >>$CONFIG_STATUS <<_ACEOF
12734 cat >>$CONFIG_STATUS <<\_ACEOF
12736 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12737 s
,@configure_input@
,$configure_input,;t t
12738 s
,@srcdir@
,$ac_srcdir,;t t
12739 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12740 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12741 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12742 s
,@builddir@
,$ac_builddir,;t t
12743 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12744 s
,@top_builddir@
,$ac_top_builddir,;t t
12745 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12746 s
,@INSTALL@
,$ac_INSTALL,;t t
12747 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12749 if test x"$ac_file" != x-; then
12750 mv $tmp/out $ac_file
12756 # Run the commands associated with the file.
12758 stamp-h ) echo timestamp > stamp-h ;;
12759 contrib/gdiffmk/tests/runtests ) chmod +x contrib/gdiffmk/tests/runtests ;;
12760 test-groff ) chmod +x test-groff ;;
12764 cat >>$CONFIG_STATUS <<\_ACEOF
12767 # CONFIG_HEADER section.
12770 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12771 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12773 # ac_d sets the value in "#define NAME VALUE" lines.
12774 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12775 ac_dB
='[ ].*$,\1#\2'
12778 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12779 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12780 ac_uB
='$,\1#\2define\3'
12784 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12785 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12787 - |
*:- |
*:-:* ) # input from stdin
12789 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12790 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12791 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12792 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12793 * ) ac_file_in
=$ac_file.
in ;;
12796 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12797 echo "$as_me: creating $ac_file" >&6;}
12799 # First look for the input files in the build tree, otherwise in the
12801 ac_file_inputs
=`IFS=:
12802 for f in $ac_file_in; do
12804 -) echo $tmp/stdin ;;
12806 # Absolute (can't be DOS-style, as IFS=:)
12807 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12808 echo "$as_me: error: cannot find input file: $f" >&2;}
12809 { (exit 1); exit 1; }; }
12810 # Quote $f, to prevent DOS file names from being IFS'd.
12813 if test -f "$f"; then
12816 elif test -f "$srcdir/$f"; then
12821 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12822 echo "$as_me: error: cannot find input file: $f" >&2;}
12823 { (exit 1); exit 1; }; }
12826 done` ||
{ (exit 1); exit 1; }
12827 # Remove the trailing spaces.
12828 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12832 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12833 # `conftest.undefs', that substitutes the proper values into
12834 # config.h.in to produce config.h. The first handles `#define'
12835 # templates, and the second `#undef' templates.
12836 # And first: Protect against being on the right side of a sed subst in
12837 # config.status. Protect against being in an unquoted here document
12838 # in config.status.
12839 rm -f conftest.defines conftest.undefs
12840 # Using a here document instead of a string reduces the quoting nightmare.
12841 # Putting comments in sed scripts is not portable.
12843 # `end' is used to avoid that the second main sed command (meant for
12844 # 0-ary CPP macros) applies to n-ary macro definitions.
12845 # See the Autoconf documentation for `clear'.
12846 cat >confdef2sed.
sed <<\_ACEOF
12851 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12853 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12856 # If some macros were called several times there might be several times
12857 # the same #defines, which is useless. Nevertheless, we may not want to
12858 # sort them, since we want the *last* AC-DEFINE to be honored.
12859 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12860 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12861 rm -f confdef2sed.sed
12863 # This sed command replaces #undef with comments. This is necessary, for
12864 # example, in the case of _POSIX_SOURCE, which is predefined and required
12865 # on some systems where configure will not decide to define it.
12866 cat >>conftest.undefs <<\_ACEOF
12867 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12870 # Break up conftest.defines because some shells have a limit on the size
12871 # of here documents, and old seds have small limits too (100 cmds).
12872 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12873 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12874 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12875 echo ' :' >>$CONFIG_STATUS
12876 rm -f conftest.tail
12877 while grep . conftest.defines >/dev/null
12879 # Write a limited-size here document to $tmp/defines.sed.
12880 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12881 # Speed up: don't consider the non `#define' lines.
12882 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12883 # Work around the forget-to-reset-the-flag bug.
12884 echo 't clr' >>$CONFIG_STATUS
12885 echo ': clr' >>$CONFIG_STATUS
12886 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12888 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12890 mv $tmp/out $tmp/in
12892 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12893 rm -f conftest.defines
12894 mv conftest.
tail conftest.defines
12896 rm -f conftest.defines
12897 echo ' fi # grep' >>$CONFIG_STATUS
12898 echo >>$CONFIG_STATUS
12900 # Break up conftest.undefs because some shells have a limit on the size
12901 # of here documents, and old seds have small limits too (100 cmds).
12902 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12903 rm -f conftest.
tail
12904 while grep . conftest.undefs
>/dev
/null
12906 # Write a limited-size here document to $tmp/undefs.sed.
12907 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12908 # Speed up: don't consider the non
`#undef'
12909 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12910 # Work around the forget-to-reset-the-flag bug.
12911 echo 't clr' >>$CONFIG_STATUS
12912 echo ': clr' >>$CONFIG_STATUS
12913 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12915 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12917 mv $tmp/out $tmp/in
12919 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12920 rm -f conftest.undefs
12921 mv conftest.tail conftest.undefs
12923 rm -f conftest.undefs
12925 cat >>$CONFIG_STATUS <<\_ACEOF
12926 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12927 # use $as_me), people would be surprised to read:
12928 # /* config.h. Generated by config.status. */
12929 if test x
"$ac_file" = x-
; then
12930 echo "/* Generated by configure. */" >$tmp/config.h
12932 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12934 cat $tmp/in >>$tmp/config.h
12936 if test x
"$ac_file" != x-
; then
12937 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12938 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12939 echo "$as_me: $ac_file is unchanged" >&6;}
12941 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12942 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12943 X"$ac_file" : 'X\(//\)[^/]' \| \
12944 X"$ac_file" : 'X\(//\)$' \| \
12945 X"$ac_file" : 'X\(/\)' \| \
12946 . : '\(.\)' 2>/dev/null ||
12948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12949 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12950 /^X\(\/\/\)$/{ s//\1/; q; }
12951 /^X\(\/\).*/{ s//\1/; q; }
12953 { if $as_mkdir_p; then
12954 test -d "$ac_dir" || mkdir
-p "$ac_dir"
12958 while test ! -d "$as_dir"; do
12959 as_dirs
="$as_dir $as_dirs"
12960 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12961 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12962 X"$as_dir" : 'X\(//\)[^/]' \| \
12963 X"$as_dir" : 'X\(//\)$' \| \
12964 X"$as_dir" : 'X\(/\)' \| \
12965 . : '\(.\)' 2>/dev/null ||
12967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12968 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12969 /^X\(\/\/\)$/{ s//\1/; q; }
12970 /^X\(\/\).*/{ s//\1/; q; }
12973 test ! -n "$as_dirs" || mkdir
$as_dirs
12974 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12975 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12976 { (exit 1); exit 1; }; }; }
12979 mv $tmp/config.h
$ac_file
12983 rm -f $tmp/config.h
12988 cat >>$CONFIG_STATUS <<\_ACEOF
12990 { (exit 0); exit 0; }
12992 chmod +x
$CONFIG_STATUS
12993 ac_clean_files
=$ac_clean_files_save
12996 # configure is writing to config.log, and then calls config.status.
12997 # config.status does its own redirection, appending to config.log.
12998 # Unfortunately, on DOS this fails, as config.log is still kept open
12999 # by configure, so config.status won't be able to write to it; its
13000 # output is simply discarded. So we exec the FD to /dev/null,
13001 # effectively closing config.log, so it can be properly (re)opened and
13002 # appended to by config.status. When coming back to configure, we
13003 # need to make the FD available again.
13004 if test "$no_create" != yes; then
13006 ac_config_status_args
=
13007 test "$silent" = yes &&
13008 ac_config_status_args
="$ac_config_status_args --quiet"
13010 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13012 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13013 # would make configure fail if this is the last instruction.
13014 $ac_cs_success ||
{ (exit 1); exit 1; }
13018 if test -z "$groff_no_x"; then
13019 if test "x$with_appresdir" = "x"; then
13020 { echo "$as_me:$LINENO:
13022 The application resource file for gxditview will be installed as
13024 $appresdir/GXditview
13026 (an existing file will be saved as \`GXditview.old').
13027 To install it into a different directory, say, \`/etc/gxditview',
13028 add \`--with-appresdir=/etc/gxditview' to the configure script
13029 command line options and rerun it. The environment variable
13030 \`APPLRESDIR' must then be set to \`/etc/' (note the trailing slash),
13031 omitting the \`gxditview' part which is automatically appended by
13032 the X11 searching routines for resource files. More details can be
13033 found in the X(7) manual page.
13037 The application resource file for gxditview will be installed as
13039 $appresdir/GXditview
13041 (an existing file will be saved as \`GXditview.old').
13042 To install it into a different directory, say, \`/etc/gxditview',
13043 add \`--with-appresdir=/etc/gxditview' to the configure script
13044 command line options and rerun it. The environment variable
13045 \`APPLRESDIR' must then be set to \`/etc/' (note the trailing slash),
13046 omitting the \`gxditview' part which is automatically appended by
13047 the X11 searching routines for resource files. More details can be
13048 found in the X(7) manual page.