2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6 # 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.
10 # Avoid depending upon Character Ranges.
11 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14 as_cr_digits
='0123456789'
15 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17 # Sed expression to map a string onto a valid variable name.
18 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20 # Sed expression to map a string onto a valid CPP name.
21 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
31 # Name of the executable.
32 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
34 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40 rm -f conf$$ conf$$.exe conf$$.
file
42 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
43 # We could just check for DJGPP; but this test a) works b) is more generic
44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45 if test -f conf$$.exe
; then
46 # Don't use ln at all; we don't have any links
51 elif ln conf$$.
file conf$$
2>/dev
/null
; then
56 rm -f conf$$ conf$$.exe conf$$.
file
58 as_executable_p
="test -f"
60 # Support unset when possible.
61 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
68 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
69 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
70 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
71 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
72 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
73 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
74 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
75 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
78 # We need space, tab and new line, in precisely that order.
84 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too.
89 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
96 ac_default_prefix
=/usr
/local
100 SHELL
=${CONFIG_SHELL-/bin/sh}
102 # Maximum number of lines to put in a shell here document.
103 # This variable seems obsolete. It should probably be removed, and
104 # only ac_max_sed_lines should be used.
105 : ${ac_max_here_lines=38}
107 ac_unique_file
="src/roff/groff/groff.cc"
108 # Factoring default headers for most tests.
109 ac_includes_default
="\
112 # include <sys/types.h>
115 # include <sys/stat.h>
126 # if !STDC_HEADERS && HAVE_MEMORY_H
132 # include <strings.h>
135 # include <inttypes.h>
145 # Initialize some variables set by options.
147 ac_init_version
=false
148 # The variables have the same names as the options, with
149 # dashes changed to underlines.
157 program_transform_name
=s
,x
,x
,
165 # Installation directory options.
166 # These are left unexpanded so users can "make install exec_prefix=/foo"
167 # and all the variables that are supposed to be based on exec_prefix
168 # by default will actually change.
169 # Use braces instead of parens because sh, perl, etc. also accept them.
170 bindir
='${exec_prefix}/bin'
171 sbindir
='${exec_prefix}/sbin'
172 libexecdir
='${exec_prefix}/libexec'
173 datadir
='${prefix}/share'
174 sysconfdir
='${prefix}/etc'
175 sharedstatedir
='${prefix}/com'
176 localstatedir
='${prefix}/var'
177 libdir
='${exec_prefix}/lib'
178 includedir
='${prefix}/include'
179 oldincludedir
='/usr/include'
180 infodir
='${prefix}/info'
181 mandir
='${prefix}/man'
183 # Identity of this package.
193 # If the previous option needs an argument, assign it.
194 if test -n "$ac_prev"; then
195 eval "$ac_prev=\$ac_option"
200 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
202 # Accept the important Cygnus configure options, so we can diagnose typos.
206 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
208 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
211 -build |
--build |
--buil |
--bui |
--bu)
212 ac_prev
=build_alias
;;
213 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
214 build_alias
=$ac_optarg ;;
216 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
217 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
218 ac_prev
=cache_file
;;
219 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
220 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
221 cache_file
=$ac_optarg ;;
224 cache_file
=config.cache
;;
226 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
228 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
230 datadir
=$ac_optarg ;;
232 -disable-* |
--disable-*)
233 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
234 # Reject names that are not valid shell variable names.
235 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
236 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
237 { (exit 1); exit 1; }; }
238 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
239 eval "enable_$ac_feature=no" ;;
241 -enable-* |
--enable-*)
242 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
243 # Reject names that are not valid shell variable names.
244 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
245 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
246 { (exit 1); exit 1; }; }
247 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
249 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
252 eval "enable_$ac_feature='$ac_optarg'" ;;
254 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
255 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
256 |
--exec |
--exe |
--ex)
257 ac_prev
=exec_prefix
;;
258 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
259 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
260 |
--exec=* |
--exe=* |
--ex=*)
261 exec_prefix
=$ac_optarg ;;
263 -gas |
--gas |
--ga |
--g)
264 # Obsolete; use --with-gas.
267 -help |
--help |
--hel |
--he |
-h)
269 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
270 ac_init_help
=recursive
;;
271 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
272 ac_init_help
=short
;;
274 -host |
--host |
--hos |
--ho)
275 ac_prev
=host_alias
;;
276 -host=* |
--host=* |
--hos=* |
--ho=*)
277 host_alias
=$ac_optarg ;;
279 -includedir |
--includedir |
--includedi |
--included |
--include \
280 |
--includ |
--inclu |
--incl |
--inc)
281 ac_prev
=includedir
;;
282 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
283 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
284 includedir
=$ac_optarg ;;
286 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
288 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
289 infodir
=$ac_optarg ;;
291 -libdir |
--libdir |
--libdi |
--libd)
293 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
296 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
297 |
--libexe |
--libex |
--libe)
298 ac_prev
=libexecdir
;;
299 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
300 |
--libexe=* |
--libex=* |
--libe=*)
301 libexecdir
=$ac_optarg ;;
303 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
304 |
--localstate |
--localstat |
--localsta |
--localst \
305 |
--locals |
--local |
--loca |
--loc |
--lo)
306 ac_prev
=localstatedir
;;
307 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
308 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
309 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
310 localstatedir
=$ac_optarg ;;
312 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
314 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
318 # Obsolete; use --without-fp.
321 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
325 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
326 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
329 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
330 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
331 |
--oldin |
--oldi |
--old |
--ol |
--o)
332 ac_prev
=oldincludedir
;;
333 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
334 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
335 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
336 oldincludedir
=$ac_optarg ;;
338 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
340 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
343 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
344 |
--program-pre |
--program-pr |
--program-p)
345 ac_prev
=program_prefix
;;
346 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
347 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
348 program_prefix
=$ac_optarg ;;
350 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
351 |
--program-suf |
--program-su |
--program-s)
352 ac_prev
=program_suffix
;;
353 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
354 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
355 program_suffix
=$ac_optarg ;;
357 -program-transform-name |
--program-transform-name \
358 |
--program-transform-nam |
--program-transform-na \
359 |
--program-transform-n |
--program-transform- \
360 |
--program-transform |
--program-transfor \
361 |
--program-transfo |
--program-transf \
362 |
--program-trans |
--program-tran \
363 |
--progr-tra |
--program-tr |
--program-t)
364 ac_prev
=program_transform_name
;;
365 -program-transform-name=* |
--program-transform-name=* \
366 |
--program-transform-nam=* |
--program-transform-na=* \
367 |
--program-transform-n=* |
--program-transform-=* \
368 |
--program-transform=* |
--program-transfor=* \
369 |
--program-transfo=* |
--program-transf=* \
370 |
--program-trans=* |
--program-tran=* \
371 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
372 program_transform_name
=$ac_optarg ;;
374 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
375 |
-silent |
--silent |
--silen |
--sile |
--sil)
378 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
380 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
382 sbindir
=$ac_optarg ;;
384 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
385 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
386 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
388 ac_prev
=sharedstatedir
;;
389 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
390 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
391 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
393 sharedstatedir
=$ac_optarg ;;
395 -site |
--site |
--sit)
397 -site=* |
--site=* |
--sit=*)
400 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
402 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
405 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
406 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
407 ac_prev
=sysconfdir
;;
408 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
409 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
410 sysconfdir
=$ac_optarg ;;
412 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
413 ac_prev
=target_alias
;;
414 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
415 target_alias
=$ac_optarg ;;
417 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
420 -version |
--version |
--versio |
--versi |
--vers |
-V)
424 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
425 # Reject names that are not valid shell variable names.
426 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
427 { echo "$as_me: error: invalid package name: $ac_package" >&2
428 { (exit 1); exit 1; }; }
429 ac_package
=`echo $ac_package| sed 's/-/_/g'`
431 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
434 eval "with_$ac_package='$ac_optarg'" ;;
436 -without-* |
--without-*)
437 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
438 # Reject names that are not valid shell variable names.
439 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
440 { echo "$as_me: error: invalid package name: $ac_package" >&2
441 { (exit 1); exit 1; }; }
442 ac_package
=`echo $ac_package | sed 's/-/_/g'`
443 eval "with_$ac_package=no" ;;
446 # Obsolete; use --with-x.
449 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
450 |
--x-incl |
--x-inc |
--x-in |
--x-i)
451 ac_prev
=x_includes
;;
452 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
453 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
454 x_includes
=$ac_optarg ;;
456 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
457 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
458 ac_prev
=x_libraries
;;
459 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
460 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
461 x_libraries
=$ac_optarg ;;
463 -*) { echo "$as_me: error: unrecognized option: $ac_option
464 Try \`$0 --help' for more information." >&2
465 { (exit 1); exit 1; }; }
469 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
470 # Reject names that are not valid shell variable names.
471 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
472 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
473 { (exit 1); exit 1; }; }
474 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
475 eval "$ac_envvar='$ac_optarg'"
479 # FIXME: should be removed in autoconf 3.0.
480 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
481 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
482 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
483 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
489 if test -n "$ac_prev"; then
490 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
491 { echo "$as_me: error: missing argument to $ac_option" >&2
492 { (exit 1); exit 1; }; }
495 # Be sure to have absolute paths.
496 for ac_var
in exec_prefix prefix
498 eval ac_val
=$
`echo $ac_var`
500 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
501 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
502 { (exit 1); exit 1; }; };;
506 # Be sure to have absolute paths.
507 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
508 localstatedir libdir includedir oldincludedir infodir mandir
510 eval ac_val
=$
`echo $ac_var`
512 [\\/$
]* | ?
:[\\/]* ) ;;
513 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
514 { (exit 1); exit 1; }; };;
518 # There might be people who depend on the old broken behavior: `$host'
519 # used to hold the argument of --host etc.
524 # FIXME: should be removed in autoconf 3.0.
525 if test "x$host_alias" != x
; then
526 if test "x$build_alias" = x
; then
527 cross_compiling
=maybe
528 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
529 If a cross compiler is detected then cross compile mode will be used." >&2
530 elif test "x$build_alias" != "x$host_alias"; then
536 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
538 test "$silent" = yes && exec 6>/dev
/null
540 # Find the source files, if location was not specified.
541 if test -z "$srcdir"; then
542 ac_srcdir_defaulted
=yes
543 # Try the directory containing this script, then its parent.
545 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
548 if test ! -r $srcdir/$ac_unique_file; then
552 ac_srcdir_defaulted
=no
554 if test ! -r $srcdir/$ac_unique_file; then
555 if test "$ac_srcdir_defaulted" = yes; then
556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
557 { (exit 1); exit 1; }; }
559 { echo "$as_me: error: cannot find sources in $srcdir" >&2
560 { (exit 1); exit 1; }; }
563 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
564 ac_env_build_alias_set
=${build_alias+set}
565 ac_env_build_alias_value
=$build_alias
566 ac_cv_env_build_alias_set
=${build_alias+set}
567 ac_cv_env_build_alias_value
=$build_alias
568 ac_env_host_alias_set
=${host_alias+set}
569 ac_env_host_alias_value
=$host_alias
570 ac_cv_env_host_alias_set
=${host_alias+set}
571 ac_cv_env_host_alias_value
=$host_alias
572 ac_env_target_alias_set
=${target_alias+set}
573 ac_env_target_alias_value
=$target_alias
574 ac_cv_env_target_alias_set
=${target_alias+set}
575 ac_cv_env_target_alias_value
=$target_alias
576 ac_env_CC_set
=${CC+set}
578 ac_cv_env_CC_set
=${CC+set}
579 ac_cv_env_CC_value
=$CC
580 ac_env_CFLAGS_set
=${CFLAGS+set}
581 ac_env_CFLAGS_value
=$CFLAGS
582 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
583 ac_cv_env_CFLAGS_value
=$CFLAGS
584 ac_env_LDFLAGS_set
=${LDFLAGS+set}
585 ac_env_LDFLAGS_value
=$LDFLAGS
586 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
587 ac_cv_env_LDFLAGS_value
=$LDFLAGS
588 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
589 ac_env_CPPFLAGS_value
=$CPPFLAGS
590 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
591 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
592 ac_env_CXX_set
=${CXX+set}
593 ac_env_CXX_value
=$CXX
594 ac_cv_env_CXX_set
=${CXX+set}
595 ac_cv_env_CXX_value
=$CXX
596 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
597 ac_env_CXXFLAGS_value
=$CXXFLAGS
598 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
599 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
600 ac_env_CPP_set
=${CPP+set}
601 ac_env_CPP_value
=$CPP
602 ac_cv_env_CPP_set
=${CPP+set}
603 ac_cv_env_CPP_value
=$CPP
606 # Report the --help message.
608 if test "$ac_init_help" = "long"; then
609 # Omit some internal or obsolete options to make the list less imposing.
610 # This message is too long to be a string in the A/UX 3.1 sh.
612 \`configure' configures this package to adapt to many kinds of systems.
614 Usage: $0 [OPTION]... [VAR=VALUE]...
616 To assign environment variables (e.g., CC, CFLAGS...), specify them as
617 VAR=VALUE. See below for descriptions of some of the useful variables.
619 Defaults for the options are specified in brackets.
622 -h, --help display this help and exit
623 --help=short display options specific to this package
624 --help=recursive display the short help of all the included packages
625 -V, --version display version information and exit
626 -q, --quiet, --silent do not print \`checking...' messages
627 --cache-file=FILE cache test results in FILE [disabled]
628 -C, --config-cache alias for \`--cache-file=config.cache'
629 -n, --no-create do not create output files
630 --srcdir=DIR find the sources in DIR [configure dir or \`..']
635 Installation directories:
636 --prefix=PREFIX install architecture-independent files in PREFIX
638 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
641 By default, \`make install' will install all the files in
642 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
643 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
644 for instance \`--prefix=\$HOME'.
646 For better control, use the options below.
648 Fine tuning of the installation directories:
649 --bindir=DIR user executables [EPREFIX/bin]
650 --sbindir=DIR system admin executables [EPREFIX/sbin]
651 --libexecdir=DIR program executables [EPREFIX/libexec]
652 --datadir=DIR read-only architecture-independent data [PREFIX/share]
653 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
654 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
655 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
656 --libdir=DIR object code libraries [EPREFIX/lib]
657 --includedir=DIR C header files [PREFIX/include]
658 --oldincludedir=DIR C header files for non-gcc [/usr/include]
659 --infodir=DIR info documentation [PREFIX/info]
660 --mandir=DIR man documentation [PREFIX/man]
667 if test -n "$ac_init_help"; then
671 Some influential environment variables
:
672 CC C compiler
command
673 CFLAGS C compiler flags
674 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
675 nonstandard directory
<lib dir
>
676 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
677 headers
in a nonstandard directory
<include dir
>
678 CXX C
++ compiler
command
679 CXXFLAGS C
++ compiler flags
682 Use these variables to override the choices made by
`configure' or to help
683 it to find libraries and programs with nonstandard names/locations.
688 if test "$ac_init_help" = "recursive"; then
689 # If there are subdirs, report their specific --help.
691 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
693 # A "../" for each directory in /$ac_subdir.
694 ac_dots=`echo $ac_subdir |
695 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
698 .) # No --srcdir option. We are building in place.
699 ac_sub_srcdir=$srcdir ;;
700 [\\/]* | ?:[\\/]* ) # Absolute path.
701 ac_sub_srcdir=$srcdir/$ac_subdir ;;
703 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
706 # Check for guested configure; otherwise get Cygnus style configure.
707 if test -f $ac_sub_srcdir/configure.gnu; then
709 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
710 elif test -f $ac_sub_srcdir/configure; then
712 $SHELL $ac_sub_srcdir/configure --help=recursive
713 elif test -f $ac_sub_srcdir/configure.ac ||
714 test -f $ac_sub_srcdir/configure.in; then
718 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
724 test -n "$ac_init_help" && exit 0
725 if $ac_init_version; then
728 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
729 Free Software Foundation, Inc.
730 This configure script is free software; the Free Software Foundation
731 gives unlimited permission to copy, distribute and modify it.
737 This file contains any messages produced by compilers while
738 running configure, to aid debugging if configure makes a mistake.
740 It was created by $as_me, which was
741 generated by GNU Autoconf 2.52. Invocation command line was
752 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
753 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
754 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
755 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
756 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
758 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
759 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
761 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
762 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
763 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
764 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
765 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
766 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
767 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
781 # Keep a trace of the command line.
782 # Strip out --no-create and --no-recursion so they do not pile up.
783 # Also quote any args containing shell meta-characters.
789 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
790 | --no-cr | --no-c) ;;
791 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
792 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
793 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
794 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
795 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
797 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
800 # Get rid of the leading space.
803 # When interrupted or exit'd, cleanup temporary files, and complete
804 # config.log. We remove comments because anyway the quotes in there
805 # would cause problems or look ugly.
807 # Save into config.log some information that might help in debugging.
809 echo "## ----------------- ##" >&5
810 echo "## Cache variables. ##" >&5
811 echo "## ----------------- ##" >&5
813 # The following way of writing the cache mishandles newlines in values,
816 case `(ac_space
='"'"' '"'"'; set |
grep ac_space
) 2>&1` in
819 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
820 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
824 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
828 sed "/^$/d" confdefs.h >conftest.log
829 if test -s conftest.log; then
831 echo "## ------------ ##" >&5
832 echo "## confdefs.h. ##" >&5
833 echo "## ------------ ##" >&5
838 test "$ac_signal" != 0 &&
839 echo "$as_me: caught signal $ac_signal" >&5
840 echo "$as_me: exit $exit_status" >&5
841 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
844 for ac_signal in 1 2 13 15; do
845 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
849 # confdefs.h avoids OS command line length limits that DEFS can exceed.
850 rm -rf conftest* confdefs.h
851 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
854 # Let the site file select an alternate cache file if it wants to.
855 # Prefer explicitly selected file to automatically selected ones.
856 if test -z "$CONFIG_SITE"; then
857 if test "x$prefix" != xNONE; then
858 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
860 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
863 for ac_site_file in $CONFIG_SITE; do
864 if test -r "$ac_site_file"; then
865 { echo "$as_me:865: loading site script $ac_site_file" >&5
866 echo "$as_me: loading site script $ac_site_file" >&6;}
867 cat "$ac_site_file" >&5
872 if test -r "$cache_file"; then
873 # Some versions of bash will fail to source /dev/null (special
874 # files actually), so we avoid doing that.
875 if test -f "$cache_file"; then
876 { echo "$as_me:876: loading cache $cache_file" >&5
877 echo "$as_me: loading cache $cache_file" >&6;}
879 [\\/]* | ?:[\\/]* ) . $cache_file;;
884 { echo "$as_me:884: creating cache $cache_file" >&5
885 echo "$as_me: creating cache $cache_file" >&6;}
889 # Check that the precious variables saved in the cache have kept the same
891 ac_cache_corrupted=false
892 for ac_var in `(set) 2>&1 |
893 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
894 eval ac_old_set=\$ac_cv_env_${ac_var}_set
895 eval ac_new_set=\$ac_env_${ac_var}_set
896 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
897 eval ac_new_val="\$ac_env_${ac_var}_value"
898 case $ac_old_set,$ac_new_set in
900 { echo "$as_me:900: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
901 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
902 ac_cache_corrupted=: ;;
904 { echo "$as_me:904: error: \`$ac_var' was not
set in the previous run
" >&5
905 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
906 ac_cache_corrupted=: ;;
909 if test "x$ac_old_val" != "x$ac_new_val"; then
910 { echo "$as_me:910: error: \`$ac_var' has changed since the previous run:" >&5
911 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
912 { echo "$as_me:912: former value
: $ac_old_val" >&5
913 echo "$as_me: former value
: $ac_old_val" >&2;}
914 { echo "$as_me:914: current value
: $ac_new_val" >&5
915 echo "$as_me: current value
: $ac_new_val" >&2;}
919 # Pass precious variables to config.status. It doesn't matter if
920 # we pass some twice (in addition to the command line arguments).
921 if test "$ac_new_set" = set; then
923 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
924 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"`
925 ac_configure_args="$ac_configure_args '$ac_arg'"
927 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
932 if $ac_cache_corrupted; then
933 { echo "$as_me:933: error
: changes
in the environment can compromise the build
" >&5
934 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
935 { { echo "$as_me:935: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
936 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
937 { (exit 1); exit 1; }; }
941 ac_cpp='$CPP $CPPFLAGS'
942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
946 case `echo "testing\c"; echo 1,2,3`,`echo -n testing
; echo 1,2,3` in
947 *c*,-n*) ECHO_N= ECHO_C='
949 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
950 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
952 echo "#! $SHELL" >conftest.sh
953 echo "exit 0" >>conftest.sh
955 if { (echo "$as_me:955: PATH=\".;.\"; conftest.sh") >&5
956 (PATH=".;."; conftest.sh) 2>&5
958 echo "$as_me:958: \$? = $ac_status" >&5
959 (exit $ac_status); }; then
960 ac_path_separator=';'
964 PATH_SEPARATOR="$ac_path_separator"
967 ac_config_headers="$ac_config_headers src/include/config.h:src/include/config.hin"
969 ac_srcdir_defaulted=no
970 srcdir=`cd $srcdir; pwd`
974 ac_cpp='$CPP $CPPFLAGS'
975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
978 if test -n "$ac_tool_prefix"; then
979 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
980 set dummy ${ac_tool_prefix}gcc; ac_word=$2
981 echo "$as_me:981: checking for $ac_word" >&5
982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
983 if test "${ac_cv_prog_CC+set}" = set; then
984 echo $ECHO_N "(cached) $ECHO_C" >&6
986 if test -n "$CC"; then
987 ac_cv_prog_CC="$CC" # Let the user override the test.
989 ac_save_IFS=$IFS; IFS=$ac_path_separator
991 for ac_dir in $ac_dummy; do
993 test -z "$ac_dir" && ac_dir=.
994 $as_executable_p "$ac_dir/$ac_word" || continue
995 ac_cv_prog_CC="${ac_tool_prefix}gcc"
996 echo "$as_me:996: found $ac_dir/$ac_word" >&5
1003 if test -n "$CC"; then
1004 echo "$as_me:1004: result: $CC" >&5
1005 echo "${ECHO_T}$CC" >&6
1007 echo "$as_me:1007: result: no" >&5
1008 echo "${ECHO_T}no" >&6
1012 if test -z "$ac_cv_prog_CC"; then
1014 # Extract the first word of "gcc", so it can be a program name with args.
1015 set dummy gcc; ac_word=$2
1016 echo "$as_me:1016: checking for $ac_word" >&5
1017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1019 echo $ECHO_N "(cached) $ECHO_C" >&6
1021 if test -n "$ac_ct_CC"; then
1022 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1024 ac_save_IFS=$IFS; IFS=$ac_path_separator
1026 for ac_dir in $ac_dummy; do
1028 test -z "$ac_dir" && ac_dir=.
1029 $as_executable_p "$ac_dir/$ac_word" || continue
1030 ac_cv_prog_ac_ct_CC="gcc"
1031 echo "$as_me:1031: found $ac_dir/$ac_word" >&5
1037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1038 if test -n "$ac_ct_CC"; then
1039 echo "$as_me:1039: result: $ac_ct_CC" >&5
1040 echo "${ECHO_T}$ac_ct_CC" >&6
1042 echo "$as_me:1042: result: no" >&5
1043 echo "${ECHO_T}no" >&6
1051 if test -z "$CC"; then
1052 if test -n "$ac_tool_prefix"; then
1053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1054 set dummy ${ac_tool_prefix}cc; ac_word=$2
1055 echo "$as_me:1055: checking for $ac_word" >&5
1056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1057 if test "${ac_cv_prog_CC+set}" = set; then
1058 echo $ECHO_N "(cached) $ECHO_C" >&6
1060 if test -n "$CC"; then
1061 ac_cv_prog_CC="$CC" # Let the user override the test.
1063 ac_save_IFS=$IFS; IFS=$ac_path_separator
1065 for ac_dir in $ac_dummy; do
1067 test -z "$ac_dir" && ac_dir=.
1068 $as_executable_p "$ac_dir/$ac_word" || continue
1069 ac_cv_prog_CC="${ac_tool_prefix}cc"
1070 echo "$as_me:1070: found $ac_dir/$ac_word" >&5
1077 if test -n "$CC"; then
1078 echo "$as_me:1078: result: $CC" >&5
1079 echo "${ECHO_T}$CC" >&6
1081 echo "$as_me:1081: result: no" >&5
1082 echo "${ECHO_T}no" >&6
1086 if test -z "$ac_cv_prog_CC"; then
1088 # Extract the first word of "cc", so it can be a program name with args.
1089 set dummy cc; ac_word=$2
1090 echo "$as_me:1090: checking for $ac_word" >&5
1091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1092 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1093 echo $ECHO_N "(cached) $ECHO_C" >&6
1095 if test -n "$ac_ct_CC"; then
1096 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1098 ac_save_IFS=$IFS; IFS=$ac_path_separator
1100 for ac_dir in $ac_dummy; do
1102 test -z "$ac_dir" && ac_dir=.
1103 $as_executable_p "$ac_dir/$ac_word" || continue
1104 ac_cv_prog_ac_ct_CC="cc"
1105 echo "$as_me:1105: found $ac_dir/$ac_word" >&5
1111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1112 if test -n "$ac_ct_CC"; then
1113 echo "$as_me:1113: result: $ac_ct_CC" >&5
1114 echo "${ECHO_T}$ac_ct_CC" >&6
1116 echo "$as_me:1116: result: no" >&5
1117 echo "${ECHO_T}no" >&6
1126 if test -z "$CC"; then
1127 # Extract the first word of "cc", so it can be a program name with args.
1128 set dummy cc; ac_word=$2
1129 echo "$as_me:1129: checking for $ac_word" >&5
1130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1131 if test "${ac_cv_prog_CC+set}" = set; then
1132 echo $ECHO_N "(cached) $ECHO_C" >&6
1134 if test -n "$CC"; then
1135 ac_cv_prog_CC="$CC" # Let the user override the test.
1138 ac_save_IFS=$IFS; IFS=$ac_path_separator
1140 for ac_dir in $ac_dummy; do
1142 test -z "$ac_dir" && ac_dir=.
1143 $as_executable_p "$ac_dir/$ac_word" || continue
1144 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1145 ac_prog_rejected=yes
1149 echo "$as_me:1149: found $ac_dir/$ac_word" >&5
1153 if test $ac_prog_rejected = yes; then
1154 # We found a bogon in the path, so make sure we never use it.
1155 set dummy $ac_cv_prog_CC
1157 if test $# != 0; then
1158 # We chose a different compiler from the bogus one.
1159 # However, it has the same basename, so the bogon will be chosen
1160 # first if we set CC to just the basename; use the full file name.
1162 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1170 if test -n "$CC"; then
1171 echo "$as_me:1171: result: $CC" >&5
1172 echo "${ECHO_T}$CC" >&6
1174 echo "$as_me:1174: result: no" >&5
1175 echo "${ECHO_T}no" >&6
1179 if test -z "$CC"; then
1180 if test -n "$ac_tool_prefix"; then
1183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1184 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1185 echo "$as_me:1185: checking for $ac_word" >&5
1186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1187 if test "${ac_cv_prog_CC+set}" = set; then
1188 echo $ECHO_N "(cached) $ECHO_C" >&6
1190 if test -n "$CC"; then
1191 ac_cv_prog_CC="$CC" # Let the user override the test.
1193 ac_save_IFS=$IFS; IFS=$ac_path_separator
1195 for ac_dir in $ac_dummy; do
1197 test -z "$ac_dir" && ac_dir=.
1198 $as_executable_p "$ac_dir/$ac_word" || continue
1199 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1200 echo "$as_me:1200: found $ac_dir/$ac_word" >&5
1207 if test -n "$CC"; then
1208 echo "$as_me:1208: result: $CC" >&5
1209 echo "${ECHO_T}$CC" >&6
1211 echo "$as_me:1211: result: no" >&5
1212 echo "${ECHO_T}no" >&6
1215 test -n "$CC" && break
1218 if test -z "$CC"; then
1222 # Extract the first word of "$ac_prog", so it can be a program name with args.
1223 set dummy $ac_prog; ac_word=$2
1224 echo "$as_me:1224: checking for $ac_word" >&5
1225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1226 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1227 echo $ECHO_N "(cached) $ECHO_C" >&6
1229 if test -n "$ac_ct_CC"; then
1230 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1232 ac_save_IFS=$IFS; IFS=$ac_path_separator
1234 for ac_dir in $ac_dummy; do
1236 test -z "$ac_dir" && ac_dir=.
1237 $as_executable_p "$ac_dir/$ac_word" || continue
1238 ac_cv_prog_ac_ct_CC="$ac_prog"
1239 echo "$as_me:1239: found $ac_dir/$ac_word" >&5
1245 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1246 if test -n "$ac_ct_CC"; then
1247 echo "$as_me:1247: result: $ac_ct_CC" >&5
1248 echo "${ECHO_T}$ac_ct_CC" >&6
1250 echo "$as_me:1250: result: no" >&5
1251 echo "${ECHO_T}no" >&6
1254 test -n "$ac_ct_CC" && break
1262 test -z "$CC" && { { echo "$as_me:1262: error: no acceptable cc found in \$PATH" >&5
1263 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1264 { (exit 1); exit 1; }; }
1266 # Provide some information about the compiler.
1267 echo "$as_me:1267:" \
1268 "checking for C compiler version" >&5
1269 ac_compiler=`set X
$ac_compile; echo $2`
1270 { (eval echo "$as_me:1270: \"$ac_compiler --version </dev/null >&5\"") >&5
1271 (eval $ac_compiler --version </dev/null >&5) 2>&5
1273 echo "$as_me:1273: \$? = $ac_status" >&5
1274 (exit $ac_status); }
1275 { (eval echo "$as_me:1275: \"$ac_compiler -v </dev/null >&5\"") >&5
1276 (eval $ac_compiler -v </dev/null >&5) 2>&5
1278 echo "$as_me:1278: \$? = $ac_status" >&5
1279 (exit $ac_status); }
1280 { (eval echo "$as_me:1280: \"$ac_compiler -V </dev/null >&5\"") >&5
1281 (eval $ac_compiler -V </dev/null >&5) 2>&5
1283 echo "$as_me:1283: \$? = $ac_status" >&5
1284 (exit $ac_status); }
1286 cat >conftest.$ac_ext <<_ACEOF
1287 #line 1287 "configure"
1288 #include "confdefs.h"
1298 ac_clean_files_save=$ac_clean_files
1299 ac_clean_files="$ac_clean_files a.out a.exe"
1300 # Try to create an executable without -o first, disregard a.out.
1301 # It will help us diagnose broken compilers, and finding out an intuition
1303 echo "$as_me:1303: checking for C compiler default output" >&5
1304 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1305 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1306 if { (eval echo "$as_me:1306: \"$ac_link_default\"") >&5
1307 (eval $ac_link_default) 2>&5
1309 echo "$as_me:1309: \$? = $ac_status" >&5
1310 (exit $ac_status); }; then
1311 # Find the output, starting from the most likely. This scheme is
1312 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1314 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1315 ls a.out conftest 2>/dev/null;
1316 ls a.* conftest.* 2>/dev/null`; do
1318 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1319 a.out ) # We found the default executable, but exeext='' is most
1322 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.
]*\
(\..
*\
)'`
1323 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1330 echo "$as_me: failed program was:" >&5
1331 cat conftest.$ac_ext >&5
1332 { { echo "$as_me:1332: error: C compiler cannot create executables" >&5
1333 echo "$as_me: error: C compiler cannot create executables" >&2;}
1334 { (exit 77); exit 77; }; }
1337 ac_exeext=$ac_cv_exeext
1338 echo "$as_me:1338: result: $ac_file" >&5
1339 echo "${ECHO_T}$ac_file" >&6
1341 # Check the compiler produces executables we can run. If not, either
1342 # the compiler is broken, or we cross compile.
1343 echo "$as_me:1343: checking whether the C compiler works" >&5
1344 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1345 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1346 # If not cross compiling, check that we can run a simple program.
1347 if test "$cross_compiling" != yes; then
1348 if { ac_try='.
/$ac_file'
1349 { (eval echo "$as_me:1349: \"$ac_try\"") >&5
1352 echo "$as_me:1352: \$? = $ac_status" >&5
1353 (exit $ac_status); }; }; then
1356 if test "$cross_compiling" = maybe; then
1359 { { echo "$as_me:1359: error: cannot run C compiled programs.
1360 If you meant to cross compile, use \`--host'.
" >&5
1361 echo "$as_me: error
: cannot run C compiled programs.
1362 If you meant to cross compile
, use \
`--host'." >&2;}
1363 { (exit 1); exit 1; }; }
1367 echo "$as_me:1367: result: yes" >&5
1368 echo "${ECHO_T}yes" >&6
1370 rm -f a.out a.exe conftest$ac_cv_exeext
1371 ac_clean_files=$ac_clean_files_save
1372 # Check the compiler produces executables we can run. If not, either
1373 # the compiler is broken, or we cross compile.
1374 echo "$as_me:1374: checking whether we are cross compiling" >&5
1375 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1376 echo "$as_me:1376: result: $cross_compiling" >&5
1377 echo "${ECHO_T}$cross_compiling" >&6
1379 echo "$as_me:1379: checking for executable suffix" >&5
1380 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1381 if { (eval echo "$as_me:1381: \"$ac_link\"") >&5
1382 (eval $ac_link) 2>&5
1384 echo "$as_me:1384: \$? = $ac_status" >&5
1385 (exit $ac_status); }; then
1386 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1387 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1388 # work properly (i.e., refer to `conftest.exe'), while it won't with
1390 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1392 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1393 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1400 { { echo "$as_me:1400: error: cannot compute EXEEXT: cannot compile and link" >&5
1401 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1402 { (exit 1); exit 1; }; }
1405 rm -f conftest
$ac_cv_exeext
1406 echo "$as_me:1406: result: $ac_cv_exeext" >&5
1407 echo "${ECHO_T}$ac_cv_exeext" >&6
1409 rm -f conftest.
$ac_ext
1410 EXEEXT
=$ac_cv_exeext
1412 echo "$as_me:1412: checking for object suffix" >&5
1413 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1414 if test "${ac_cv_objext+set}" = set; then
1415 echo $ECHO_N "(cached) $ECHO_C" >&6
1417 cat >conftest.
$ac_ext <<_ACEOF
1418 #line 1418 "configure"
1419 #include "confdefs.h"
1429 rm -f conftest.o conftest.obj
1430 if { (eval echo "$as_me:1430: \"$ac_compile\"") >&5
1431 (eval $ac_compile) 2>&5
1433 echo "$as_me:1433: \$? = $ac_status" >&5
1434 (exit $ac_status); }; then
1435 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1437 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1438 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1443 echo "$as_me: failed program was:" >&5
1444 cat conftest.
$ac_ext >&5
1445 { { echo "$as_me:1445: error: cannot compute OBJEXT: cannot compile" >&5
1446 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1447 { (exit 1); exit 1; }; }
1450 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1452 echo "$as_me:1452: result: $ac_cv_objext" >&5
1453 echo "${ECHO_T}$ac_cv_objext" >&6
1454 OBJEXT
=$ac_cv_objext
1456 echo "$as_me:1456: checking whether we are using the GNU C compiler" >&5
1457 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1458 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1459 echo $ECHO_N "(cached) $ECHO_C" >&6
1461 cat >conftest.
$ac_ext <<_ACEOF
1462 #line 1462 "configure"
1463 #include "confdefs.h"
1476 rm -f conftest.
$ac_objext
1477 if { (eval echo "$as_me:1477: \"$ac_compile\"") >&5
1478 (eval $ac_compile) 2>&5
1480 echo "$as_me:1480: \$? = $ac_status" >&5
1481 (exit $ac_status); } &&
1482 { ac_try
='test -s conftest.$ac_objext'
1483 { (eval echo "$as_me:1483: \"$ac_try\"") >&5
1486 echo "$as_me:1486: \$? = $ac_status" >&5
1487 (exit $ac_status); }; }; then
1490 echo "$as_me: failed program was:" >&5
1491 cat conftest.
$ac_ext >&5
1494 rm -f conftest.
$ac_objext conftest.
$ac_ext
1495 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1498 echo "$as_me:1498: result: $ac_cv_c_compiler_gnu" >&5
1499 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1500 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1501 ac_test_CFLAGS
=${CFLAGS+set}
1502 ac_save_CFLAGS
=$CFLAGS
1504 echo "$as_me:1504: checking whether $CC accepts -g" >&5
1505 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1506 if test "${ac_cv_prog_cc_g+set}" = set; then
1507 echo $ECHO_N "(cached) $ECHO_C" >&6
1509 cat >conftest.
$ac_ext <<_ACEOF
1510 #line 1510 "configure"
1511 #include "confdefs.h"
1521 rm -f conftest.
$ac_objext
1522 if { (eval echo "$as_me:1522: \"$ac_compile\"") >&5
1523 (eval $ac_compile) 2>&5
1525 echo "$as_me:1525: \$? = $ac_status" >&5
1526 (exit $ac_status); } &&
1527 { ac_try
='test -s conftest.$ac_objext'
1528 { (eval echo "$as_me:1528: \"$ac_try\"") >&5
1531 echo "$as_me:1531: \$? = $ac_status" >&5
1532 (exit $ac_status); }; }; then
1535 echo "$as_me: failed program was:" >&5
1536 cat conftest.
$ac_ext >&5
1539 rm -f conftest.
$ac_objext conftest.
$ac_ext
1541 echo "$as_me:1541: result: $ac_cv_prog_cc_g" >&5
1542 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1543 if test "$ac_test_CFLAGS" = set; then
1544 CFLAGS
=$ac_save_CFLAGS
1545 elif test $ac_cv_prog_cc_g = yes; then
1546 if test "$GCC" = yes; then
1552 if test "$GCC" = yes; then
1558 # Some people use a C++ compiler to compile C. Since we use `exit',
1559 # in C++ we need to declare it. In case someone uses the same compiler
1560 # for both compiling C and C++ we need to have the C++ compiler decide
1561 # the declaration of exit, since it's the most demanding environment.
1562 cat >conftest.
$ac_ext <<_ACEOF
1567 rm -f conftest.
$ac_objext
1568 if { (eval echo "$as_me:1568: \"$ac_compile\"") >&5
1569 (eval $ac_compile) 2>&5
1571 echo "$as_me:1571: \$? = $ac_status" >&5
1572 (exit $ac_status); } &&
1573 { ac_try
='test -s conftest.$ac_objext'
1574 { (eval echo "$as_me:1574: \"$ac_try\"") >&5
1577 echo "$as_me:1577: \$? = $ac_status" >&5
1578 (exit $ac_status); }; }; then
1579 for ac_declaration
in \
1581 '#include <stdlib.h>' \
1582 'extern "C" void std::exit (int) throw (); using std::exit;' \
1583 'extern "C" void std::exit (int); using std::exit;' \
1584 'extern "C" void exit (int) throw ();' \
1585 'extern "C" void exit (int);' \
1588 cat >conftest.
$ac_ext <<_ACEOF
1589 #line 1589 "configure"
1590 #include "confdefs.h"
1601 rm -f conftest.
$ac_objext
1602 if { (eval echo "$as_me:1602: \"$ac_compile\"") >&5
1603 (eval $ac_compile) 2>&5
1605 echo "$as_me:1605: \$? = $ac_status" >&5
1606 (exit $ac_status); } &&
1607 { ac_try
='test -s conftest.$ac_objext'
1608 { (eval echo "$as_me:1608: \"$ac_try\"") >&5
1611 echo "$as_me:1611: \$? = $ac_status" >&5
1612 (exit $ac_status); }; }; then
1615 echo "$as_me: failed program was:" >&5
1616 cat conftest.
$ac_ext >&5
1619 rm -f conftest.
$ac_objext conftest.
$ac_ext
1620 cat >conftest.
$ac_ext <<_ACEOF
1621 #line 1621 "configure"
1622 #include "confdefs.h"
1632 rm -f conftest.
$ac_objext
1633 if { (eval echo "$as_me:1633: \"$ac_compile\"") >&5
1634 (eval $ac_compile) 2>&5
1636 echo "$as_me:1636: \$? = $ac_status" >&5
1637 (exit $ac_status); } &&
1638 { ac_try
='test -s conftest.$ac_objext'
1639 { (eval echo "$as_me:1639: \"$ac_try\"") >&5
1642 echo "$as_me:1642: \$? = $ac_status" >&5
1643 (exit $ac_status); }; }; then
1646 echo "$as_me: failed program was:" >&5
1647 cat conftest.
$ac_ext >&5
1649 rm -f conftest.
$ac_objext conftest.
$ac_ext
1652 if test -n "$ac_declaration"; then
1653 echo '#ifdef __cplusplus' >>confdefs.h
1654 echo $ac_declaration >>confdefs.h
1655 echo '#endif' >>confdefs.h
1659 echo "$as_me: failed program was:" >&5
1660 cat conftest.
$ac_ext >&5
1662 rm -f conftest.
$ac_objext conftest.
$ac_ext
1664 ac_cpp
='$CPP $CPPFLAGS'
1665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1670 ac_cpp
='$CXXCPP $CPPFLAGS'
1671 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1672 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1673 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
1674 if test -n "$ac_tool_prefix"; then
1675 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
1677 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1678 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1679 echo "$as_me:1679: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_CXX+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 if test -n "$CXX"; then
1685 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1687 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1689 for ac_dir
in $ac_dummy; do
1691 test -z "$ac_dir" && ac_dir
=.
1692 $as_executable_p "$ac_dir/$ac_word" ||
continue
1693 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
1694 echo "$as_me:1694: found $ac_dir/$ac_word" >&5
1701 if test -n "$CXX"; then
1702 echo "$as_me:1702: result: $CXX" >&5
1703 echo "${ECHO_T}$CXX" >&6
1705 echo "$as_me:1705: result: no" >&5
1706 echo "${ECHO_T}no" >&6
1709 test -n "$CXX" && break
1712 if test -z "$CXX"; then
1714 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
1716 # Extract the first word of "$ac_prog", so it can be a program name with args.
1717 set dummy
$ac_prog; ac_word
=$2
1718 echo "$as_me:1718: checking for $ac_word" >&5
1719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1720 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1721 echo $ECHO_N "(cached) $ECHO_C" >&6
1723 if test -n "$ac_ct_CXX"; then
1724 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
1726 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1728 for ac_dir
in $ac_dummy; do
1730 test -z "$ac_dir" && ac_dir
=.
1731 $as_executable_p "$ac_dir/$ac_word" ||
continue
1732 ac_cv_prog_ac_ct_CXX
="$ac_prog"
1733 echo "$as_me:1733: found $ac_dir/$ac_word" >&5
1739 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
1740 if test -n "$ac_ct_CXX"; then
1741 echo "$as_me:1741: result: $ac_ct_CXX" >&5
1742 echo "${ECHO_T}$ac_ct_CXX" >&6
1744 echo "$as_me:1744: result: no" >&5
1745 echo "${ECHO_T}no" >&6
1748 test -n "$ac_ct_CXX" && break
1750 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
1755 # Provide some information about the compiler.
1756 echo "$as_me:1756:" \
1757 "checking for C++ compiler version" >&5
1758 ac_compiler
=`set X $ac_compile; echo $2`
1759 { (eval echo "$as_me:1759: \"$ac_compiler --version </dev/null >&5\"") >&5
1760 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1762 echo "$as_me:1762: \$? = $ac_status" >&5
1763 (exit $ac_status); }
1764 { (eval echo "$as_me:1764: \"$ac_compiler -v </dev/null >&5\"") >&5
1765 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1767 echo "$as_me:1767: \$? = $ac_status" >&5
1768 (exit $ac_status); }
1769 { (eval echo "$as_me:1769: \"$ac_compiler -V </dev/null >&5\"") >&5
1770 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1772 echo "$as_me:1772: \$? = $ac_status" >&5
1773 (exit $ac_status); }
1775 echo "$as_me:1775: checking whether we are using the GNU C++ compiler" >&5
1776 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1777 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1778 echo $ECHO_N "(cached) $ECHO_C" >&6
1780 cat >conftest.
$ac_ext <<_ACEOF
1781 #line 1781 "configure"
1782 #include "confdefs.h"
1795 rm -f conftest.
$ac_objext
1796 if { (eval echo "$as_me:1796: \"$ac_compile\"") >&5
1797 (eval $ac_compile) 2>&5
1799 echo "$as_me:1799: \$? = $ac_status" >&5
1800 (exit $ac_status); } &&
1801 { ac_try
='test -s conftest.$ac_objext'
1802 { (eval echo "$as_me:1802: \"$ac_try\"") >&5
1805 echo "$as_me:1805: \$? = $ac_status" >&5
1806 (exit $ac_status); }; }; then
1809 echo "$as_me: failed program was:" >&5
1810 cat conftest.
$ac_ext >&5
1813 rm -f conftest.
$ac_objext conftest.
$ac_ext
1814 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
1817 echo "$as_me:1817: result: $ac_cv_cxx_compiler_gnu" >&5
1818 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1819 GXX
=`test $ac_compiler_gnu = yes && echo yes`
1820 ac_test_CXXFLAGS
=${CXXFLAGS+set}
1821 ac_save_CXXFLAGS
=$CXXFLAGS
1823 echo "$as_me:1823: checking whether $CXX accepts -g" >&5
1824 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1825 if test "${ac_cv_prog_cxx_g+set}" = set; then
1826 echo $ECHO_N "(cached) $ECHO_C" >&6
1828 cat >conftest.
$ac_ext <<_ACEOF
1829 #line 1829 "configure"
1830 #include "confdefs.h"
1840 rm -f conftest.
$ac_objext
1841 if { (eval echo "$as_me:1841: \"$ac_compile\"") >&5
1842 (eval $ac_compile) 2>&5
1844 echo "$as_me:1844: \$? = $ac_status" >&5
1845 (exit $ac_status); } &&
1846 { ac_try
='test -s conftest.$ac_objext'
1847 { (eval echo "$as_me:1847: \"$ac_try\"") >&5
1850 echo "$as_me:1850: \$? = $ac_status" >&5
1851 (exit $ac_status); }; }; then
1852 ac_cv_prog_cxx_g
=yes
1854 echo "$as_me: failed program was:" >&5
1855 cat conftest.
$ac_ext >&5
1858 rm -f conftest.
$ac_objext conftest.
$ac_ext
1860 echo "$as_me:1860: result: $ac_cv_prog_cxx_g" >&5
1861 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1862 if test "$ac_test_CXXFLAGS" = set; then
1863 CXXFLAGS
=$ac_save_CXXFLAGS
1864 elif test $ac_cv_prog_cxx_g = yes; then
1865 if test "$GXX" = yes; then
1871 if test "$GXX" = yes; then
1877 for ac_declaration
in \
1879 '#include <stdlib.h>' \
1880 'extern "C" void std::exit (int) throw (); using std::exit;' \
1881 'extern "C" void std::exit (int); using std::exit;' \
1882 'extern "C" void exit (int) throw ();' \
1883 'extern "C" void exit (int);' \
1886 cat >conftest.
$ac_ext <<_ACEOF
1887 #line 1887 "configure"
1888 #include "confdefs.h"
1899 rm -f conftest.
$ac_objext
1900 if { (eval echo "$as_me:1900: \"$ac_compile\"") >&5
1901 (eval $ac_compile) 2>&5
1903 echo "$as_me:1903: \$? = $ac_status" >&5
1904 (exit $ac_status); } &&
1905 { ac_try
='test -s conftest.$ac_objext'
1906 { (eval echo "$as_me:1906: \"$ac_try\"") >&5
1909 echo "$as_me:1909: \$? = $ac_status" >&5
1910 (exit $ac_status); }; }; then
1913 echo "$as_me: failed program was:" >&5
1914 cat conftest.
$ac_ext >&5
1917 rm -f conftest.
$ac_objext conftest.
$ac_ext
1918 cat >conftest.
$ac_ext <<_ACEOF
1919 #line 1919 "configure"
1920 #include "confdefs.h"
1930 rm -f conftest.
$ac_objext
1931 if { (eval echo "$as_me:1931: \"$ac_compile\"") >&5
1932 (eval $ac_compile) 2>&5
1934 echo "$as_me:1934: \$? = $ac_status" >&5
1935 (exit $ac_status); } &&
1936 { ac_try
='test -s conftest.$ac_objext'
1937 { (eval echo "$as_me:1937: \"$ac_try\"") >&5
1940 echo "$as_me:1940: \$? = $ac_status" >&5
1941 (exit $ac_status); }; }; then
1944 echo "$as_me: failed program was:" >&5
1945 cat conftest.
$ac_ext >&5
1947 rm -f conftest.
$ac_objext conftest.
$ac_ext
1950 if test -n "$ac_declaration"; then
1951 echo '#ifdef __cplusplus' >>confdefs.h
1952 echo $ac_declaration >>confdefs.h
1953 echo '#endif' >>confdefs.h
1957 ac_cpp
='$CPP $CPPFLAGS'
1958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1963 ac_cpp
='$CXXCPP $CPPFLAGS'
1964 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1965 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1966 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
1968 if test "$cross_compiling" = no
; then
1969 echo "$as_me:1969: checking that C++ compiler can compile simple program" >&5
1970 echo $ECHO_N "checking that C++ compiler can compile simple program... $ECHO_C" >&6
1972 if test "$cross_compiling" = yes; then
1975 cat >conftest.
$ac_ext <<_ACEOF
1976 #line 1976 "configure"
1977 #include "confdefs.h"
1978 int main() { return 0; }
1980 rm -f conftest
$ac_exeext
1981 if { (eval echo "$as_me:1981: \"$ac_link\"") >&5
1982 (eval $ac_link) 2>&5
1984 echo "$as_me:1984: \$? = $ac_status" >&5
1985 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
1986 { (eval echo "$as_me:1986: \"$ac_try\"") >&5
1989 echo "$as_me:1989: \$? = $ac_status" >&5
1990 (exit $ac_status); }; }; then
1991 echo "$as_me:1991: result: yes" >&5
1992 echo "${ECHO_T}yes" >&6
1994 echo "$as_me: program exited with status $ac_status" >&5
1995 echo "$as_me: failed program was:" >&5
1996 cat conftest.
$ac_ext >&5
1997 echo "$as_me:1997: result: no" >&5
1998 echo "${ECHO_T}no" >&6;{ { echo "$as_me:1998: error: a working C++ compiler is required" >&5
1999 echo "$as_me: error: a working C++ compiler is required" >&2;}
2000 { (exit 1); exit 1; }; }
2002 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2004 if test "$cross_compiling" = no
; then
2005 echo "$as_me:2005: checking that C++ static constructors and destructors are called" >&5
2006 echo $ECHO_N "checking that C++ static constructors and destructors are called... $ECHO_C" >&6
2008 if test "$cross_compiling" = yes; then
2011 cat >conftest.
$ac_ext <<_ACEOF
2012 #line 2012 "configure"
2013 #include "confdefs.h"
2022 ~A() { if (i == 1) _exit(0); }
2025 int main() { return 1; }
2028 rm -f conftest
$ac_exeext
2029 if { (eval echo "$as_me:2029: \"$ac_link\"") >&5
2030 (eval $ac_link) 2>&5
2032 echo "$as_me:2032: \$? = $ac_status" >&5
2033 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2034 { (eval echo "$as_me:2034: \"$ac_try\"") >&5
2037 echo "$as_me:2037: \$? = $ac_status" >&5
2038 (exit $ac_status); }; }; then
2039 echo "$as_me:2039: result: yes" >&5
2040 echo "${ECHO_T}yes" >&6
2042 echo "$as_me: program exited with status $ac_status" >&5
2043 echo "$as_me: failed program was:" >&5
2044 cat conftest.
$ac_ext >&5
2045 echo "$as_me:2045: result: no" >&5
2046 echo "${ECHO_T}no" >&6;{ { echo "$as_me:2046: error: a working C++ compiler is required" >&5
2047 echo "$as_me: error: a working C++ compiler is required" >&2;}
2048 { (exit 1); exit 1; }; }
2050 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2052 echo "$as_me:2052: checking that header files support C++" >&5
2053 echo $ECHO_N "checking that header files support C++... $ECHO_C" >&6
2054 cat >conftest.
$ac_ext <<_ACEOF
2055 #line 2055 "configure"
2056 #include "confdefs.h"
2066 rm -f conftest.
$ac_objext conftest
$ac_exeext
2067 if { (eval echo "$as_me:2067: \"$ac_link\"") >&5
2068 (eval $ac_link) 2>&5
2070 echo "$as_me:2070: \$? = $ac_status" >&5
2071 (exit $ac_status); } &&
2072 { ac_try
='test -s conftest$ac_exeext'
2073 { (eval echo "$as_me:2073: \"$ac_try\"") >&5
2076 echo "$as_me:2076: \$? = $ac_status" >&5
2077 (exit $ac_status); }; }; then
2078 echo "$as_me:2078: result: yes" >&5
2079 echo "${ECHO_T}yes" >&6
2081 echo "$as_me: failed program was:" >&5
2082 cat conftest.
$ac_ext >&5
2083 echo "$as_me:2083: result: no" >&5
2084 echo "${ECHO_T}no" >&6;{ { echo "$as_me:2084: error: header files do not support C++ (if you are using a version of gcc/g++ earlier than 2.5, you should install libg++)" >&5
2085 echo "$as_me: error: header files do not support C++ (if you are using a version of gcc/g++ earlier than 2.5, you should install libg++)" >&2;}
2086 { (exit 1); exit 1; }; }
2088 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2090 ac_cpp
='$CPP $CPPFLAGS'
2091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2095 echo "$as_me:2095: checking whether character set is EBCDIC" >&5
2096 echo $ECHO_N "checking whether character set is EBCDIC... $ECHO_C" >&6
2097 cat >conftest.
$ac_ext <<_ACEOF
2098 #line 2098 "configure"
2099 #include "confdefs.h"
2104 /* Treat any failure as ASCII for compatibility with existing art.
2105 Use compile-time rather than run-time tests for cross-compiler
2108 make an error "Character set is not EBCDIC"
2114 rm -f conftest.
$ac_objext
2115 if { (eval echo "$as_me:2115: \"$ac_compile\"") >&5
2116 (eval $ac_compile) 2>&5
2118 echo "$as_me:2118: \$? = $ac_status" >&5
2119 (exit $ac_status); } &&
2120 { ac_try
='test -s conftest.$ac_objext'
2121 { (eval echo "$as_me:2121: \"$ac_try\"") >&5
2124 echo "$as_me:2124: \$? = $ac_status" >&5
2125 (exit $ac_status); }; }; then
2126 groff_cv_ebcdic
="yes"
2127 TTYDEVDIRS
="font/devcp1047"
2128 echo "$as_me:2128: result: yes" >&5
2129 echo "${ECHO_T}yes" >&6
2131 cat >>confdefs.h
<<\EOF
2132 #define IS_EBCDIC_HOST 1
2136 echo "$as_me: failed program was:" >&5
2137 cat conftest.
$ac_ext >&5
2138 groff_cv_ebcdic
="no"
2139 TTYDEVDIRS
="font/devascii font/devlatin1"
2140 OTHERDEVDIRS
="font/devlj4 font/devlbp"
2141 echo "$as_me:2141: result: no" >&5
2142 echo "${ECHO_T}no" >&6
2144 rm -f conftest.
$ac_objext conftest.
$ac_ext
2146 if test "$groff_cv_ebcdic" = "yes"; then
2147 echo "$as_me:2147: checking for OS/390 Unix" >&5
2148 echo $ECHO_N "checking for OS/390 Unix... $ECHO_C" >&6
2151 CFLAGS
="$CFLAGS -D_ALL_SOURCE"
2152 echo "$as_me:2152: result: yes" >&5
2153 echo "${ECHO_T}yes" >&6 ;;
2155 echo "$as_me:2155: result: no" >&5
2156 echo "${ECHO_T}no" >&6 ;;
2159 if test -z "$PSPRINT"; then
2162 # Extract the first word of "$ac_prog", so it can be a program name with args.
2163 set dummy
$ac_prog; ac_word
=$2
2164 echo "$as_me:2164: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2166 if test "${ac_cv_prog_LPR+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 if test -n "$LPR"; then
2170 ac_cv_prog_LPR
="$LPR" # Let the user override the test.
2172 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2174 for ac_dir
in $ac_dummy; do
2176 test -z "$ac_dir" && ac_dir
=.
2177 $as_executable_p "$ac_dir/$ac_word" ||
continue
2178 ac_cv_prog_LPR
="$ac_prog"
2179 echo "$as_me:2179: found $ac_dir/$ac_word" >&5
2186 if test -n "$LPR"; then
2187 echo "$as_me:2187: result: $LPR" >&5
2188 echo "${ECHO_T}$LPR" >&6
2190 echo "$as_me:2190: result: no" >&5
2191 echo "${ECHO_T}no" >&6
2194 test -n "$LPR" && break
2199 # Extract the first word of "$ac_prog", so it can be a program name with args.
2200 set dummy
$ac_prog; ac_word
=$2
2201 echo "$as_me:2201: checking for $ac_word" >&5
2202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2203 if test "${ac_cv_prog_LP+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 if test -n "$LP"; then
2207 ac_cv_prog_LP
="$LP" # Let the user override the test.
2209 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2211 for ac_dir
in $ac_dummy; do
2213 test -z "$ac_dir" && ac_dir
=.
2214 $as_executable_p "$ac_dir/$ac_word" ||
continue
2215 ac_cv_prog_LP
="$ac_prog"
2216 echo "$as_me:2216: found $ac_dir/$ac_word" >&5
2223 if test -n "$LP"; then
2224 echo "$as_me:2224: result: $LP" >&5
2225 echo "${ECHO_T}$LP" >&6
2227 echo "$as_me:2227: result: no" >&5
2228 echo "${ECHO_T}no" >&6
2231 test -n "$LP" && break
2234 if test -n "$LPR" && test -n "$LP"; then
2235 # HP-UX provides an lpr command that emulates lpr using lp,
2236 # but it doesn't have lpq; in this case we want to use lp
2240 # Extract the first word of "$ac_prog", so it can be a program name with args.
2241 set dummy
$ac_prog; ac_word
=$2
2242 echo "$as_me:2242: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2244 if test "${ac_cv_prog_LPQ+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 if test -n "$LPQ"; then
2248 ac_cv_prog_LPQ
="$LPQ" # Let the user override the test.
2250 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2252 for ac_dir
in $ac_dummy; do
2254 test -z "$ac_dir" && ac_dir
=.
2255 $as_executable_p "$ac_dir/$ac_word" ||
continue
2256 ac_cv_prog_LPQ
="$ac_prog"
2257 echo "$as_me:2257: found $ac_dir/$ac_word" >&5
2264 if test -n "$LPQ"; then
2265 echo "$as_me:2265: result: $LPQ" >&5
2266 echo "${ECHO_T}$LPQ" >&6
2268 echo "$as_me:2268: result: no" >&5
2269 echo "${ECHO_T}no" >&6
2272 test -n "$LPQ" && break
2275 test -n "$LPQ" || LPR
=
2277 if test -n "$LPR"; then
2279 elif test -n "$LP"; then
2284 echo "$as_me:2284: checking for command to use for printing PostScript files" >&5
2285 echo $ECHO_N "checking for command to use for printing PostScript files... $ECHO_C" >&6
2286 echo "$as_me:2286: result: $PSPRINT" >&5
2287 echo "${ECHO_T}$PSPRINT" >&6
2288 # Figure out DVIPRINT from PSPRINT.
2289 echo "$as_me:2289: checking for command to use for printing dvi files" >&5
2290 echo $ECHO_N "checking for command to use for printing dvi files... $ECHO_C" >&6
2291 if test -n "$PSPRINT" && test -z "$DVIPRINT"; then
2292 if test "X$PSPRINT" = "Xlpr"; then
2299 echo "$as_me:2299: result: $DVIPRINT" >&5
2300 echo "${ECHO_T}$DVIPRINT" >&6
2301 # Extract the first word of "perl", so it can be a program name with args.
2302 set dummy perl
; ac_word
=$2
2303 echo "$as_me:2303: checking for $ac_word" >&5
2304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2305 if test "${ac_cv_path_PERLPATH+set}" = set; then
2306 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 ac_cv_path_PERLPATH
="$PERLPATH" # Let the user override the test with a path.
2313 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2315 for ac_dir
in $ac_dummy; do
2317 test -z "$ac_dir" && ac_dir
=.
2318 if $as_executable_p "$ac_dir/$ac_word"; then
2319 ac_cv_path_PERLPATH
="$ac_dir/$ac_word"
2320 echo "$as_me:2320: found $ac_dir/$ac_word" >&5
2325 test -z "$ac_cv_path_PERLPATH" && ac_cv_path_PERLPATH
="/usr/bin/perl"
2329 PERLPATH
=$ac_cv_path_PERLPATH
2331 if test -n "$PERLPATH"; then
2332 echo "$as_me:2332: result: $PERLPATH" >&5
2333 echo "${ECHO_T}$PERLPATH" >&6
2335 echo "$as_me:2335: result: no" >&5
2336 echo "${ECHO_T}no" >&6
2339 for ac_prog
in byacc
'bison -y'
2341 # Extract the first word of "$ac_prog", so it can be a program name with args.
2342 set dummy
$ac_prog; ac_word
=$2
2343 echo "$as_me:2343: checking for $ac_word" >&5
2344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2345 if test "${ac_cv_prog_YACC+set}" = set; then
2346 echo $ECHO_N "(cached) $ECHO_C" >&6
2348 if test -n "$YACC"; then
2349 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
2351 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2353 for ac_dir
in $ac_dummy; do
2355 test -z "$ac_dir" && ac_dir
=.
2356 $as_executable_p "$ac_dir/$ac_word" ||
continue
2357 ac_cv_prog_YACC
="$ac_prog"
2358 echo "$as_me:2358: found $ac_dir/$ac_word" >&5
2364 YACC
=$ac_cv_prog_YACC
2365 if test -n "$YACC"; then
2366 echo "$as_me:2366: result: $YACC" >&5
2367 echo "${ECHO_T}$YACC" >&6
2369 echo "$as_me:2369: result: no" >&5
2370 echo "${ECHO_T}no" >&6
2373 test -n "$YACC" && break
2375 test -n "$YACC" || YACC
="yacc"
2377 if test -n "$ac_tool_prefix"; then
2378 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2379 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2380 echo "$as_me:2380: checking for $ac_word" >&5
2381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2382 if test "${ac_cv_prog_RANLIB+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2385 if test -n "$RANLIB"; then
2386 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2388 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2390 for ac_dir
in $ac_dummy; do
2392 test -z "$ac_dir" && ac_dir
=.
2393 $as_executable_p "$ac_dir/$ac_word" ||
continue
2394 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2395 echo "$as_me:2395: found $ac_dir/$ac_word" >&5
2401 RANLIB
=$ac_cv_prog_RANLIB
2402 if test -n "$RANLIB"; then
2403 echo "$as_me:2403: result: $RANLIB" >&5
2404 echo "${ECHO_T}$RANLIB" >&6
2406 echo "$as_me:2406: result: no" >&5
2407 echo "${ECHO_T}no" >&6
2411 if test -z "$ac_cv_prog_RANLIB"; then
2412 ac_ct_RANLIB
=$RANLIB
2413 # Extract the first word of "ranlib", so it can be a program name with args.
2414 set dummy ranlib
; ac_word
=$2
2415 echo "$as_me:2415: checking for $ac_word" >&5
2416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2417 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2418 echo $ECHO_N "(cached) $ECHO_C" >&6
2420 if test -n "$ac_ct_RANLIB"; then
2421 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2423 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2425 for ac_dir
in $ac_dummy; do
2427 test -z "$ac_dir" && ac_dir
=.
2428 $as_executable_p "$ac_dir/$ac_word" ||
continue
2429 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2430 echo "$as_me:2430: found $ac_dir/$ac_word" >&5
2434 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2437 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2438 if test -n "$ac_ct_RANLIB"; then
2439 echo "$as_me:2439: result: $ac_ct_RANLIB" >&5
2440 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2442 echo "$as_me:2442: result: no" >&5
2443 echo "${ECHO_T}no" >&6
2446 RANLIB
=$ac_ct_RANLIB
2448 RANLIB
="$ac_cv_prog_RANLIB"
2452 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2453 if test -f $ac_dir/install-sh
; then
2455 ac_install_sh
="$ac_aux_dir/install-sh -c"
2457 elif test -f $ac_dir/install.sh
; then
2459 ac_install_sh
="$ac_aux_dir/install.sh -c"
2461 elif test -f $ac_dir/shtool
; then
2463 ac_install_sh
="$ac_aux_dir/shtool install -c"
2467 if test -z "$ac_aux_dir"; then
2468 { { echo "$as_me:2468: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2469 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2470 { (exit 1); exit 1; }; }
2472 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2473 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2474 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2476 ac_dir
=`cd $ac_aux_dir; pwd`
2477 ac_install_sh
="$ac_dir/install-sh -c"
2478 # Find a good install program. We prefer a C program (faster),
2479 # so one script is as good as another. But avoid the broken or
2480 # incompatible versions:
2481 # SysV /etc/install, /usr/sbin/install
2482 # SunOS /usr/etc/install
2483 # IRIX /sbin/install
2485 # AmigaOS /C/install, which installs bootblocks on floppy discs
2486 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2487 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2488 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2489 # ./install, which can be erroneously created by make from ./install.sh.
2490 echo "$as_me:2490: checking for a BSD compatible install" >&5
2491 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2492 if test -z "$INSTALL"; then
2493 if test "${ac_cv_path_install+set}" = set; then
2494 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2497 for ac_dir
in $PATH; do
2499 # Account for people who put trailing slashes in PATH elements.
2501 / | .
/ | .
// |
/cC
/* \
2502 |
/etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* \
2505 # OSF1 and SCO ODT 3.0 have their own names for install.
2506 # Don't use installbsd from OSF since it installs stuff as root
2508 for ac_prog
in ginstall scoinst
install; do
2509 if $as_executable_p "$ac_dir/$ac_prog"; then
2510 if test $ac_prog = install &&
2511 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
2512 # AIX install. It has an incompatible calling convention.
2514 elif test $ac_prog = install &&
2515 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
2516 # program-specific install script used by HP pwplus--don't use.
2519 ac_cv_path_install
="$ac_dir/$ac_prog -c"
2529 if test "${ac_cv_path_install+set}" = set; then
2530 INSTALL
=$ac_cv_path_install
2532 # As a last resort, use the slow shell script. We don't cache a
2533 # path for INSTALL within a source directory, because that will
2534 # break other packages using the cache if that directory is
2535 # removed, or if the path is relative.
2536 INSTALL
=$ac_install_sh
2539 echo "$as_me:2539: result: $INSTALL" >&5
2540 echo "${ECHO_T}$INSTALL" >&6
2542 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2543 # It thinks the first close brace ends the variable substitution.
2544 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2546 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2548 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2550 echo "$as_me:2550: checking whether ln -s works" >&5
2551 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2553 if test "$LN_S" = "ln -s"; then
2554 echo "$as_me:2554: result: yes" >&5
2555 echo "${ECHO_T}yes" >&6
2557 echo "$as_me:2557: result: no, using $LN_S" >&5
2558 echo "${ECHO_T}no, using $LN_S" >&6
2561 echo "$as_me:2561: checking for csh hash hack" >&5
2562 echo $ECHO_N "checking for csh hash hack... $ECHO_C" >&6
2563 cat <<EOF >conftest.sh
2566 export PATH || exit 0
2569 chmod +x conftest.sh
2570 if echo .
/conftest.sh |
(csh
>/dev
/null
2>&1) >/dev
/null
2>&1; then
2571 echo "$as_me:2571: result: yes" >&5
2572 echo "${ECHO_T}yes" >&6; SH_SCRIPT_SED_CMD
='1s/.*/:/'
2574 echo "$as_me:2574: result: no" >&5
2575 echo "${ECHO_T}no" >&6; SH_SCRIPT_SED_CMD
='1s/a/a/'
2580 ac_cpp
='$CPP $CPPFLAGS'
2581 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2582 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2583 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2584 echo "$as_me:2584: checking how to run the C preprocessor" >&5
2585 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2586 # On Suns, sometimes $CPP names a directory.
2587 if test -n "$CPP" && test -d "$CPP"; then
2590 if test -z "$CPP"; then
2591 if test "${ac_cv_prog_CPP+set}" = set; then
2592 echo $ECHO_N "(cached) $ECHO_C" >&6
2594 # Double quotes because CPP needs to be expanded
2595 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2598 for ac_c_preproc_warn_flag
in '' yes
2600 # Use a header file that comes with gcc, so configuring glibc
2601 # with a fresh cross-compiler works.
2602 # On the NeXT, cc -E runs the code through the compiler's parser,
2603 # not just through cpp. "Syntax error" is here to catch this case.
2604 cat >conftest.
$ac_ext <<_ACEOF
2605 #line 2605 "configure"
2606 #include "confdefs.h"
2610 if { (eval echo "$as_me:2610: \"$ac_cpp conftest.$ac_ext\"") >&5
2611 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2613 egrep -v '^ *\+' conftest.er1
>conftest.err
2615 cat conftest.err
>&5
2616 echo "$as_me:2616: \$? = $ac_status" >&5
2617 (exit $ac_status); } >/dev
/null
; then
2618 if test -s conftest.err
; then
2619 ac_cpp_err
=$ac_c_preproc_warn_flag
2626 if test -z "$ac_cpp_err"; then
2629 echo "$as_me: failed program was:" >&5
2630 cat conftest.
$ac_ext >&5
2631 # Broken: fails on valid input.
2634 rm -f conftest.err conftest.
$ac_ext
2636 # OK, works on sane cases. Now check whether non-existent headers
2637 # can be detected and how.
2638 cat >conftest.
$ac_ext <<_ACEOF
2639 #line 2639 "configure"
2640 #include "confdefs.h"
2641 #include <ac_nonexistent.h>
2643 if { (eval echo "$as_me:2643: \"$ac_cpp conftest.$ac_ext\"") >&5
2644 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2646 egrep -v '^ *\+' conftest.er1
>conftest.err
2648 cat conftest.err
>&5
2649 echo "$as_me:2649: \$? = $ac_status" >&5
2650 (exit $ac_status); } >/dev
/null
; then
2651 if test -s conftest.err
; then
2652 ac_cpp_err
=$ac_c_preproc_warn_flag
2659 if test -z "$ac_cpp_err"; then
2660 # Broken: success on invalid input.
2663 echo "$as_me: failed program was:" >&5
2664 cat conftest.
$ac_ext >&5
2665 # Passes both tests.
2669 rm -f conftest.err conftest.
$ac_ext
2672 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2673 rm -f conftest.err conftest.
$ac_ext
2674 if $ac_preproc_ok; then
2686 echo "$as_me:2686: result: $CPP" >&5
2687 echo "${ECHO_T}$CPP" >&6
2689 for ac_c_preproc_warn_flag
in '' yes
2691 # Use a header file that comes with gcc, so configuring glibc
2692 # with a fresh cross-compiler works.
2693 # On the NeXT, cc -E runs the code through the compiler's parser,
2694 # not just through cpp. "Syntax error" is here to catch this case.
2695 cat >conftest.
$ac_ext <<_ACEOF
2696 #line 2696 "configure"
2697 #include "confdefs.h"
2701 if { (eval echo "$as_me:2701: \"$ac_cpp conftest.$ac_ext\"") >&5
2702 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2704 egrep -v '^ *\+' conftest.er1
>conftest.err
2706 cat conftest.err
>&5
2707 echo "$as_me:2707: \$? = $ac_status" >&5
2708 (exit $ac_status); } >/dev
/null
; then
2709 if test -s conftest.err
; then
2710 ac_cpp_err
=$ac_c_preproc_warn_flag
2717 if test -z "$ac_cpp_err"; then
2720 echo "$as_me: failed program was:" >&5
2721 cat conftest.
$ac_ext >&5
2722 # Broken: fails on valid input.
2725 rm -f conftest.err conftest.
$ac_ext
2727 # OK, works on sane cases. Now check whether non-existent headers
2728 # can be detected and how.
2729 cat >conftest.
$ac_ext <<_ACEOF
2730 #line 2730 "configure"
2731 #include "confdefs.h"
2732 #include <ac_nonexistent.h>
2734 if { (eval echo "$as_me:2734: \"$ac_cpp conftest.$ac_ext\"") >&5
2735 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2737 egrep -v '^ *\+' conftest.er1
>conftest.err
2739 cat conftest.err
>&5
2740 echo "$as_me:2740: \$? = $ac_status" >&5
2741 (exit $ac_status); } >/dev
/null
; then
2742 if test -s conftest.err
; then
2743 ac_cpp_err
=$ac_c_preproc_warn_flag
2750 if test -z "$ac_cpp_err"; then
2751 # Broken: success on invalid input.
2754 echo "$as_me: failed program was:" >&5
2755 cat conftest.
$ac_ext >&5
2756 # Passes both tests.
2760 rm -f conftest.err conftest.
$ac_ext
2763 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2764 rm -f conftest.err conftest.
$ac_ext
2765 if $ac_preproc_ok; then
2768 { { echo "$as_me:2768: error: C preprocessor \"$CPP\" fails sanity check" >&5
2769 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2770 { (exit 1); exit 1; }; }
2774 ac_cpp
='$CPP $CPPFLAGS'
2775 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2776 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2777 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2779 for ac_header
in stdlib.h unistd.h dirent.h limits.h sys
/dir.h \
2780 string.h
strings.h math.h stdint.h sys
/time.h
2782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2783 echo "$as_me:2783: checking for $ac_header" >&5
2784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 cat >conftest.
$ac_ext <<_ACEOF
2789 #line 2789 "configure"
2790 #include "confdefs.h"
2791 #include <$ac_header>
2793 if { (eval echo "$as_me:2793: \"$ac_cpp conftest.$ac_ext\"") >&5
2794 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2796 egrep -v '^ *\+' conftest.er1
>conftest.err
2798 cat conftest.err
>&5
2799 echo "$as_me:2799: \$? = $ac_status" >&5
2800 (exit $ac_status); } >/dev
/null
; then
2801 if test -s conftest.err
; then
2802 ac_cpp_err
=$ac_c_preproc_warn_flag
2809 if test -z "$ac_cpp_err"; then
2810 eval "$as_ac_Header=yes"
2812 echo "$as_me: failed program was:" >&5
2813 cat conftest.
$ac_ext >&5
2814 eval "$as_ac_Header=no"
2816 rm -f conftest.err conftest.
$ac_ext
2818 echo "$as_me:2818: result: `eval echo '${'$as_ac_Header'}'`" >&5
2819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2821 cat >>confdefs.h
<<EOF
2822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2828 echo "$as_me:2828: checking for ISC 3.x or 4.x" >&5
2829 echo $ECHO_N "checking for ISC 3.x or 4.x... $ECHO_C" >&6
2830 if grep '[34]\.' /usr
/options
/cb.name
>/dev
/null
2>&1
2832 echo "$as_me:2832: result: yes" >&5
2833 echo "${ECHO_T}yes" >&6
2835 cat >>confdefs.h
<<\EOF
2840 echo "$as_me:2840: result: no" >&5
2841 echo "${ECHO_T}no" >&6
2843 echo "$as_me:2843: checking whether -D_POSIX_SOURCE is necessary" >&5
2844 echo $ECHO_N "checking whether -D_POSIX_SOURCE is necessary... $ECHO_C" >&6
2846 ac_cpp
='$CXXCPP $CPPFLAGS'
2847 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2848 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2851 cat >conftest.
$ac_ext <<_ACEOF
2852 #line 2852 "configure"
2853 #include "confdefs.h"
2855 extern "C" { void fileno(int); }
2864 rm -f conftest.
$ac_objext
2865 if { (eval echo "$as_me:2865: \"$ac_compile\"") >&5
2866 (eval $ac_compile) 2>&5
2868 echo "$as_me:2868: \$? = $ac_status" >&5
2869 (exit $ac_status); } &&
2870 { ac_try
='test -s conftest.$ac_objext'
2871 { (eval echo "$as_me:2871: \"$ac_try\"") >&5
2874 echo "$as_me:2874: \$? = $ac_status" >&5
2875 (exit $ac_status); }; }; then
2876 echo "$as_me:2876: result: yes" >&5
2877 echo "${ECHO_T}yes" >&6;
2878 cat >>confdefs.h
<<\EOF
2879 #define _POSIX_SOURCE 1
2883 echo "$as_me: failed program was:" >&5
2884 cat conftest.
$ac_ext >&5
2885 echo "$as_me:2885: result: no" >&5
2886 echo "${ECHO_T}no" >&6
2888 rm -f conftest.
$ac_objext conftest.
$ac_ext
2890 ac_cpp
='$CPP $CPPFLAGS'
2891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2896 ac_cpp
='$CXXCPP $CPPFLAGS'
2897 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2901 echo "$as_me:2901: checking for return type of srand" >&5
2902 echo $ECHO_N "checking for return type of srand... $ECHO_C" >&6
2903 cat >conftest.
$ac_ext <<_ACEOF
2904 #line 2904 "configure"
2905 #include "confdefs.h"
2907 extern "C" { void srand(unsigned int); }
2916 rm -f conftest.
$ac_objext
2917 if { (eval echo "$as_me:2917: \"$ac_compile\"") >&5
2918 (eval $ac_compile) 2>&5
2920 echo "$as_me:2920: \$? = $ac_status" >&5
2921 (exit $ac_status); } &&
2922 { ac_try
='test -s conftest.$ac_objext'
2923 { (eval echo "$as_me:2923: \"$ac_try\"") >&5
2926 echo "$as_me:2926: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then
2928 echo "$as_me:2928: result: void" >&5
2929 echo "${ECHO_T}void" >&6;
2930 cat >>confdefs.h
<<\EOF
2931 #define RET_TYPE_SRAND_IS_VOID 1
2935 echo "$as_me: failed program was:" >&5
2936 cat conftest.
$ac_ext >&5
2937 echo "$as_me:2937: result: int" >&5
2938 echo "${ECHO_T}int" >&6
2940 rm -f conftest.
$ac_objext conftest.
$ac_ext
2942 ac_cpp
='$CPP $CPPFLAGS'
2943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2947 echo "$as_me:2947: checking whether gettimeofday must be declared" >&5
2948 echo $ECHO_N "checking whether gettimeofday must be declared... $ECHO_C" >&6
2950 ac_cpp
='$CXXCPP $CPPFLAGS'
2951 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2952 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2953 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2955 if test "${groff_cv_decl_needed_gettimeofday+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 cat >conftest.
$ac_ext <<_ACEOF
2959 #line 2959 "configure"
2960 #include "confdefs.h"
2963 #ifdef HAVE_STRING_H
2966 #ifdef HAVE_STRINGS_H
2967 #include <strings.h>
2969 #ifdef HAVE_STDLIB_H
2972 #ifdef HAVE_SYS_TIME_H
2973 #include <sys/time.h>
2975 #ifdef HAVE_UNISTD_H
2984 char *(*pfn) = (char *(*)) gettimeofday
2989 rm -f conftest.
$ac_objext
2990 if { (eval echo "$as_me:2990: \"$ac_compile\"") >&5
2991 (eval $ac_compile) 2>&5
2993 echo "$as_me:2993: \$? = $ac_status" >&5
2994 (exit $ac_status); } &&
2995 { ac_try
='test -s conftest.$ac_objext'
2996 { (eval echo "$as_me:2996: \"$ac_try\"") >&5
2999 echo "$as_me:2999: \$? = $ac_status" >&5
3000 (exit $ac_status); }; }; then
3001 groff_cv_decl_needed_gettimeofday
=no
3003 echo "$as_me: failed program was:" >&5
3004 cat conftest.
$ac_ext >&5
3005 groff_cv_decl_needed_gettimeofday
=yes
3007 rm -f conftest.
$ac_objext conftest.
$ac_ext
3010 echo "$as_me:3010: result: $groff_cv_decl_needed_gettimeofday" >&5
3011 echo "${ECHO_T}$groff_cv_decl_needed_gettimeofday" >&6
3012 if test $groff_cv_decl_needed_gettimeofday = yes; then
3014 cat >>confdefs.h
<<\EOF
3015 #define NEED_DECLARATION_GETTIMEOFDAY 1
3020 ac_cpp
='$CPP $CPPFLAGS'
3021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3025 echo "$as_me:3025: checking whether hypot must be declared" >&5
3026 echo $ECHO_N "checking whether hypot must be declared... $ECHO_C" >&6
3028 ac_cpp
='$CXXCPP $CPPFLAGS'
3029 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3030 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3031 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3033 if test "${groff_cv_decl_needed_hypot+set}" = set; then
3034 echo $ECHO_N "(cached) $ECHO_C" >&6
3036 cat >conftest.
$ac_ext <<_ACEOF
3037 #line 3037 "configure"
3038 #include "confdefs.h"
3041 #ifdef HAVE_STRING_H
3044 #ifdef HAVE_STRINGS_H
3045 #include <strings.h>
3047 #ifdef HAVE_STDLIB_H
3050 #ifdef HAVE_SYS_TIME_H
3051 #include <sys/time.h>
3053 #ifdef HAVE_UNISTD_H
3062 char *(*pfn) = (char *(*)) hypot
3067 rm -f conftest.
$ac_objext
3068 if { (eval echo "$as_me:3068: \"$ac_compile\"") >&5
3069 (eval $ac_compile) 2>&5
3071 echo "$as_me:3071: \$? = $ac_status" >&5
3072 (exit $ac_status); } &&
3073 { ac_try
='test -s conftest.$ac_objext'
3074 { (eval echo "$as_me:3074: \"$ac_try\"") >&5
3077 echo "$as_me:3077: \$? = $ac_status" >&5
3078 (exit $ac_status); }; }; then
3079 groff_cv_decl_needed_hypot
=no
3081 echo "$as_me: failed program was:" >&5
3082 cat conftest.
$ac_ext >&5
3083 groff_cv_decl_needed_hypot
=yes
3085 rm -f conftest.
$ac_objext conftest.
$ac_ext
3088 echo "$as_me:3088: result: $groff_cv_decl_needed_hypot" >&5
3089 echo "${ECHO_T}$groff_cv_decl_needed_hypot" >&6
3090 if test $groff_cv_decl_needed_hypot = yes; then
3092 cat >>confdefs.h
<<\EOF
3093 #define NEED_DECLARATION_HYPOT 1
3098 ac_cpp
='$CPP $CPPFLAGS'
3099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3103 echo "$as_me:3103: checking whether popen must be declared" >&5
3104 echo $ECHO_N "checking whether popen must be declared... $ECHO_C" >&6
3106 ac_cpp
='$CXXCPP $CPPFLAGS'
3107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3111 if test "${groff_cv_decl_needed_popen+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 cat >conftest.
$ac_ext <<_ACEOF
3115 #line 3115 "configure"
3116 #include "confdefs.h"
3119 #ifdef HAVE_STRING_H
3122 #ifdef HAVE_STRINGS_H
3123 #include <strings.h>
3125 #ifdef HAVE_STDLIB_H
3128 #ifdef HAVE_SYS_TIME_H
3129 #include <sys/time.h>
3131 #ifdef HAVE_UNISTD_H
3140 char *(*pfn) = (char *(*)) popen
3145 rm -f conftest.
$ac_objext
3146 if { (eval echo "$as_me:3146: \"$ac_compile\"") >&5
3147 (eval $ac_compile) 2>&5
3149 echo "$as_me:3149: \$? = $ac_status" >&5
3150 (exit $ac_status); } &&
3151 { ac_try
='test -s conftest.$ac_objext'
3152 { (eval echo "$as_me:3152: \"$ac_try\"") >&5
3155 echo "$as_me:3155: \$? = $ac_status" >&5
3156 (exit $ac_status); }; }; then
3157 groff_cv_decl_needed_popen
=no
3159 echo "$as_me: failed program was:" >&5
3160 cat conftest.
$ac_ext >&5
3161 groff_cv_decl_needed_popen
=yes
3163 rm -f conftest.
$ac_objext conftest.
$ac_ext
3166 echo "$as_me:3166: result: $groff_cv_decl_needed_popen" >&5
3167 echo "${ECHO_T}$groff_cv_decl_needed_popen" >&6
3168 if test $groff_cv_decl_needed_popen = yes; then
3170 cat >>confdefs.h
<<\EOF
3171 #define NEED_DECLARATION_POPEN 1
3176 ac_cpp
='$CPP $CPPFLAGS'
3177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3181 echo "$as_me:3181: checking whether pclose must be declared" >&5
3182 echo $ECHO_N "checking whether pclose must be declared... $ECHO_C" >&6
3184 ac_cpp
='$CXXCPP $CPPFLAGS'
3185 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3186 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3187 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3189 if test "${groff_cv_decl_needed_pclose+set}" = set; then
3190 echo $ECHO_N "(cached) $ECHO_C" >&6
3192 cat >conftest.
$ac_ext <<_ACEOF
3193 #line 3193 "configure"
3194 #include "confdefs.h"
3197 #ifdef HAVE_STRING_H
3200 #ifdef HAVE_STRINGS_H
3201 #include <strings.h>
3203 #ifdef HAVE_STDLIB_H
3206 #ifdef HAVE_SYS_TIME_H
3207 #include <sys/time.h>
3209 #ifdef HAVE_UNISTD_H
3218 char *(*pfn) = (char *(*)) pclose
3223 rm -f conftest.
$ac_objext
3224 if { (eval echo "$as_me:3224: \"$ac_compile\"") >&5
3225 (eval $ac_compile) 2>&5
3227 echo "$as_me:3227: \$? = $ac_status" >&5
3228 (exit $ac_status); } &&
3229 { ac_try
='test -s conftest.$ac_objext'
3230 { (eval echo "$as_me:3230: \"$ac_try\"") >&5
3233 echo "$as_me:3233: \$? = $ac_status" >&5
3234 (exit $ac_status); }; }; then
3235 groff_cv_decl_needed_pclose
=no
3237 echo "$as_me: failed program was:" >&5
3238 cat conftest.
$ac_ext >&5
3239 groff_cv_decl_needed_pclose
=yes
3241 rm -f conftest.
$ac_objext conftest.
$ac_ext
3244 echo "$as_me:3244: result: $groff_cv_decl_needed_pclose" >&5
3245 echo "${ECHO_T}$groff_cv_decl_needed_pclose" >&6
3246 if test $groff_cv_decl_needed_pclose = yes; then
3248 cat >>confdefs.h
<<\EOF
3249 #define NEED_DECLARATION_PCLOSE 1
3254 ac_cpp
='$CPP $CPPFLAGS'
3255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3259 echo "$as_me:3259: checking whether putenv must be declared" >&5
3260 echo $ECHO_N "checking whether putenv must be declared... $ECHO_C" >&6
3262 ac_cpp
='$CXXCPP $CPPFLAGS'
3263 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3264 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3265 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3267 if test "${groff_cv_decl_needed_putenv+set}" = set; then
3268 echo $ECHO_N "(cached) $ECHO_C" >&6
3270 cat >conftest.
$ac_ext <<_ACEOF
3271 #line 3271 "configure"
3272 #include "confdefs.h"
3275 #ifdef HAVE_STRING_H
3278 #ifdef HAVE_STRINGS_H
3279 #include <strings.h>
3281 #ifdef HAVE_STDLIB_H
3284 #ifdef HAVE_SYS_TIME_H
3285 #include <sys/time.h>
3287 #ifdef HAVE_UNISTD_H
3296 char *(*pfn) = (char *(*)) putenv
3301 rm -f conftest.
$ac_objext
3302 if { (eval echo "$as_me:3302: \"$ac_compile\"") >&5
3303 (eval $ac_compile) 2>&5
3305 echo "$as_me:3305: \$? = $ac_status" >&5
3306 (exit $ac_status); } &&
3307 { ac_try
='test -s conftest.$ac_objext'
3308 { (eval echo "$as_me:3308: \"$ac_try\"") >&5
3311 echo "$as_me:3311: \$? = $ac_status" >&5
3312 (exit $ac_status); }; }; then
3313 groff_cv_decl_needed_putenv
=no
3315 echo "$as_me: failed program was:" >&5
3316 cat conftest.
$ac_ext >&5
3317 groff_cv_decl_needed_putenv
=yes
3319 rm -f conftest.
$ac_objext conftest.
$ac_ext
3322 echo "$as_me:3322: result: $groff_cv_decl_needed_putenv" >&5
3323 echo "${ECHO_T}$groff_cv_decl_needed_putenv" >&6
3324 if test $groff_cv_decl_needed_putenv = yes; then
3326 cat >>confdefs.h
<<\EOF
3327 #define NEED_DECLARATION_PUTENV 1
3332 ac_cpp
='$CPP $CPPFLAGS'
3333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3337 echo "$as_me:3337: checking whether strcasecmp must be declared" >&5
3338 echo $ECHO_N "checking whether strcasecmp must be declared... $ECHO_C" >&6
3340 ac_cpp
='$CXXCPP $CPPFLAGS'
3341 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3342 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3343 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3345 if test "${groff_cv_decl_needed_strcasecmp+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 cat >conftest.
$ac_ext <<_ACEOF
3349 #line 3349 "configure"
3350 #include "confdefs.h"
3353 #ifdef HAVE_STRING_H
3356 #ifdef HAVE_STRINGS_H
3357 #include <strings.h>
3359 #ifdef HAVE_STDLIB_H
3362 #ifdef HAVE_SYS_TIME_H
3363 #include <sys/time.h>
3365 #ifdef HAVE_UNISTD_H
3374 char *(*pfn) = (char *(*)) strcasecmp
3379 rm -f conftest.
$ac_objext
3380 if { (eval echo "$as_me:3380: \"$ac_compile\"") >&5
3381 (eval $ac_compile) 2>&5
3383 echo "$as_me:3383: \$? = $ac_status" >&5
3384 (exit $ac_status); } &&
3385 { ac_try
='test -s conftest.$ac_objext'
3386 { (eval echo "$as_me:3386: \"$ac_try\"") >&5
3389 echo "$as_me:3389: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then
3391 groff_cv_decl_needed_strcasecmp
=no
3393 echo "$as_me: failed program was:" >&5
3394 cat conftest.
$ac_ext >&5
3395 groff_cv_decl_needed_strcasecmp
=yes
3397 rm -f conftest.
$ac_objext conftest.
$ac_ext
3400 echo "$as_me:3400: result: $groff_cv_decl_needed_strcasecmp" >&5
3401 echo "${ECHO_T}$groff_cv_decl_needed_strcasecmp" >&6
3402 if test $groff_cv_decl_needed_strcasecmp = yes; then
3404 cat >>confdefs.h
<<\EOF
3405 #define NEED_DECLARATION_STRCASECMP 1
3410 ac_cpp
='$CPP $CPPFLAGS'
3411 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3412 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3413 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3415 echo "$as_me:3415: checking whether strncasecmp must be declared" >&5
3416 echo $ECHO_N "checking whether strncasecmp must be declared... $ECHO_C" >&6
3418 ac_cpp
='$CXXCPP $CPPFLAGS'
3419 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3420 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3421 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3423 if test "${groff_cv_decl_needed_strncasecmp+set}" = set; then
3424 echo $ECHO_N "(cached) $ECHO_C" >&6
3426 cat >conftest.
$ac_ext <<_ACEOF
3427 #line 3427 "configure"
3428 #include "confdefs.h"
3431 #ifdef HAVE_STRING_H
3434 #ifdef HAVE_STRINGS_H
3435 #include <strings.h>
3437 #ifdef HAVE_STDLIB_H
3440 #ifdef HAVE_SYS_TIME_H
3441 #include <sys/time.h>
3443 #ifdef HAVE_UNISTD_H
3452 char *(*pfn) = (char *(*)) strncasecmp
3457 rm -f conftest.
$ac_objext
3458 if { (eval echo "$as_me:3458: \"$ac_compile\"") >&5
3459 (eval $ac_compile) 2>&5
3461 echo "$as_me:3461: \$? = $ac_status" >&5
3462 (exit $ac_status); } &&
3463 { ac_try
='test -s conftest.$ac_objext'
3464 { (eval echo "$as_me:3464: \"$ac_try\"") >&5
3467 echo "$as_me:3467: \$? = $ac_status" >&5
3468 (exit $ac_status); }; }; then
3469 groff_cv_decl_needed_strncasecmp
=no
3471 echo "$as_me: failed program was:" >&5
3472 cat conftest.
$ac_ext >&5
3473 groff_cv_decl_needed_strncasecmp
=yes
3475 rm -f conftest.
$ac_objext conftest.
$ac_ext
3478 echo "$as_me:3478: result: $groff_cv_decl_needed_strncasecmp" >&5
3479 echo "${ECHO_T}$groff_cv_decl_needed_strncasecmp" >&6
3480 if test $groff_cv_decl_needed_strncasecmp = yes; then
3482 cat >>confdefs.h
<<\EOF
3483 #define NEED_DECLARATION_STRNCASECMP 1
3488 ac_cpp
='$CPP $CPPFLAGS'
3489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3494 ac_cpp
='$CXXCPP $CPPFLAGS'
3495 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3496 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3497 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3499 echo "$as_me:3499: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
3500 echo $ECHO_N "checking for sys_nerr in <errno.h> or <stdio.h>... $ECHO_C" >&6
3501 cat >conftest.
$ac_ext <<_ACEOF
3502 #line 3502 "configure"
3503 #include "confdefs.h"
3509 int k; k = sys_nerr;
3514 rm -f conftest.
$ac_objext
3515 if { (eval echo "$as_me:3515: \"$ac_compile\"") >&5
3516 (eval $ac_compile) 2>&5
3518 echo "$as_me:3518: \$? = $ac_status" >&5
3519 (exit $ac_status); } &&
3520 { ac_try
='test -s conftest.$ac_objext'
3521 { (eval echo "$as_me:3521: \"$ac_try\"") >&5
3524 echo "$as_me:3524: \$? = $ac_status" >&5
3525 (exit $ac_status); }; }; then
3526 echo "$as_me:3526: result: yes" >&5
3527 echo "${ECHO_T}yes" >&6;
3528 cat >>confdefs.h
<<\EOF
3529 #define HAVE_SYS_NERR 1
3533 echo "$as_me: failed program was:" >&5
3534 cat conftest.
$ac_ext >&5
3535 echo "$as_me:3535: result: no" >&5
3536 echo "${ECHO_T}no" >&6
3538 rm -f conftest.
$ac_objext conftest.
$ac_ext
3540 ac_cpp
='$CPP $CPPFLAGS'
3541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3545 echo "$as_me:3545: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
3546 echo $ECHO_N "checking for sys_errlist in <errno.h> or <stdio.h>... $ECHO_C" >&6
3547 cat >conftest.
$ac_ext <<_ACEOF
3548 #line 3548 "configure"
3549 #include "confdefs.h"
3555 int k; k = (int)sys_errlist[0];
3560 rm -f conftest.
$ac_objext
3561 if { (eval echo "$as_me:3561: \"$ac_compile\"") >&5
3562 (eval $ac_compile) 2>&5
3564 echo "$as_me:3564: \$? = $ac_status" >&5
3565 (exit $ac_status); } &&
3566 { ac_try
='test -s conftest.$ac_objext'
3567 { (eval echo "$as_me:3567: \"$ac_try\"") >&5
3570 echo "$as_me:3570: \$? = $ac_status" >&5
3571 (exit $ac_status); }; }; then
3572 echo "$as_me:3572: result: yes" >&5
3573 echo "${ECHO_T}yes" >&6;
3574 cat >>confdefs.h
<<\EOF
3575 #define HAVE_SYS_ERRLIST 1
3579 echo "$as_me: failed program was:" >&5
3580 cat conftest.
$ac_ext >&5
3581 echo "$as_me:3581: result: no" >&5
3582 echo "${ECHO_T}no" >&6
3584 rm -f conftest.
$ac_objext conftest.
$ac_ext
3586 ac_cpp
='$CXXCPP $CPPFLAGS'
3587 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3588 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3589 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3591 echo "$as_me:3591: checking C++ <osfcn.h>" >&5
3592 echo $ECHO_N "checking C++ <osfcn.h>... $ECHO_C" >&6
3593 cat >conftest.
$ac_ext <<_ACEOF
3594 #line 3594 "configure"
3595 #include "confdefs.h"
3600 read(0, 0, 0); open(0, 0);
3605 rm -f conftest.
$ac_objext
3606 if { (eval echo "$as_me:3606: \"$ac_compile\"") >&5
3607 (eval $ac_compile) 2>&5
3609 echo "$as_me:3609: \$? = $ac_status" >&5
3610 (exit $ac_status); } &&
3611 { ac_try
='test -s conftest.$ac_objext'
3612 { (eval echo "$as_me:3612: \"$ac_try\"") >&5
3615 echo "$as_me:3615: \$? = $ac_status" >&5
3616 (exit $ac_status); }; }; then
3617 echo "$as_me:3617: result: yes" >&5
3618 echo "${ECHO_T}yes" >&6;
3619 cat >>confdefs.h
<<\EOF
3620 #define HAVE_CC_OSFCN_H 1
3624 echo "$as_me: failed program was:" >&5
3625 cat conftest.
$ac_ext >&5
3626 echo "$as_me:3626: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3629 rm -f conftest.
$ac_objext conftest.
$ac_ext
3631 ac_cpp
='$CPP $CPPFLAGS'
3632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3637 ac_cpp
='$CXXCPP $CPPFLAGS'
3638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3642 echo "$as_me:3642: checking C++ <limits.h>" >&5
3643 echo $ECHO_N "checking C++ <limits.h>... $ECHO_C" >&6
3644 cat >conftest.
$ac_ext <<_ACEOF
3645 #line 3645 "configure"
3646 #include "confdefs.h"
3651 int x = INT_MIN; int y = INT_MAX; int z = UCHAR_MAX;
3656 rm -f conftest.
$ac_objext
3657 if { (eval echo "$as_me:3657: \"$ac_compile\"") >&5
3658 (eval $ac_compile) 2>&5
3660 echo "$as_me:3660: \$? = $ac_status" >&5
3661 (exit $ac_status); } &&
3662 { ac_try
='test -s conftest.$ac_objext'
3663 { (eval echo "$as_me:3663: \"$ac_try\"") >&5
3666 echo "$as_me:3666: \$? = $ac_status" >&5
3667 (exit $ac_status); }; }; then
3668 echo "$as_me:3668: result: yes" >&5
3669 echo "${ECHO_T}yes" >&6;
3670 cat >>confdefs.h
<<\EOF
3671 #define HAVE_CC_LIMITS_H 1
3675 echo "$as_me: failed program was:" >&5
3676 cat conftest.
$ac_ext >&5
3677 echo "$as_me:3677: result: no" >&5
3678 echo "${ECHO_T}no" >&6
3680 rm -f conftest.
$ac_objext conftest.
$ac_ext
3682 ac_cpp
='$CPP $CPPFLAGS'
3683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3688 ac_cpp
='$CXXCPP $CPPFLAGS'
3689 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3693 echo "$as_me:3693: checking for inttypes.h" >&5
3694 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
3695 cat >conftest.
$ac_ext <<_ACEOF
3696 #line 3696 "configure"
3697 #include "confdefs.h"
3698 #include <sys/types.h>
3699 #include <inttypes.h>
3703 uintmax_t i = (uintmax_t)-1;
3708 rm -f conftest.
$ac_objext
3709 if { (eval echo "$as_me:3709: \"$ac_compile\"") >&5
3710 (eval $ac_compile) 2>&5
3712 echo "$as_me:3712: \$? = $ac_status" >&5
3713 (exit $ac_status); } &&
3714 { ac_try
='test -s conftest.$ac_objext'
3715 { (eval echo "$as_me:3715: \"$ac_try\"") >&5
3718 echo "$as_me:3718: \$? = $ac_status" >&5
3719 (exit $ac_status); }; }; then
3720 groff_cv_header_inttypes_h
=yes
3722 echo "$as_me: failed program was:" >&5
3723 cat conftest.
$ac_ext >&5
3724 groff_cv_header_inttypes_h
=no
3726 rm -f conftest.
$ac_objext conftest.
$ac_ext
3727 echo "$as_me:3727: result: $groff_cv_header_inttypes_h" >&5
3728 echo "${ECHO_T}$groff_cv_header_inttypes_h" >&6
3730 ac_cpp
='$CPP $CPPFLAGS'
3731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3736 ac_cpp
='$CXXCPP $CPPFLAGS'
3737 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3738 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3739 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3741 echo "$as_me:3741: checking for unsigned long long" >&5
3742 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
3743 cat >conftest.
$ac_ext <<_ACEOF
3744 #line 3744 "configure"
3745 #include "confdefs.h"
3746 unsigned long long ull = 1; int i = 63;
3750 unsigned long long ullmax = (unsigned long long)-1;
3751 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
3756 rm -f conftest.
$ac_objext conftest
$ac_exeext
3757 if { (eval echo "$as_me:3757: \"$ac_link\"") >&5
3758 (eval $ac_link) 2>&5
3760 echo "$as_me:3760: \$? = $ac_status" >&5
3761 (exit $ac_status); } &&
3762 { ac_try
='test -s conftest$ac_exeext'
3763 { (eval echo "$as_me:3763: \"$ac_try\"") >&5
3766 echo "$as_me:3766: \$? = $ac_status" >&5
3767 (exit $ac_status); }; }; then
3768 groff_cv_type_unsigned_long_long
=yes
3770 echo "$as_me: failed program was:" >&5
3771 cat conftest.
$ac_ext >&5
3772 groff_cv_type_unsigned_long_long
=no
3774 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3775 echo "$as_me:3775: result: $groff_cv_type_unsigned_long_long" >&5
3776 echo "${ECHO_T}$groff_cv_type_unsigned_long_long" >&6
3778 ac_cpp
='$CPP $CPPFLAGS'
3779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3783 if test $groff_cv_header_inttypes_h = no
; then
3785 test $groff_cv_type_unsigned_long_long = yes \
3786 && ac_type
='unsigned long long' \
3787 || ac_type
='unsigned long'
3789 cat >>confdefs.h
<<EOF
3790 #define uintmax_t $ac_type
3795 ac_cpp
='$CXXCPP $CPPFLAGS'
3796 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3797 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3798 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3800 echo "$as_me:3800: checking for declaration of time_t" >&5
3801 echo $ECHO_N "checking for declaration of time_t... $ECHO_C" >&6
3802 cat >conftest.
$ac_ext <<_ACEOF
3803 #line 3803 "configure"
3804 #include "confdefs.h"
3809 time_t t = time(0); struct tm *p = localtime(&t);
3814 rm -f conftest.
$ac_objext
3815 if { (eval echo "$as_me:3815: \"$ac_compile\"") >&5
3816 (eval $ac_compile) 2>&5
3818 echo "$as_me:3818: \$? = $ac_status" >&5
3819 (exit $ac_status); } &&
3820 { ac_try
='test -s conftest.$ac_objext'
3821 { (eval echo "$as_me:3821: \"$ac_try\"") >&5
3824 echo "$as_me:3824: \$? = $ac_status" >&5
3825 (exit $ac_status); }; }; then
3826 echo "$as_me:3826: result: yes" >&5
3827 echo "${ECHO_T}yes" >&6
3829 echo "$as_me: failed program was:" >&5
3830 cat conftest.
$ac_ext >&5
3831 echo "$as_me:3831: result: no" >&5
3832 echo "${ECHO_T}no" >&6;
3833 cat >>confdefs.h
<<\EOF
3834 #define LONG_FOR_TIME_T 1
3838 rm -f conftest.
$ac_objext conftest.
$ac_ext
3840 ac_cpp
='$CPP $CPPFLAGS'
3841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3845 echo "$as_me:3845: checking return type of signal handlers" >&5
3846 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3847 if test "${ac_cv_type_signal+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 cat >conftest.
$ac_ext <<_ACEOF
3851 #line 3851 "configure"
3852 #include "confdefs.h"
3853 #include <sys/types.h>
3859 extern "C" void (*signal (int, void (*)(int)))(int);
3861 void (*signal ()) ();
3872 rm -f conftest.
$ac_objext
3873 if { (eval echo "$as_me:3873: \"$ac_compile\"") >&5
3874 (eval $ac_compile) 2>&5
3876 echo "$as_me:3876: \$? = $ac_status" >&5
3877 (exit $ac_status); } &&
3878 { ac_try
='test -s conftest.$ac_objext'
3879 { (eval echo "$as_me:3879: \"$ac_try\"") >&5
3882 echo "$as_me:3882: \$? = $ac_status" >&5
3883 (exit $ac_status); }; }; then
3884 ac_cv_type_signal
=void
3886 echo "$as_me: failed program was:" >&5
3887 cat conftest.
$ac_ext >&5
3888 ac_cv_type_signal
=int
3890 rm -f conftest.
$ac_objext conftest.
$ac_ext
3892 echo "$as_me:3892: result: $ac_cv_type_signal" >&5
3893 echo "${ECHO_T}$ac_cv_type_signal" >&6
3895 cat >>confdefs.h
<<EOF
3896 #define RETSIGTYPE $ac_cv_type_signal
3899 echo "$as_me:3899: checking struct exception" >&5
3900 echo $ECHO_N "checking struct exception... $ECHO_C" >&6
3901 cat >conftest.
$ac_ext <<_ACEOF
3902 #line 3902 "configure"
3903 #include "confdefs.h"
3913 rm -f conftest.
$ac_objext
3914 if { (eval echo "$as_me:3914: \"$ac_compile\"") >&5
3915 (eval $ac_compile) 2>&5
3917 echo "$as_me:3917: \$? = $ac_status" >&5
3918 (exit $ac_status); } &&
3919 { ac_try
='test -s conftest.$ac_objext'
3920 { (eval echo "$as_me:3920: \"$ac_try\"") >&5
3923 echo "$as_me:3923: \$? = $ac_status" >&5
3924 (exit $ac_status); }; }; then
3925 echo "$as_me:3925: result: yes" >&5
3926 echo "${ECHO_T}yes" >&6;
3927 cat >>confdefs.h
<<\EOF
3928 #define HAVE_STRUCT_EXCEPTION 1
3932 echo "$as_me: failed program was:" >&5
3933 cat conftest.
$ac_ext >&5
3934 echo "$as_me:3934: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3937 rm -f conftest.
$ac_objext conftest.
$ac_ext
3938 echo "$as_me:3938: checking for sin in -lm" >&5
3939 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
3940 if test "${ac_cv_lib_m_sin+set}" = set; then
3941 echo $ECHO_N "(cached) $ECHO_C" >&6
3943 ac_check_lib_save_LIBS
=$LIBS
3945 cat >conftest.
$ac_ext <<_ACEOF
3946 #line 3946 "configure"
3947 #include "confdefs.h"
3949 /* Override any gcc2 internal prototype to avoid an error. */
3953 /* We use char because int might match the return type of a gcc2
3954 builtin and then its argument prototype would still apply. */
3964 rm -f conftest.
$ac_objext conftest
$ac_exeext
3965 if { (eval echo "$as_me:3965: \"$ac_link\"") >&5
3966 (eval $ac_link) 2>&5
3968 echo "$as_me:3968: \$? = $ac_status" >&5
3969 (exit $ac_status); } &&
3970 { ac_try
='test -s conftest$ac_exeext'
3971 { (eval echo "$as_me:3971: \"$ac_try\"") >&5
3974 echo "$as_me:3974: \$? = $ac_status" >&5
3975 (exit $ac_status); }; }; then
3978 echo "$as_me: failed program was:" >&5
3979 cat conftest.
$ac_ext >&5
3982 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3983 LIBS
=$ac_check_lib_save_LIBS
3985 echo "$as_me:3985: result: $ac_cv_lib_m_sin" >&5
3986 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
3987 if test $ac_cv_lib_m_sin = yes; then
3991 echo "$as_me:3991: checking for ANSI C header files" >&5
3992 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3993 if test "${ac_cv_header_stdc+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3996 cat >conftest.
$ac_ext <<_ACEOF
3997 #line 3997 "configure"
3998 #include "confdefs.h"
4005 if { (eval echo "$as_me:4005: \"$ac_cpp conftest.$ac_ext\"") >&5
4006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4008 egrep -v '^ *\+' conftest.er1
>conftest.err
4010 cat conftest.err
>&5
4011 echo "$as_me:4011: \$? = $ac_status" >&5
4012 (exit $ac_status); } >/dev
/null
; then
4013 if test -s conftest.err
; then
4014 ac_cpp_err
=$ac_c_preproc_warn_flag
4021 if test -z "$ac_cpp_err"; then
4022 ac_cv_header_stdc
=yes
4024 echo "$as_me: failed program was:" >&5
4025 cat conftest.
$ac_ext >&5
4026 ac_cv_header_stdc
=no
4028 rm -f conftest.err conftest.
$ac_ext
4030 if test $ac_cv_header_stdc = yes; then
4031 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4032 cat >conftest.
$ac_ext <<_ACEOF
4033 #line 4033 "configure"
4034 #include "confdefs.h"
4038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4039 egrep "memchr" >/dev
/null
2>&1; then
4042 ac_cv_header_stdc
=no
4048 if test $ac_cv_header_stdc = yes; then
4049 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4050 cat >conftest.
$ac_ext <<_ACEOF
4051 #line 4051 "configure"
4052 #include "confdefs.h"
4056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4057 egrep "free" >/dev
/null
2>&1; then
4060 ac_cv_header_stdc
=no
4066 if test $ac_cv_header_stdc = yes; then
4067 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4068 if test "$cross_compiling" = yes; then
4071 cat >conftest.
$ac_ext <<_ACEOF
4072 #line 4072 "configure"
4073 #include "confdefs.h"
4075 #if ((' ' & 0x0FF) == 0x020)
4076 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4077 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4079 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4080 || ('j' <= (c) && (c) <= 'r') \
4081 || ('s' <= (c) && (c) <= 'z'))
4082 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4085 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4090 for (i = 0; i < 256; i++)
4091 if (XOR (islower (i), ISLOWER (i))
4092 || toupper (i) != TOUPPER (i))
4097 rm -f conftest
$ac_exeext
4098 if { (eval echo "$as_me:4098: \"$ac_link\"") >&5
4099 (eval $ac_link) 2>&5
4101 echo "$as_me:4101: \$? = $ac_status" >&5
4102 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4103 { (eval echo "$as_me:4103: \"$ac_try\"") >&5
4106 echo "$as_me:4106: \$? = $ac_status" >&5
4107 (exit $ac_status); }; }; then
4110 echo "$as_me: program exited with status $ac_status" >&5
4111 echo "$as_me: failed program was:" >&5
4112 cat conftest.
$ac_ext >&5
4113 ac_cv_header_stdc
=no
4115 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4119 echo "$as_me:4119: result: $ac_cv_header_stdc" >&5
4120 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4121 if test $ac_cv_header_stdc = yes; then
4123 cat >>confdefs.h
<<\EOF
4124 #define STDC_HEADERS 1
4129 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4131 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4132 inttypes.h stdint.h unistd.h
4134 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4135 echo "$as_me:4135: checking for $ac_header" >&5
4136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4140 cat >conftest.
$ac_ext <<_ACEOF
4141 #line 4141 "configure"
4142 #include "confdefs.h"
4143 $ac_includes_default
4144 #include <$ac_header>
4146 rm -f conftest.
$ac_objext
4147 if { (eval echo "$as_me:4147: \"$ac_compile\"") >&5
4148 (eval $ac_compile) 2>&5
4150 echo "$as_me:4150: \$? = $ac_status" >&5
4151 (exit $ac_status); } &&
4152 { ac_try
='test -s conftest.$ac_objext'
4153 { (eval echo "$as_me:4153: \"$ac_try\"") >&5
4156 echo "$as_me:4156: \$? = $ac_status" >&5
4157 (exit $ac_status); }; }; then
4158 eval "$as_ac_Header=yes"
4160 echo "$as_me: failed program was:" >&5
4161 cat conftest.
$ac_ext >&5
4162 eval "$as_ac_Header=no"
4164 rm -f conftest.
$ac_objext conftest.
$ac_ext
4166 echo "$as_me:4166: result: `eval echo '${'$as_ac_Header'}'`" >&5
4167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4169 cat >>confdefs.h
<<EOF
4170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4176 for ac_header
in stdlib.h unistd.h
4178 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4179 echo "$as_me:4179: checking for $ac_header" >&5
4180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 cat >conftest.
$ac_ext <<_ACEOF
4185 #line 4185 "configure"
4186 #include "confdefs.h"
4187 #include <$ac_header>
4189 if { (eval echo "$as_me:4189: \"$ac_cpp conftest.$ac_ext\"") >&5
4190 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4192 egrep -v '^ *\+' conftest.er1
>conftest.err
4194 cat conftest.err
>&5
4195 echo "$as_me:4195: \$? = $ac_status" >&5
4196 (exit $ac_status); } >/dev
/null
; then
4197 if test -s conftest.err
; then
4198 ac_cpp_err
=$ac_c_preproc_warn_flag
4205 if test -z "$ac_cpp_err"; then
4206 eval "$as_ac_Header=yes"
4208 echo "$as_me: failed program was:" >&5
4209 cat conftest.
$ac_ext >&5
4210 eval "$as_ac_Header=no"
4212 rm -f conftest.err conftest.
$ac_ext
4214 echo "$as_me:4214: result: `eval echo '${'$as_ac_Header'}'`" >&5
4215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4217 cat >>confdefs.h
<<EOF
4218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4224 for ac_func
in getpagesize
4226 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4227 echo "$as_me:4227: checking for $ac_func" >&5
4228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4229 if eval "test \"\${$as_ac_var+set}\" = set"; then
4230 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 cat >conftest.
$ac_ext <<_ACEOF
4233 #line 4233 "configure"
4234 #include "confdefs.h"
4235 /* System header to define __stub macros and hopefully few prototypes,
4236 which can conflict with char $ac_func (); below. */
4238 /* Override any gcc2 internal prototype to avoid an error. */
4242 /* We use char because int might match the return type of a gcc2
4243 builtin and then its argument prototype would still apply. */
4250 /* The GNU C library defines this for functions which it implements
4251 to always fail with ENOSYS. Some functions are actually named
4252 something starting with __ and the normal name is an alias. */
4253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4263 rm -f conftest.
$ac_objext conftest
$ac_exeext
4264 if { (eval echo "$as_me:4264: \"$ac_link\"") >&5
4265 (eval $ac_link) 2>&5
4267 echo "$as_me:4267: \$? = $ac_status" >&5
4268 (exit $ac_status); } &&
4269 { ac_try
='test -s conftest$ac_exeext'
4270 { (eval echo "$as_me:4270: \"$ac_try\"") >&5
4273 echo "$as_me:4273: \$? = $ac_status" >&5
4274 (exit $ac_status); }; }; then
4275 eval "$as_ac_var=yes"
4277 echo "$as_me: failed program was:" >&5
4278 cat conftest.
$ac_ext >&5
4279 eval "$as_ac_var=no"
4281 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4283 echo "$as_me:4283: result: `eval echo '${'$as_ac_var'}'`" >&5
4284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4285 if test `eval echo '${'$as_ac_var'}'` = yes; then
4286 cat >>confdefs.h
<<EOF
4287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4293 echo "$as_me:4293: checking for working mmap" >&5
4294 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4295 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 if test "$cross_compiling" = yes; then
4299 ac_cv_func_mmap_fixed_mapped
=no
4301 cat >conftest.
$ac_ext <<_ACEOF
4302 #line 4302 "configure"
4303 #include "confdefs.h"
4304 $ac_includes_default
4305 /* Thanks to Mike Haertel and Jim Avera for this test.
4306 Here is a matrix of mmap possibilities:
4307 mmap private not fixed
4308 mmap private fixed at somewhere currently unmapped
4309 mmap private fixed at somewhere already mapped
4310 mmap shared not fixed
4311 mmap shared fixed at somewhere currently unmapped
4312 mmap shared fixed at somewhere already mapped
4313 For private mappings, we should verify that changes cannot be read()
4314 back from the file, nor mmap's back from the file at a different
4315 address. (There have been systems where private was not correctly
4316 implemented like the infamous i386 svr4.0, and systems where the
4317 VM page cache was not coherent with the file system buffer cache
4318 like early versions of FreeBSD and possibly contemporary NetBSD.)
4319 For shared mappings, we should conversely verify that changes get
4320 propogated back to all the places they're supposed to be.
4322 Grep wants private fixed already mapped.
4323 The main things grep needs to know about mmap are:
4324 * does it exist and is it safe to write into the mmap'd area
4325 * how to use it (BSD variants) */
4328 #include <sys/mman.h>
4330 #if !STDC_HEADERS && !HAVE_STDLIB_H
4334 /* This mess was copied from the GNU getpagesize.h. */
4335 #if !HAVE_GETPAGESIZE
4336 /* Assume that all systems that can run configure have sys/param.h. */
4337 # if !HAVE_SYS_PARAM_H
4338 # define HAVE_SYS_PARAM_H 1
4341 # ifdef _SC_PAGESIZE
4342 # define getpagesize() sysconf(_SC_PAGESIZE)
4343 # else /* no _SC_PAGESIZE */
4344 # if HAVE_SYS_PARAM_H
4345 # include <sys/param.h>
4346 # ifdef EXEC_PAGESIZE
4347 # define getpagesize() EXEC_PAGESIZE
4348 # else /* no EXEC_PAGESIZE */
4350 # define getpagesize() NBPG * CLSIZE
4353 # endif /* no CLSIZE */
4354 # else /* no NBPG */
4356 # define getpagesize() NBPC
4357 # else /* no NBPC */
4359 # define getpagesize() PAGESIZE
4360 # endif /* PAGESIZE */
4361 # endif /* no NBPC */
4362 # endif /* no NBPG */
4363 # endif /* no EXEC_PAGESIZE */
4364 # else /* no HAVE_SYS_PARAM_H */
4365 # define getpagesize() 8192 /* punt totally */
4366 # endif /* no HAVE_SYS_PARAM_H */
4367 # endif /* no _SC_PAGESIZE */
4369 #endif /* no HAVE_GETPAGESIZE */
4374 char *data, *data2, *data3;
4378 pagesize = getpagesize ();
4380 /* First, make a file with some known garbage in it. */
4381 data = (char *) malloc (pagesize);
4384 for (i = 0; i < pagesize; ++i)
4385 *(data + i) = rand ();
4387 fd = creat ("conftest.mmap", 0600);
4390 if (write (fd, data, pagesize) != pagesize)
4394 /* Next, try to mmap the file at a fixed address which already has
4395 something else allocated at it. If we can, also make sure that
4396 we see the same garbage. */
4397 fd = open ("conftest.mmap", O_RDWR);
4400 data2 = (char *) malloc (2 * pagesize);
4403 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
4404 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4405 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4407 for (i = 0; i < pagesize; ++i)
4408 if (*(data + i) != *(data2 + i))
4411 /* Finally, make sure that changes to the mapped area do not
4412 percolate back to the file as seen by read(). (This is a bug on
4413 some variants of i386 svr4.0.) */
4414 for (i = 0; i < pagesize; ++i)
4415 *(data2 + i) = *(data2 + i) + 1;
4416 data3 = (char *) malloc (pagesize);
4419 if (read (fd, data3, pagesize) != pagesize)
4421 for (i = 0; i < pagesize; ++i)
4422 if (*(data + i) != *(data3 + i))
4428 rm -f conftest
$ac_exeext
4429 if { (eval echo "$as_me:4429: \"$ac_link\"") >&5
4430 (eval $ac_link) 2>&5
4432 echo "$as_me:4432: \$? = $ac_status" >&5
4433 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4434 { (eval echo "$as_me:4434: \"$ac_try\"") >&5
4437 echo "$as_me:4437: \$? = $ac_status" >&5
4438 (exit $ac_status); }; }; then
4439 ac_cv_func_mmap_fixed_mapped
=yes
4441 echo "$as_me: program exited with status $ac_status" >&5
4442 echo "$as_me: failed program was:" >&5
4443 cat conftest.
$ac_ext >&5
4444 ac_cv_func_mmap_fixed_mapped
=no
4446 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4449 echo "$as_me:4449: result: $ac_cv_func_mmap_fixed_mapped" >&5
4450 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4451 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4453 cat >>confdefs.h
<<\EOF
4461 LIBS
="$LIBS -lc $LIBM"
4463 for ac_func
in fmod getcwd putenv snprintf strerror strtol
4465 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4466 echo "$as_me:4466: checking for $ac_func" >&5
4467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4468 if eval "test \"\${$as_ac_var+set}\" = set"; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 cat >conftest.
$ac_ext <<_ACEOF
4472 #line 4472 "configure"
4473 #include "confdefs.h"
4474 /* System header to define __stub macros and hopefully few prototypes,
4475 which can conflict with char $ac_func (); below. */
4477 /* Override any gcc2 internal prototype to avoid an error. */
4481 /* We use char because int might match the return type of a gcc2
4482 builtin and then its argument prototype would still apply. */
4489 /* The GNU C library defines this for functions which it implements
4490 to always fail with ENOSYS. Some functions are actually named
4491 something starting with __ and the normal name is an alias. */
4492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4502 rm -f conftest.
$ac_objext conftest
$ac_exeext
4503 if { (eval echo "$as_me:4503: \"$ac_link\"") >&5
4504 (eval $ac_link) 2>&5
4506 echo "$as_me:4506: \$? = $ac_status" >&5
4507 (exit $ac_status); } &&
4508 { ac_try
='test -s conftest$ac_exeext'
4509 { (eval echo "$as_me:4509: \"$ac_try\"") >&5
4512 echo "$as_me:4512: \$? = $ac_status" >&5
4513 (exit $ac_status); }; }; then
4514 eval "$as_ac_var=yes"
4516 echo "$as_me: failed program was:" >&5
4517 cat conftest.
$ac_ext >&5
4518 eval "$as_ac_var=no"
4520 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4522 echo "$as_me:4522: result: `eval echo '${'$as_ac_var'}'`" >&5
4523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4524 if test `eval echo '${'$as_ac_var'}'` = yes; then
4525 cat >>confdefs.h
<<EOF
4526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4530 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
4536 for ac_func
in gettimeofday rename strcasecmp strncasecmp strsep
4538 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4539 echo "$as_me:4539: checking for $ac_func" >&5
4540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4541 if eval "test \"\${$as_ac_var+set}\" = set"; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4544 cat >conftest.
$ac_ext <<_ACEOF
4545 #line 4545 "configure"
4546 #include "confdefs.h"
4547 /* System header to define __stub macros and hopefully few prototypes,
4548 which can conflict with char $ac_func (); below. */
4550 /* Override any gcc2 internal prototype to avoid an error. */
4554 /* We use char because int might match the return type of a gcc2
4555 builtin and then its argument prototype would still apply. */
4562 /* The GNU C library defines this for functions which it implements
4563 to always fail with ENOSYS. Some functions are actually named
4564 something starting with __ and the normal name is an alias. */
4565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4575 rm -f conftest.
$ac_objext conftest
$ac_exeext
4576 if { (eval echo "$as_me:4576: \"$ac_link\"") >&5
4577 (eval $ac_link) 2>&5
4579 echo "$as_me:4579: \$? = $ac_status" >&5
4580 (exit $ac_status); } &&
4581 { ac_try
='test -s conftest$ac_exeext'
4582 { (eval echo "$as_me:4582: \"$ac_try\"") >&5
4585 echo "$as_me:4585: \$? = $ac_status" >&5
4586 (exit $ac_status); }; }; then
4587 eval "$as_ac_var=yes"
4589 echo "$as_me: failed program was:" >&5
4590 cat conftest.
$ac_ext >&5
4591 eval "$as_ac_var=no"
4593 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4595 echo "$as_me:4595: result: `eval echo '${'$as_ac_var'}'`" >&5
4596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4597 if test `eval echo '${'$as_ac_var'}'` = yes; then
4598 cat >>confdefs.h
<<EOF
4599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4605 echo "$as_me:4605: checking for mkstemp" >&5
4606 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
4608 ac_cpp
='$CXXCPP $CPPFLAGS'
4609 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4613 cat >conftest.
$ac_ext <<_ACEOF
4614 #line 4614 "configure"
4615 #include "confdefs.h"
4626 rm -f conftest.
$ac_objext conftest
$ac_exeext
4627 if { (eval echo "$as_me:4627: \"$ac_link\"") >&5
4628 (eval $ac_link) 2>&5
4630 echo "$as_me:4630: \$? = $ac_status" >&5
4631 (exit $ac_status); } &&
4632 { ac_try
='test -s conftest$ac_exeext'
4633 { (eval echo "$as_me:4633: \"$ac_try\"") >&5
4636 echo "$as_me:4636: \$? = $ac_status" >&5
4637 (exit $ac_status); }; }; then
4638 echo "$as_me:4638: result: yes" >&5
4639 echo "${ECHO_T}yes" >&6;
4640 cat >>confdefs.h
<<\EOF
4641 #define HAVE_MKSTEMP 1
4645 echo "$as_me: failed program was:" >&5
4646 cat conftest.
$ac_ext >&5
4647 echo "$as_me:4647: result: no" >&5
4648 echo "${ECHO_T}no" >&6;LIBOBJS
="$LIBOBJS mkstemp.$ac_objext"
4650 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4652 ac_cpp
='$CPP $CPPFLAGS'
4653 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4654 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4655 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4657 echo "$as_me:4657: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4658 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4659 if test "${ac_cv_decl_sys_siglist+set}" = set; then
4660 echo $ECHO_N "(cached) $ECHO_C" >&6
4662 cat >conftest.
$ac_ext <<_ACEOF
4663 #line 4663 "configure"
4664 #include "confdefs.h"
4665 #include <sys/types.h>
4667 /* NetBSD declares sys_siglist in unistd.h. */
4669 # include <unistd.h>
4675 char *msg = *(sys_siglist + 1);
4680 rm -f conftest.
$ac_objext
4681 if { (eval echo "$as_me:4681: \"$ac_compile\"") >&5
4682 (eval $ac_compile) 2>&5
4684 echo "$as_me:4684: \$? = $ac_status" >&5
4685 (exit $ac_status); } &&
4686 { ac_try
='test -s conftest.$ac_objext'
4687 { (eval echo "$as_me:4687: \"$ac_try\"") >&5
4690 echo "$as_me:4690: \$? = $ac_status" >&5
4691 (exit $ac_status); }; }; then
4692 ac_cv_decl_sys_siglist
=yes
4694 echo "$as_me: failed program was:" >&5
4695 cat conftest.
$ac_ext >&5
4696 ac_cv_decl_sys_siglist
=no
4698 rm -f conftest.
$ac_objext conftest.
$ac_ext
4700 echo "$as_me:4700: result: $ac_cv_decl_sys_siglist" >&5
4701 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4702 if test $ac_cv_decl_sys_siglist = yes; then
4704 cat >>confdefs.h
<<\EOF
4705 #define SYS_SIGLIST_DECLARED 1
4711 ac_cpp
='$CXXCPP $CPPFLAGS'
4712 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4713 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4714 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4716 echo "$as_me:4716: checking whether ANSI array delete syntax supported" >&5
4717 echo $ECHO_N "checking whether ANSI array delete syntax supported... $ECHO_C" >&6
4718 cat >conftest.
$ac_ext <<_ACEOF
4719 #line 4719 "configure"
4720 #include "confdefs.h"
4725 char *p = new char[5]; delete [] p;
4730 rm -f conftest.
$ac_objext
4731 if { (eval echo "$as_me:4731: \"$ac_compile\"") >&5
4732 (eval $ac_compile) 2>&5
4734 echo "$as_me:4734: \$? = $ac_status" >&5
4735 (exit $ac_status); } &&
4736 { ac_try
='test -s conftest.$ac_objext'
4737 { (eval echo "$as_me:4737: \"$ac_try\"") >&5
4740 echo "$as_me:4740: \$? = $ac_status" >&5
4741 (exit $ac_status); }; }; then
4742 echo "$as_me:4742: result: yes" >&5
4743 echo "${ECHO_T}yes" >&6
4745 echo "$as_me: failed program was:" >&5
4746 cat conftest.
$ac_ext >&5
4747 echo "$as_me:4747: result: no" >&5
4748 echo "${ECHO_T}no" >&6;
4749 cat >>confdefs.h
<<\EOF
4750 #define ARRAY_DELETE_NEEDS_SIZE 1
4754 rm -f conftest.
$ac_objext conftest.
$ac_ext
4756 ac_cpp
='$CPP $CPPFLAGS'
4757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4762 ac_cpp
='$CXXCPP $CPPFLAGS'
4763 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4764 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4765 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4767 echo "$as_me:4767: checking traditional preprocessor" >&5
4768 echo $ECHO_N "checking traditional preprocessor... $ECHO_C" >&6
4769 cat >conftest.
$ac_ext <<_ACEOF
4770 #line 4770 "configure"
4771 #include "confdefs.h"
4772 #define name2(a,b) a/**/b
4781 rm -f conftest.
$ac_objext
4782 if { (eval echo "$as_me:4782: \"$ac_compile\"") >&5
4783 (eval $ac_compile) 2>&5
4785 echo "$as_me:4785: \$? = $ac_status" >&5
4786 (exit $ac_status); } &&
4787 { ac_try
='test -s conftest.$ac_objext'
4788 { (eval echo "$as_me:4788: \"$ac_try\"") >&5
4791 echo "$as_me:4791: \$? = $ac_status" >&5
4792 (exit $ac_status); }; }; then
4793 echo "$as_me:4793: result: yes" >&5
4794 echo "${ECHO_T}yes" >&6;
4795 cat >>confdefs.h
<<\EOF
4796 #define TRADITIONAL_CPP 1
4800 echo "$as_me: failed program was:" >&5
4801 cat conftest.
$ac_ext >&5
4802 echo "$as_me:4802: result: no" >&5
4803 echo "${ECHO_T}no" >&6
4805 rm -f conftest.
$ac_objext conftest.
$ac_ext
4807 ac_cpp
='$CPP $CPPFLAGS'
4808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4812 echo "$as_me:4812: checking w_coredump" >&5
4813 echo $ECHO_N "checking w_coredump... $ECHO_C" >&6
4814 if test "$cross_compiling" = yes; then
4815 echo "$as_me:4815: result: no" >&5
4816 echo "${ECHO_T}no" >&6
4818 cat >conftest.
$ac_ext <<_ACEOF
4819 #line 4819 "configure"
4820 #include "confdefs.h"
4821 #include <sys/types.h>
4822 #include <sys/wait.h>
4829 ((union wait *)&i)->w_coredump = 1;
4834 rm -f conftest
$ac_exeext
4835 if { (eval echo "$as_me:4835: \"$ac_link\"") >&5
4836 (eval $ac_link) 2>&5
4838 echo "$as_me:4838: \$? = $ac_status" >&5
4839 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4840 { (eval echo "$as_me:4840: \"$ac_try\"") >&5
4843 echo "$as_me:4843: \$? = $ac_status" >&5
4844 (exit $ac_status); }; }; then
4845 echo "$as_me:4845: result: yes" >&5
4846 echo "${ECHO_T}yes" >&6;
4847 cat >>confdefs.h
<<\EOF
4848 #define WCOREFLAG 0200
4852 echo "$as_me: program exited with status $ac_status" >&5
4853 echo "$as_me: failed program was:" >&5
4854 cat conftest.
$ac_ext >&5
4855 echo "$as_me:4855: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4858 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4860 echo "$as_me:4860: checking default value for grops -b option" >&5
4861 echo $ECHO_N "checking default value for grops -b option... $ECHO_C" >&6
4862 test -n "${BROKEN_SPOOLER_FLAGS}" || BROKEN_SPOOLER_FLAGS
=7
4863 echo "$as_me:4863: result: $BROKEN_SPOOLER_FLAGS" >&5
4864 echo "${ECHO_T}$BROKEN_SPOOLER_FLAGS" >&6
4866 echo "$as_me:4866: checking default paper size" >&5
4867 echo $ECHO_N "checking default paper size... $ECHO_C" >&6
4868 if test -z "$PAGE"; then
4870 if test -r $prefix/share
/groff
/font
/devps
/DESC
; then
4871 descfile
=$prefix/share
/groff
/font
/devps
/DESC
4872 elif test -r $prefix/lib
/groff
/font
/devps
/DESC
; then
4873 descfile
=$prefix/lib
/groff
/font
/devps
/DESC
4875 for f
in $prefix/share
/groff
/*/font
/devps
/DESC
; do
4882 if test -n "$descfile" \
4883 && grep "^paperlength 841890" $descfile >/dev
/null
2>&1; then
4887 if test -z "$PAGE"; then
4888 dom
=`awk '($1 == "dom" || $1 == "search") { print $2; exit}' \
4889 /etc/resolv.conf 2>/dev/null`
4890 if test -z "$dom"; then
4891 dom
=`(domainname) 2>/dev/null | tr -d '+'`
4893 ||
test "$dom" = '(none)'; then
4894 dom
=`(hostname) 2>/dev/null | grep '\.'`
4897 # If the top-level domain is two letters and it's not `us' or `ca'
4898 # then they probably use A4 paper.
4900 *.
[Uu
][Ss
]|
*.
[Cc
][Aa
]) ;;
4901 *.
[A-Za-z
][A-Za-z
]) PAGE
=A4
;;
4904 test -n "$PAGE" || PAGE
=letter
4905 if test "x$PAGE" = "xA4"; then
4907 cat >>confdefs.h
<<\EOF
4912 echo "$as_me:4912: result: $PAGE" >&5
4913 echo "${ECHO_T}$PAGE" >&6
4915 echo "$as_me:4915: checking for existing troff installation" >&5
4916 echo $ECHO_N "checking for existing troff installation... $ECHO_C" >&6
4917 if test "x`(echo .tm '|n(.g' | tr '|' '\\\\' | troff -z -i 2>&1) 2>/dev/null`" = x0
; then
4918 echo "$as_me:4918: result: yes" >&5
4919 echo "${ECHO_T}yes" >&6
4922 echo "$as_me:4922: result: no" >&5
4923 echo "${ECHO_T}no" >&6
4927 echo "$as_me:4927: checking for prefix of system macro packages" >&5
4928 echo $ECHO_N "checking for prefix of system macro packages... $ECHO_C" >&6
4930 sys_tmac_file_prefix
=
4931 for d
in /usr
/share
/lib
/tmac
/usr
/lib
/tmac
; do
4932 for t
in "" tmac.
; do
4935 if test -z "$sys_tmac_prefix" \
4937 && grep '^\.if' $f >/dev
/null
2>&1; then
4938 sys_tmac_prefix
=$d/$t
4939 sys_tmac_file_prefix
=$t
4944 echo "$as_me:4944: result: $sys_tmac_prefix" >&5
4945 echo "${ECHO_T}$sys_tmac_prefix" >&6
4948 echo "$as_me:4948: checking which system macro packages should be made available" >&5
4949 echo $ECHO_N "checking which system macro packages should be made available... $ECHO_C" >&6
4950 if test "x$sys_tmac_file_prefix" = "xtmac."; then
4951 for f
in $sys_tmac_prefix*; do
4952 suff
=`echo $f | sed -e "s;$sys_tmac_prefix;;"`
4956 grep "Copyright.*Free Software Foundation" $f >/dev
/null \
4957 || tmac_wrap
="$tmac_wrap $suff" ;;
4960 elif test -n "$sys_tmac_prefix"; then
4961 files
=`echo $sys_tmac_prefix*`
4962 grep "\\.so" $files >conftest.sol
4965 ${sys_tmac_prefix}e
) ;;
4970 if grep "\\.so.*/$b\$" conftest.sol
>/dev
/null \
4971 ||
grep -l "Copyright.*Free Software Foundation" $f >/dev
/null
; then
4974 suff
=`echo $f | sed -e "s;$sys_tmac_prefix;;"`
4977 *) tmac_wrap
="$tmac_wrap $suff" ;;
4984 echo "$as_me:4984: result: $tmac_wrap" >&5
4985 echo "${ECHO_T}$tmac_wrap" >&6
4987 ac_config_files
="$ac_config_files stamp-h"
4989 ac_config_files
="$ac_config_files Makefile src/xditview/Imakefile"
4991 cat >confcache
<<\_ACEOF
4992 # This file is a shell script that caches the results of configure
4993 # tests run on this system so they can be shared between configure
4994 # scripts and configure runs, see configure's option --config-cache.
4995 # It is not useful on other systems. If it contains results you don't
4996 # want to keep, you may remove or edit it.
4998 # config.status only pays attention to the cache file if you give it
4999 # the --recheck option to rerun configure.
5001 # `ac_cv_env_foo' variables (set or unset) will be overriden when
5002 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5007 # The following way of writing the cache mishandles newlines in values,
5008 # but we know of no workaround that is simple, portable, and efficient.
5009 # So, don't put newlines in cache variables' values.
5010 # Ultrix sh set writes to stderr and can't be redirected directly,
5011 # and sets the high bit in the cache file unless we assign to the vars.
5014 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5016 # `set' does not quote correctly, so add quotes (double-quote
5017 # substitution turns \\\\ into \\, and sed turns \\ into \).
5020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5023 # `set' quotes correctly as required by POSIX, so do not add quotes.
5025 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5032 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5034 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5036 if cmp -s $cache_file confcache
; then :; else
5037 if test -w $cache_file; then
5038 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5039 cat confcache
>$cache_file
5041 echo "not updating unwritable cache $cache_file"
5046 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5047 # Let make expand exec_prefix.
5048 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5050 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5051 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5052 # trailing colons and then remove the whole line if VPATH becomes empty
5053 # (actually we leave an empty line to preserve line numbers).
5054 if test "x$srcdir" = x.
; then
5055 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5056 s/:*\$(srcdir):*/:/;
5057 s/:*\${srcdir}:*/:/;
5059 s/^\([^=]*=[ ]*\):*/\1/;
5065 DEFS
=-DHAVE_CONFIG_H
5067 : ${CONFIG_STATUS=./config.status}
5068 ac_clean_files_save
=$ac_clean_files
5069 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5070 { echo "$as_me:5070: creating $CONFIG_STATUS" >&5
5071 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5072 cat >$CONFIG_STATUS <<_ACEOF
5074 # Generated automatically by configure.
5075 # Run this file to recreate the current configuration.
5076 # Compiler output produced by configure, useful for debugging
5077 # configure, is in config.log if it exists.
5080 SHELL=\${CONFIG_SHELL-$SHELL}
5081 ac_cs_invocation="\$0 \$@"
5085 cat >>$CONFIG_STATUS <<\_ACEOF
5086 # Be Bourne compatible
5087 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5090 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5094 # Name of the executable.
5095 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
5097 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5103 rm -f conf$$ conf$$.exe conf$$.
file
5105 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5106 # We could just check for DJGPP; but this test a) works b) is more generic
5107 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5108 if test -f conf$$.exe
; then
5109 # Don't use ln at all; we don't have any links
5114 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5119 rm -f conf$$ conf$$.exe conf$$.
file
5121 as_executable_p
="test -f"
5123 # Support unset when possible.
5124 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
5131 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
5132 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
5133 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
5134 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
5135 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
5136 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
5137 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
5138 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
5141 # We need space, tab and new line, in precisely that order.
5147 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
5153 # Files that config.status was made for.
5154 if test -n "$ac_config_files"; then
5155 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5158 if test -n "$ac_config_headers"; then
5159 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5162 if test -n "$ac_config_links"; then
5163 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5166 if test -n "$ac_config_commands"; then
5167 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5170 cat >>$CONFIG_STATUS <<\EOF
5173 \`$as_me' instantiates files from templates according to the
5174 current configuration.
5176 Usage: $0 [OPTIONS] [FILE]...
5178 -h, --help print this help, then exit
5179 -V, --version print version number, then exit
5180 -d, --debug don't remove temporary files
5181 --recheck update $as_me by reconfiguring in the same conditions
5182 --file=FILE[:TEMPLATE]
5183 instantiate the configuration file FILE
5184 --header=FILE[:TEMPLATE]
5185 instantiate the configuration header FILE
5187 Configuration files:
5190 Configuration headers:
5193 Report bugs to <bug-autoconf@gnu.org>."
5196 cat >>$CONFIG_STATUS <<EOF
5199 configured by $0, generated by GNU Autoconf 2.52,
5200 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5202 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5203 Free Software Foundation, Inc.
5204 This config.status script is free software; the Free Software Foundation
5205 gives unlimited permission to copy, distribute and modify it."
5210 cat >>$CONFIG_STATUS <<\EOF
5211 # If no file are specified by the user, then we need to provide default
5212 # value. By we need to know if files were specified by the user.
5218 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5219 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5221 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
5225 *) # This is not an option, so the user has probably given explicit
5227 ac_need_defaults
=false
;;
5231 # Handling of the options.
5233 cat >>$CONFIG_STATUS <<EOF
5234 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5235 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5236 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5238 cat >>$CONFIG_STATUS <<\EOF
5239 --version |
--vers* |
-V )
5240 echo "$ac_cs_version"; exit 0 ;;
5242 # Conflict between --help and --header
5243 { { echo "$as_me:5243: error: ambiguous option: $1
5244 Try \`$0 --help' for more information." >&5
5245 echo "$as_me: error: ambiguous option: $1
5246 Try \`$0 --help' for more information." >&2;}
5247 { (exit 1); exit 1; }; };;
5248 --help |
--hel |
-h )
5249 echo "$ac_cs_usage"; exit 0 ;;
5250 --debug |
--d* |
-d )
5252 --file |
--fil |
--fi |
--f )
5254 CONFIG_FILES
="$CONFIG_FILES $1"
5255 ac_need_defaults
=false
;;
5256 --header |
--heade |
--head |
--hea )
5258 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
5259 ac_need_defaults
=false
;;
5262 -*) { { echo "$as_me:5262: error: unrecognized option: $1
5263 Try \`$0 --help' for more information." >&5
5264 echo "$as_me: error: unrecognized option: $1
5265 Try \`$0 --help' for more information." >&2;}
5266 { (exit 1); exit 1; }; } ;;
5268 *) ac_config_targets
="$ac_config_targets $1" ;;
5277 ## ----------------------- ##
5278 ## Running config.status. ##
5279 ## ----------------------- ##
5281 This file was extended by $as_me 2.52, executed with
5282 CONFIG_FILES = $CONFIG_FILES
5283 CONFIG_HEADERS = $CONFIG_HEADERS
5284 CONFIG_LINKS = $CONFIG_LINKS
5285 CONFIG_COMMANDS = $CONFIG_COMMANDS
5287 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5292 cat >>$CONFIG_STATUS <<\EOF
5293 for ac_config_target
in $ac_config_targets
5295 case "$ac_config_target" in
5296 # Handling of arguments.
5297 "stamp-h" ) CONFIG_FILES
="$CONFIG_FILES stamp-h" ;;
5298 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5299 "src/xditview/Imakefile" ) CONFIG_FILES
="$CONFIG_FILES src/xditview/Imakefile" ;;
5300 "src/include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/include/config.h:src/include/config.hin" ;;
5301 *) { { echo "$as_me:5301: error: invalid argument: $ac_config_target" >&5
5302 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5303 { (exit 1); exit 1; }; };;
5307 # If the user did not use the arguments to specify the items to instantiate,
5308 # then the envvar interface is used. Set only those that are not.
5309 # We use the long form for the default assignment because of an extremely
5310 # bizarre bug on SunOS 4.1.3.
5311 if $ac_need_defaults; then
5312 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5313 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5316 # Create a temporary directory, and hook for its removal unless debugging.
5319 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5320 trap '{ (exit 1); exit 1; }' 1 2 13 15
5323 # Create a (secure) tmp directory for tmp files.
5326 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5327 test -n "$tmp" && test -d "$tmp"
5330 tmp
=$TMPDIR/cs$$
-$RANDOM
5331 (umask 077 && mkdir
$tmp)
5334 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5335 { (exit 1); exit 1; }
5340 cat >>$CONFIG_STATUS <<EOF
5343 # CONFIG_FILES section.
5346 # No need to generate the scripts if there are no CONFIG_FILES.
5347 # This happens for instance when ./config.status config.h
5348 if test -n "\$CONFIG_FILES"; then
5349 # Protect against being on the right side of a sed subst in config.status.
5350 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5351 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5352 s,@SHELL@,$SHELL,;t t
5353 s,@exec_prefix@,$exec_prefix,;t t
5354 s,@prefix@,$prefix,;t t
5355 s,@program_transform_name@,$program_transform_name,;t t
5356 s,@bindir@,$bindir,;t t
5357 s,@sbindir@,$sbindir,;t t
5358 s,@libexecdir@,$libexecdir,;t t
5359 s,@datadir@,$datadir,;t t
5360 s,@sysconfdir@,$sysconfdir,;t t
5361 s,@sharedstatedir@,$sharedstatedir,;t t
5362 s,@localstatedir@,$localstatedir,;t t
5363 s,@libdir@,$libdir,;t t
5364 s,@includedir@,$includedir,;t t
5365 s,@oldincludedir@,$oldincludedir,;t t
5366 s,@infodir@,$infodir,;t t
5367 s,@mandir@,$mandir,;t t
5368 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5369 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5370 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5371 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5372 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5373 s,@build_alias@,$build_alias,;t t
5374 s,@host_alias@,$host_alias,;t t
5375 s,@target_alias@,$target_alias,;t t
5376 s,@ECHO_C@,$ECHO_C,;t t
5377 s,@ECHO_N@,$ECHO_N,;t t
5378 s,@ECHO_T@,$ECHO_T,;t t
5379 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5382 s,@top_builddir@,$top_builddir,;t t
5384 s,@CFLAGS@,$CFLAGS,;t t
5385 s,@LDFLAGS@,$LDFLAGS,;t t
5386 s,@CPPFLAGS@,$CPPFLAGS,;t t
5387 s,@ac_ct_CC@,$ac_ct_CC,;t t
5388 s,@EXEEXT@,$EXEEXT,;t t
5389 s,@OBJEXT@,$OBJEXT,;t t
5391 s,@CXXFLAGS@,$CXXFLAGS,;t t
5392 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5393 s,@TTYDEVDIRS@,$TTYDEVDIRS,;t t
5394 s,@OTHERDEVDIRS@,$OTHERDEVDIRS,;t t
5398 s,@PSPRINT@,$PSPRINT,;t t
5399 s,@DVIPRINT@,$DVIPRINT,;t t
5400 s,@PERLPATH@,$PERLPATH,;t t
5402 s,@RANLIB@,$RANLIB,;t t
5403 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5404 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5405 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5406 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5408 s,@SH_SCRIPT_SED_CMD@,$SH_SCRIPT_SED_CMD,;t t
5411 s,@LIBOBJS@,$LIBOBJS,;t t
5412 s,@BROKEN_SPOOLER_FLAGS@,$BROKEN_SPOOLER_FLAGS,;t t
5415 s,@sys_tmac_prefix@,$sys_tmac_prefix,;t t
5416 s,@tmac_wrap@,$tmac_wrap,;t t
5421 cat >>$CONFIG_STATUS <<\EOF
5422 # Split the substitutions into bite-sized pieces for seds with
5423 # small command number limits, like on Digital OSF/1 and HP-UX.
5425 ac_sed_frag
=1 # Number of current file.
5426 ac_beg
=1 # First line for current file.
5427 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5430 while $ac_more_lines; do
5431 if test $ac_beg -gt 1; then
5432 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5434 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5436 if test ! -s $tmp/subs.frag
; then
5439 # The purpose of the label and of the branching condition is to
5440 # speed up the sed processing (if there are no `@' at all, there
5441 # is no need to browse any of the substitutions).
5442 # These are the two extra sed commands mentioned above.
5444 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5445 if test -z "$ac_sed_cmds"; then
5446 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5448 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5450 ac_sed_frag
=`expr $ac_sed_frag + 1`
5452 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5455 if test -z "$ac_sed_cmds"; then
5458 fi # test -n "$CONFIG_FILES"
5461 cat >>$CONFIG_STATUS <<\EOF
5462 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5463 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5465 - |
*:- |
*:-:* ) # input from stdin
5467 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5468 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5469 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5470 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5471 * ) ac_file_in
=$ac_file.
in ;;
5474 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5475 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5476 X"$ac_file" : 'X\(//\)[^/]' \| \
5477 X"$ac_file" : 'X\(//\)$' \| \
5478 X"$ac_file" : 'X\(/\)' \| \
5479 . : '\(.\)' 2>/dev/null ||
5481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5482 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5483 /^X\(\/\/\)$/{ s//\1/; q; }
5484 /^X\(\/\).*/{ s//\1/; q; }
5486 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
5488 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
5492 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5493 case $as_mkdir_dir in
5494 # Skip DOS drivespec
5495 ?
:) as_incr_dir
=$as_mkdir_dir ;;
5497 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
5498 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
5503 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
5504 # A "../" for each directory in $ac_dir_suffix.
5505 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
5507 ac_dir_suffix
= ac_dots
=
5512 if test -z "$ac_dots"; then
5515 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
5518 ac_srcdir
=$srcdir$ac_dir_suffix;
5519 ac_top_srcdir
=$srcdir ;;
5521 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
5522 ac_top_srcdir
=$ac_dots$srcdir ;;
5526 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5527 *) ac_INSTALL
=$ac_dots$INSTALL ;;
5530 if test x
"$ac_file" != x-
; then
5531 { echo "$as_me:5531: creating $ac_file" >&5
5532 echo "$as_me: creating $ac_file" >&6;}
5535 # Let's still pretend it is `configure' which instantiates (i.e., don't
5536 # use $as_me), people would be surprised to read:
5537 # /* config.h. Generated automatically by config.status. */
5538 configure_input
="Generated automatically from `echo $ac_file_in |
5539 sed 's,.*/,,'` by configure."
5541 # First look for the input files in the build tree, otherwise in the
5543 ac_file_inputs
=`IFS=:
5544 for f in $ac_file_in; do
5546 -) echo $tmp/stdin ;;
5548 # Absolute (can't be DOS-style, as IFS=:)
5549 test -f "$f" || { { echo "$as_me:5549: error: cannot find input file: $f" >&5
5550 echo "$as_me: error: cannot find input file: $f" >&2;}
5551 { (exit 1); exit 1; }; }
5554 if test -f "$f"; then
5557 elif test -f "$srcdir/$f"; then
5562 { { echo "$as_me:5562: error: cannot find input file: $f" >&5
5563 echo "$as_me: error: cannot find input file: $f" >&2;}
5564 { (exit 1); exit 1; }; }
5567 done` ||
{ (exit 1); exit 1; }
5569 cat >>$CONFIG_STATUS <<EOF
5573 cat >>$CONFIG_STATUS <<\EOF
5575 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5576 s
,@configure_input@
,$configure_input,;t t
5577 s
,@srcdir@
,$ac_srcdir,;t t
5578 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5579 s
,@INSTALL@
,$ac_INSTALL,;t t
5580 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5582 if test x"$ac_file" != x-; then
5583 mv $tmp/out $ac_file
5589 # Run the commands associated with the file.
5591 stamp-h ) echo timestamp > stamp-h ;;
5595 cat >>$CONFIG_STATUS <<\EOF
5598 # CONFIG_HEADER section.
5601 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5602 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5604 # ac_d sets the value in "#define NAME VALUE" lines.
5605 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5606 ac_dB
='[ ].*$,\1#\2'
5609 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5610 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5611 ac_uB
='$,\1#\2define\3'
5615 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5616 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5618 - |
*:- |
*:-:* ) # input from stdin
5620 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5621 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5622 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5623 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5624 * ) ac_file_in
=$ac_file.
in ;;
5627 test x
"$ac_file" != x-
&& { echo "$as_me:5627: creating $ac_file" >&5
5628 echo "$as_me: creating $ac_file" >&6;}
5630 # First look for the input files in the build tree, otherwise in the
5632 ac_file_inputs
=`IFS=:
5633 for f in $ac_file_in; do
5635 -) echo $tmp/stdin ;;
5637 # Absolute (can't be DOS-style, as IFS=:)
5638 test -f "$f" || { { echo "$as_me:5638: error: cannot find input file: $f" >&5
5639 echo "$as_me: error: cannot find input file: $f" >&2;}
5640 { (exit 1); exit 1; }; }
5643 if test -f "$f"; then
5646 elif test -f "$srcdir/$f"; then
5651 { { echo "$as_me:5651: error: cannot find input file: $f" >&5
5652 echo "$as_me: error: cannot find input file: $f" >&2;}
5653 { (exit 1); exit 1; }; }
5656 done` ||
{ (exit 1); exit 1; }
5657 # Remove the trailing spaces.
5658 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5662 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5663 # `conftest.undefs', that substitutes the proper values into
5664 # config.h.in to produce config.h. The first handles `#define'
5665 # templates, and the second `#undef' templates.
5666 # And first: Protect against being on the right side of a sed subst in
5667 # config.status. Protect against being in an unquoted here document
5669 rm -f conftest.defines conftest.undefs
5670 # Using a here document instead of a string reduces the quoting nightmare.
5671 # Putting comments in sed scripts is not portable.
5673 # `end' is used to avoid that the second main sed command (meant for
5674 # 0-ary CPP macros) applies to n-ary macro definitions.
5675 # See the Autoconf documentation for `clear'.
5676 cat >confdef2sed.
sed <<\EOF
5681 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
5683 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5686 # If some macros were called several times there might be several times
5687 # the same #defines, which is useless. Nevertheless, we may not want to
5688 # sort them, since we want the *last* AC-DEFINE to be honored.
5689 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5690 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5691 rm -f confdef2sed.sed
5693 # This sed command replaces #undef with comments. This is necessary, for
5694 # example, in the case of _POSIX_SOURCE, which is predefined and required
5695 # on some systems where configure will not decide to define it.
5696 cat >>conftest.undefs <<\EOF
5697 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5700 # Break up conftest.defines because some shells have a limit on the size
5701 # of here documents, and old seds have small limits too (100 cmds).
5702 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5703 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5704 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5705 echo ' :' >>$CONFIG_STATUS
5707 while grep . conftest.defines >/dev/null
5709 # Write a limited-size here document to $tmp/defines.sed.
5710 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5711 # Speed up: don't consider the non `#define' lines.
5712 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5713 # Work around the forget-to-reset-the-flag bug.
5714 echo 't clr' >>$CONFIG_STATUS
5715 echo ': clr' >>$CONFIG_STATUS
5716 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5718 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5722 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5723 rm -f conftest.defines
5724 mv conftest.
tail conftest.defines
5726 rm -f conftest.defines
5727 echo ' fi # egrep' >>$CONFIG_STATUS
5728 echo >>$CONFIG_STATUS
5730 # Break up conftest.undefs because some shells have a limit on the size
5731 # of here documents, and old seds have small limits too (100 cmds).
5732 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5734 while grep . conftest.undefs
>/dev
/null
5736 # Write a limited-size here document to $tmp/undefs.sed.
5737 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5738 # Speed up: don't consider the non
`#undef'
5739 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5740 # Work around the forget-to-reset-the-flag bug.
5741 echo 't clr' >>$CONFIG_STATUS
5742 echo ': clr' >>$CONFIG_STATUS
5743 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5745 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5749 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5750 rm -f conftest.undefs
5751 mv conftest.tail conftest.undefs
5753 rm -f conftest.undefs
5755 cat >>$CONFIG_STATUS <<\EOF
5756 # Let's still pretend it is `configure
' which instantiates (i.e., don't
5757 # use $as_me), people would be surprised to read:
5758 # /* config.h. Generated automatically by config.status. */
5759 if test x
"$ac_file" = x-
; then
5760 echo "/* Generated automatically by configure. */" >$tmp/config.h
5762 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
5764 cat $tmp/in >>$tmp/config.h
5766 if test x
"$ac_file" != x-
; then
5767 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
5768 { echo "$as_me:5768: $ac_file is unchanged" >&5
5769 echo "$as_me: $ac_file is unchanged" >&6;}
5771 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5772 X"$ac_file" : 'X\(//\)[^/]' \| \
5773 X"$ac_file" : 'X\(//\)$' \| \
5774 X"$ac_file" : 'X\(/\)' \| \
5775 . : '\(.\)' 2>/dev/null ||
5777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5778 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5779 /^X\(\/\/\)$/{ s//\1/; q; }
5780 /^X\(\/\).*/{ s//\1/; q; }
5782 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
5784 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
5788 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5789 case $as_mkdir_dir in
5790 # Skip DOS drivespec
5791 ?
:) as_incr_dir
=$as_mkdir_dir ;;
5793 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
5794 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
5801 mv $tmp/config.h
$ac_file
5810 cat >>$CONFIG_STATUS <<\EOF
5812 { (exit 0); exit 0; }
5814 chmod +x
$CONFIG_STATUS
5815 ac_clean_files
=$ac_clean_files_save
5817 # configure is writing to config.log, and then calls config.status.
5818 # config.status does its own redirection, appending to config.log.
5819 # Unfortunately, on DOS this fails, as config.log is still kept open
5820 # by configure, so config.status won't be able to write to it; its
5821 # output is simply discarded. So we exec the FD to /dev/null,
5822 # effectively closing config.log, so it can be properly (re)opened and
5823 # appended to by config.status. When coming back to configure, we
5824 # need to make the FD available again.
5825 if test "$no_create" != yes; then
5828 $SHELL $CONFIG_STATUS || ac_cs_success
=false
5830 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5831 # would make configure fail if this is the last instruction.
5832 $ac_cs_success ||
{ (exit 1); exit 1; }
5835 { echo "$as_me:5835:
5837 Configuration completed.
5839 You can now say \`make' to compile the groff package and \`make install'
5840 to install it afterwards.
5842 If you want to compile xditview, change the directory to \`src/xditview'
5843 and follow the instructions given in the file \`INSTALL'.
5847 Configuration completed.
5849 You can now say \`make' to compile the groff package and \`make install'
5850 to install it afterwards.
5852 If you want to compile xditview, change the directory to \`src/xditview'
5853 and follow the instructions given in the file \`INSTALL'.