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 for ac_prog
in install-info
2480 # Extract the first word of "$ac_prog", so it can be a program name with args.
2481 set dummy
$ac_prog; ac_word
=$2
2482 echo "$as_me:2482: checking for $ac_word" >&5
2483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2484 if test "${ac_cv_prog_INSTALL_INFO+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 if test -n "$INSTALL_INFO"; then
2488 ac_cv_prog_INSTALL_INFO
="$INSTALL_INFO" # Let the user override the test.
2490 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2492 for ac_dir
in $ac_dummy; do
2494 test -z "$ac_dir" && ac_dir
=.
2495 $as_executable_p "$ac_dir/$ac_word" ||
continue
2496 ac_cv_prog_INSTALL_INFO
="$ac_prog"
2497 echo "$as_me:2497: found $ac_dir/$ac_word" >&5
2503 INSTALL_INFO
=$ac_cv_prog_INSTALL_INFO
2504 if test -n "$INSTALL_INFO"; then
2505 echo "$as_me:2505: result: $INSTALL_INFO" >&5
2506 echo "${ECHO_T}$INSTALL_INFO" >&6
2508 echo "$as_me:2508: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2512 test -n "$INSTALL_INFO" && break
2514 test -n "$INSTALL_INFO" || INSTALL_INFO
=":"
2516 # Find a good install program. We prefer a C program (faster),
2517 # so one script is as good as another. But avoid the broken or
2518 # incompatible versions:
2519 # SysV /etc/install, /usr/sbin/install
2520 # SunOS /usr/etc/install
2521 # IRIX /sbin/install
2523 # AmigaOS /C/install, which installs bootblocks on floppy discs
2524 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2525 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2526 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2527 # ./install, which can be erroneously created by make from ./install.sh.
2528 echo "$as_me:2528: checking for a BSD compatible install" >&5
2529 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2530 if test -z "$INSTALL"; then
2531 if test "${ac_cv_path_install+set}" = set; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2535 for ac_dir
in $PATH; do
2537 # Account for people who put trailing slashes in PATH elements.
2539 / | .
/ | .
// |
/cC
/* \
2540 |
/etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* \
2543 # OSF1 and SCO ODT 3.0 have their own names for install.
2544 # Don't use installbsd from OSF since it installs stuff as root
2546 for ac_prog
in ginstall scoinst
install; do
2547 if $as_executable_p "$ac_dir/$ac_prog"; then
2548 if test $ac_prog = install &&
2549 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
2550 # AIX install. It has an incompatible calling convention.
2552 elif test $ac_prog = install &&
2553 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
2554 # program-specific install script used by HP pwplus--don't use.
2557 ac_cv_path_install
="$ac_dir/$ac_prog -c"
2567 if test "${ac_cv_path_install+set}" = set; then
2568 INSTALL
=$ac_cv_path_install
2570 # As a last resort, use the slow shell script. We don't cache a
2571 # path for INSTALL within a source directory, because that will
2572 # break other packages using the cache if that directory is
2573 # removed, or if the path is relative.
2574 INSTALL
=$ac_install_sh
2577 echo "$as_me:2577: result: $INSTALL" >&5
2578 echo "${ECHO_T}$INSTALL" >&6
2580 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2581 # It thinks the first close brace ends the variable substitution.
2582 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2584 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2586 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2588 echo "$as_me:2588: checking whether ln -s works" >&5
2589 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2591 if test "$LN_S" = "ln -s"; then
2592 echo "$as_me:2592: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2595 echo "$as_me:2595: result: no, using $LN_S" >&5
2596 echo "${ECHO_T}no, using $LN_S" >&6
2599 echo "$as_me:2599: checking for csh hash hack" >&5
2600 echo $ECHO_N "checking for csh hash hack... $ECHO_C" >&6
2601 cat <<EOF >conftest.sh
2604 export PATH || exit 0
2607 chmod +x conftest.sh
2608 if echo .
/conftest.sh |
(csh
>/dev
/null
2>&1) >/dev
/null
2>&1; then
2609 echo "$as_me:2609: result: yes" >&5
2610 echo "${ECHO_T}yes" >&6; SH_SCRIPT_SED_CMD
='1s/.*/:/'
2612 echo "$as_me:2612: result: no" >&5
2613 echo "${ECHO_T}no" >&6; SH_SCRIPT_SED_CMD
='1s/a/a/'
2618 ac_cpp
='$CPP $CPPFLAGS'
2619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2622 echo "$as_me:2622: checking how to run the C preprocessor" >&5
2623 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2624 # On Suns, sometimes $CPP names a directory.
2625 if test -n "$CPP" && test -d "$CPP"; then
2628 if test -z "$CPP"; then
2629 if test "${ac_cv_prog_CPP+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 # Double quotes because CPP needs to be expanded
2633 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2636 for ac_c_preproc_warn_flag
in '' yes
2638 # Use a header file that comes with gcc, so configuring glibc
2639 # with a fresh cross-compiler works.
2640 # On the NeXT, cc -E runs the code through the compiler's parser,
2641 # not just through cpp. "Syntax error" is here to catch this case.
2642 cat >conftest.
$ac_ext <<_ACEOF
2643 #line 2643 "configure"
2644 #include "confdefs.h"
2648 if { (eval echo "$as_me:2648: \"$ac_cpp conftest.$ac_ext\"") >&5
2649 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2651 egrep -v '^ *\+' conftest.er1
>conftest.err
2653 cat conftest.err
>&5
2654 echo "$as_me:2654: \$? = $ac_status" >&5
2655 (exit $ac_status); } >/dev
/null
; then
2656 if test -s conftest.err
; then
2657 ac_cpp_err
=$ac_c_preproc_warn_flag
2664 if test -z "$ac_cpp_err"; then
2667 echo "$as_me: failed program was:" >&5
2668 cat conftest.
$ac_ext >&5
2669 # Broken: fails on valid input.
2672 rm -f conftest.err conftest.
$ac_ext
2674 # OK, works on sane cases. Now check whether non-existent headers
2675 # can be detected and how.
2676 cat >conftest.
$ac_ext <<_ACEOF
2677 #line 2677 "configure"
2678 #include "confdefs.h"
2679 #include <ac_nonexistent.h>
2681 if { (eval echo "$as_me:2681: \"$ac_cpp conftest.$ac_ext\"") >&5
2682 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2684 egrep -v '^ *\+' conftest.er1
>conftest.err
2686 cat conftest.err
>&5
2687 echo "$as_me:2687: \$? = $ac_status" >&5
2688 (exit $ac_status); } >/dev
/null
; then
2689 if test -s conftest.err
; then
2690 ac_cpp_err
=$ac_c_preproc_warn_flag
2697 if test -z "$ac_cpp_err"; then
2698 # Broken: success on invalid input.
2701 echo "$as_me: failed program was:" >&5
2702 cat conftest.
$ac_ext >&5
2703 # Passes both tests.
2707 rm -f conftest.err conftest.
$ac_ext
2710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2711 rm -f conftest.err conftest.
$ac_ext
2712 if $ac_preproc_ok; then
2724 echo "$as_me:2724: result: $CPP" >&5
2725 echo "${ECHO_T}$CPP" >&6
2727 for ac_c_preproc_warn_flag
in '' yes
2729 # Use a header file that comes with gcc, so configuring glibc
2730 # with a fresh cross-compiler works.
2731 # On the NeXT, cc -E runs the code through the compiler's parser,
2732 # not just through cpp. "Syntax error" is here to catch this case.
2733 cat >conftest.
$ac_ext <<_ACEOF
2734 #line 2734 "configure"
2735 #include "confdefs.h"
2739 if { (eval echo "$as_me:2739: \"$ac_cpp conftest.$ac_ext\"") >&5
2740 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2742 egrep -v '^ *\+' conftest.er1
>conftest.err
2744 cat conftest.err
>&5
2745 echo "$as_me:2745: \$? = $ac_status" >&5
2746 (exit $ac_status); } >/dev
/null
; then
2747 if test -s conftest.err
; then
2748 ac_cpp_err
=$ac_c_preproc_warn_flag
2755 if test -z "$ac_cpp_err"; then
2758 echo "$as_me: failed program was:" >&5
2759 cat conftest.
$ac_ext >&5
2760 # Broken: fails on valid input.
2763 rm -f conftest.err conftest.
$ac_ext
2765 # OK, works on sane cases. Now check whether non-existent headers
2766 # can be detected and how.
2767 cat >conftest.
$ac_ext <<_ACEOF
2768 #line 2768 "configure"
2769 #include "confdefs.h"
2770 #include <ac_nonexistent.h>
2772 if { (eval echo "$as_me:2772: \"$ac_cpp conftest.$ac_ext\"") >&5
2773 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2775 egrep -v '^ *\+' conftest.er1
>conftest.err
2777 cat conftest.err
>&5
2778 echo "$as_me:2778: \$? = $ac_status" >&5
2779 (exit $ac_status); } >/dev
/null
; then
2780 if test -s conftest.err
; then
2781 ac_cpp_err
=$ac_c_preproc_warn_flag
2788 if test -z "$ac_cpp_err"; then
2789 # Broken: success on invalid input.
2792 echo "$as_me: failed program was:" >&5
2793 cat conftest.
$ac_ext >&5
2794 # Passes both tests.
2798 rm -f conftest.err conftest.
$ac_ext
2801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2802 rm -f conftest.err conftest.
$ac_ext
2803 if $ac_preproc_ok; then
2806 { { echo "$as_me:2806: error: C preprocessor \"$CPP\" fails sanity check" >&5
2807 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2808 { (exit 1); exit 1; }; }
2812 ac_cpp
='$CPP $CPPFLAGS'
2813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2817 for ac_header
in stdlib.h unistd.h dirent.h limits.h sys
/dir.h \
2818 string.h
strings.h math.h stdint.h sys
/time.h
2820 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2821 echo "$as_me:2821: checking for $ac_header" >&5
2822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2824 echo $ECHO_N "(cached) $ECHO_C" >&6
2826 cat >conftest.
$ac_ext <<_ACEOF
2827 #line 2827 "configure"
2828 #include "confdefs.h"
2829 #include <$ac_header>
2831 if { (eval echo "$as_me:2831: \"$ac_cpp conftest.$ac_ext\"") >&5
2832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2834 egrep -v '^ *\+' conftest.er1
>conftest.err
2836 cat conftest.err
>&5
2837 echo "$as_me:2837: \$? = $ac_status" >&5
2838 (exit $ac_status); } >/dev
/null
; then
2839 if test -s conftest.err
; then
2840 ac_cpp_err
=$ac_c_preproc_warn_flag
2847 if test -z "$ac_cpp_err"; then
2848 eval "$as_ac_Header=yes"
2850 echo "$as_me: failed program was:" >&5
2851 cat conftest.
$ac_ext >&5
2852 eval "$as_ac_Header=no"
2854 rm -f conftest.err conftest.
$ac_ext
2856 echo "$as_me:2856: result: `eval echo '${'$as_ac_Header'}'`" >&5
2857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2859 cat >>confdefs.h
<<EOF
2860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2866 echo "$as_me:2866: checking for ISC 3.x or 4.x" >&5
2867 echo $ECHO_N "checking for ISC 3.x or 4.x... $ECHO_C" >&6
2868 if grep '[34]\.' /usr
/options
/cb.name
>/dev
/null
2>&1
2870 echo "$as_me:2870: result: yes" >&5
2871 echo "${ECHO_T}yes" >&6
2873 cat >>confdefs.h
<<\EOF
2878 echo "$as_me:2878: result: no" >&5
2879 echo "${ECHO_T}no" >&6
2881 echo "$as_me:2881: checking whether -D_POSIX_SOURCE is necessary" >&5
2882 echo $ECHO_N "checking whether -D_POSIX_SOURCE is necessary... $ECHO_C" >&6
2884 ac_cpp
='$CXXCPP $CPPFLAGS'
2885 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2886 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2887 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2889 cat >conftest.
$ac_ext <<_ACEOF
2890 #line 2890 "configure"
2891 #include "confdefs.h"
2893 extern "C" { void fileno(int); }
2902 rm -f conftest.
$ac_objext
2903 if { (eval echo "$as_me:2903: \"$ac_compile\"") >&5
2904 (eval $ac_compile) 2>&5
2906 echo "$as_me:2906: \$? = $ac_status" >&5
2907 (exit $ac_status); } &&
2908 { ac_try
='test -s conftest.$ac_objext'
2909 { (eval echo "$as_me:2909: \"$ac_try\"") >&5
2912 echo "$as_me:2912: \$? = $ac_status" >&5
2913 (exit $ac_status); }; }; then
2914 echo "$as_me:2914: result: yes" >&5
2915 echo "${ECHO_T}yes" >&6;
2916 cat >>confdefs.h
<<\EOF
2917 #define _POSIX_SOURCE 1
2921 echo "$as_me: failed program was:" >&5
2922 cat conftest.
$ac_ext >&5
2923 echo "$as_me:2923: result: no" >&5
2924 echo "${ECHO_T}no" >&6
2926 rm -f conftest.
$ac_objext conftest.
$ac_ext
2928 ac_cpp
='$CPP $CPPFLAGS'
2929 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2930 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2931 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2934 ac_cpp
='$CXXCPP $CPPFLAGS'
2935 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2936 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2937 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2939 echo "$as_me:2939: checking for return type of srand" >&5
2940 echo $ECHO_N "checking for return type of srand... $ECHO_C" >&6
2941 cat >conftest.
$ac_ext <<_ACEOF
2942 #line 2942 "configure"
2943 #include "confdefs.h"
2945 extern "C" { void srand(unsigned int); }
2954 rm -f conftest.
$ac_objext
2955 if { (eval echo "$as_me:2955: \"$ac_compile\"") >&5
2956 (eval $ac_compile) 2>&5
2958 echo "$as_me:2958: \$? = $ac_status" >&5
2959 (exit $ac_status); } &&
2960 { ac_try
='test -s conftest.$ac_objext'
2961 { (eval echo "$as_me:2961: \"$ac_try\"") >&5
2964 echo "$as_me:2964: \$? = $ac_status" >&5
2965 (exit $ac_status); }; }; then
2966 echo "$as_me:2966: result: void" >&5
2967 echo "${ECHO_T}void" >&6;
2968 cat >>confdefs.h
<<\EOF
2969 #define RET_TYPE_SRAND_IS_VOID 1
2973 echo "$as_me: failed program was:" >&5
2974 cat conftest.
$ac_ext >&5
2975 echo "$as_me:2975: result: int" >&5
2976 echo "${ECHO_T}int" >&6
2978 rm -f conftest.
$ac_objext conftest.
$ac_ext
2980 ac_cpp
='$CPP $CPPFLAGS'
2981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2985 echo "$as_me:2985: checking whether gettimeofday must be declared" >&5
2986 echo $ECHO_N "checking whether gettimeofday must be declared... $ECHO_C" >&6
2988 ac_cpp
='$CXXCPP $CPPFLAGS'
2989 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2990 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2991 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2993 if test "${groff_cv_decl_needed_gettimeofday+set}" = set; then
2994 echo $ECHO_N "(cached) $ECHO_C" >&6
2996 cat >conftest.
$ac_ext <<_ACEOF
2997 #line 2997 "configure"
2998 #include "confdefs.h"
3001 #ifdef HAVE_STRING_H
3004 #ifdef HAVE_STRINGS_H
3005 #include <strings.h>
3007 #ifdef HAVE_STDLIB_H
3010 #ifdef HAVE_SYS_TIME_H
3011 #include <sys/time.h>
3013 #ifdef HAVE_UNISTD_H
3022 #ifndef gettimeofday
3023 char *p = (char *) gettimeofday;
3029 rm -f conftest.
$ac_objext
3030 if { (eval echo "$as_me:3030: \"$ac_compile\"") >&5
3031 (eval $ac_compile) 2>&5
3033 echo "$as_me:3033: \$? = $ac_status" >&5
3034 (exit $ac_status); } &&
3035 { ac_try
='test -s conftest.$ac_objext'
3036 { (eval echo "$as_me:3036: \"$ac_try\"") >&5
3039 echo "$as_me:3039: \$? = $ac_status" >&5
3040 (exit $ac_status); }; }; then
3041 groff_cv_decl_needed_gettimeofday
=no
3043 echo "$as_me: failed program was:" >&5
3044 cat conftest.
$ac_ext >&5
3045 groff_cv_decl_needed_gettimeofday
=yes
3047 rm -f conftest.
$ac_objext conftest.
$ac_ext
3050 echo "$as_me:3050: result: $groff_cv_decl_needed_gettimeofday" >&5
3051 echo "${ECHO_T}$groff_cv_decl_needed_gettimeofday" >&6
3052 if test $groff_cv_decl_needed_gettimeofday = yes; then
3054 cat >>confdefs.h
<<\EOF
3055 #define NEED_DECLARATION_GETTIMEOFDAY 1
3060 ac_cpp
='$CPP $CPPFLAGS'
3061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3065 echo "$as_me:3065: checking whether hypot must be declared" >&5
3066 echo $ECHO_N "checking whether hypot must be declared... $ECHO_C" >&6
3068 ac_cpp
='$CXXCPP $CPPFLAGS'
3069 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3070 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3071 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3073 if test "${groff_cv_decl_needed_hypot+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3076 cat >conftest.
$ac_ext <<_ACEOF
3077 #line 3077 "configure"
3078 #include "confdefs.h"
3081 #ifdef HAVE_STRING_H
3084 #ifdef HAVE_STRINGS_H
3085 #include <strings.h>
3087 #ifdef HAVE_STDLIB_H
3090 #ifdef HAVE_SYS_TIME_H
3091 #include <sys/time.h>
3093 #ifdef HAVE_UNISTD_H
3103 char *p = (char *) hypot;
3109 rm -f conftest.
$ac_objext
3110 if { (eval echo "$as_me:3110: \"$ac_compile\"") >&5
3111 (eval $ac_compile) 2>&5
3113 echo "$as_me:3113: \$? = $ac_status" >&5
3114 (exit $ac_status); } &&
3115 { ac_try
='test -s conftest.$ac_objext'
3116 { (eval echo "$as_me:3116: \"$ac_try\"") >&5
3119 echo "$as_me:3119: \$? = $ac_status" >&5
3120 (exit $ac_status); }; }; then
3121 groff_cv_decl_needed_hypot
=no
3123 echo "$as_me: failed program was:" >&5
3124 cat conftest.
$ac_ext >&5
3125 groff_cv_decl_needed_hypot
=yes
3127 rm -f conftest.
$ac_objext conftest.
$ac_ext
3130 echo "$as_me:3130: result: $groff_cv_decl_needed_hypot" >&5
3131 echo "${ECHO_T}$groff_cv_decl_needed_hypot" >&6
3132 if test $groff_cv_decl_needed_hypot = yes; then
3134 cat >>confdefs.h
<<\EOF
3135 #define NEED_DECLARATION_HYPOT 1
3140 ac_cpp
='$CPP $CPPFLAGS'
3141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3145 echo "$as_me:3145: checking whether popen must be declared" >&5
3146 echo $ECHO_N "checking whether popen must be declared... $ECHO_C" >&6
3148 ac_cpp
='$CXXCPP $CPPFLAGS'
3149 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3150 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3151 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3153 if test "${groff_cv_decl_needed_popen+set}" = set; then
3154 echo $ECHO_N "(cached) $ECHO_C" >&6
3156 cat >conftest.
$ac_ext <<_ACEOF
3157 #line 3157 "configure"
3158 #include "confdefs.h"
3161 #ifdef HAVE_STRING_H
3164 #ifdef HAVE_STRINGS_H
3165 #include <strings.h>
3167 #ifdef HAVE_STDLIB_H
3170 #ifdef HAVE_SYS_TIME_H
3171 #include <sys/time.h>
3173 #ifdef HAVE_UNISTD_H
3183 char *p = (char *) popen;
3189 rm -f conftest.
$ac_objext
3190 if { (eval echo "$as_me:3190: \"$ac_compile\"") >&5
3191 (eval $ac_compile) 2>&5
3193 echo "$as_me:3193: \$? = $ac_status" >&5
3194 (exit $ac_status); } &&
3195 { ac_try
='test -s conftest.$ac_objext'
3196 { (eval echo "$as_me:3196: \"$ac_try\"") >&5
3199 echo "$as_me:3199: \$? = $ac_status" >&5
3200 (exit $ac_status); }; }; then
3201 groff_cv_decl_needed_popen
=no
3203 echo "$as_me: failed program was:" >&5
3204 cat conftest.
$ac_ext >&5
3205 groff_cv_decl_needed_popen
=yes
3207 rm -f conftest.
$ac_objext conftest.
$ac_ext
3210 echo "$as_me:3210: result: $groff_cv_decl_needed_popen" >&5
3211 echo "${ECHO_T}$groff_cv_decl_needed_popen" >&6
3212 if test $groff_cv_decl_needed_popen = yes; then
3214 cat >>confdefs.h
<<\EOF
3215 #define NEED_DECLARATION_POPEN 1
3220 ac_cpp
='$CPP $CPPFLAGS'
3221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3225 echo "$as_me:3225: checking whether pclose must be declared" >&5
3226 echo $ECHO_N "checking whether pclose must be declared... $ECHO_C" >&6
3228 ac_cpp
='$CXXCPP $CPPFLAGS'
3229 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3230 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3231 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3233 if test "${groff_cv_decl_needed_pclose+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3236 cat >conftest.
$ac_ext <<_ACEOF
3237 #line 3237 "configure"
3238 #include "confdefs.h"
3241 #ifdef HAVE_STRING_H
3244 #ifdef HAVE_STRINGS_H
3245 #include <strings.h>
3247 #ifdef HAVE_STDLIB_H
3250 #ifdef HAVE_SYS_TIME_H
3251 #include <sys/time.h>
3253 #ifdef HAVE_UNISTD_H
3263 char *p = (char *) pclose;
3269 rm -f conftest.
$ac_objext
3270 if { (eval echo "$as_me:3270: \"$ac_compile\"") >&5
3271 (eval $ac_compile) 2>&5
3273 echo "$as_me:3273: \$? = $ac_status" >&5
3274 (exit $ac_status); } &&
3275 { ac_try
='test -s conftest.$ac_objext'
3276 { (eval echo "$as_me:3276: \"$ac_try\"") >&5
3279 echo "$as_me:3279: \$? = $ac_status" >&5
3280 (exit $ac_status); }; }; then
3281 groff_cv_decl_needed_pclose
=no
3283 echo "$as_me: failed program was:" >&5
3284 cat conftest.
$ac_ext >&5
3285 groff_cv_decl_needed_pclose
=yes
3287 rm -f conftest.
$ac_objext conftest.
$ac_ext
3290 echo "$as_me:3290: result: $groff_cv_decl_needed_pclose" >&5
3291 echo "${ECHO_T}$groff_cv_decl_needed_pclose" >&6
3292 if test $groff_cv_decl_needed_pclose = yes; then
3294 cat >>confdefs.h
<<\EOF
3295 #define NEED_DECLARATION_PCLOSE 1
3300 ac_cpp
='$CPP $CPPFLAGS'
3301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3305 echo "$as_me:3305: checking whether putenv must be declared" >&5
3306 echo $ECHO_N "checking whether putenv must be declared... $ECHO_C" >&6
3308 ac_cpp
='$CXXCPP $CPPFLAGS'
3309 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3310 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3311 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3313 if test "${groff_cv_decl_needed_putenv+set}" = set; then
3314 echo $ECHO_N "(cached) $ECHO_C" >&6
3316 cat >conftest.
$ac_ext <<_ACEOF
3317 #line 3317 "configure"
3318 #include "confdefs.h"
3321 #ifdef HAVE_STRING_H
3324 #ifdef HAVE_STRINGS_H
3325 #include <strings.h>
3327 #ifdef HAVE_STDLIB_H
3330 #ifdef HAVE_SYS_TIME_H
3331 #include <sys/time.h>
3333 #ifdef HAVE_UNISTD_H
3343 char *p = (char *) putenv;
3349 rm -f conftest.
$ac_objext
3350 if { (eval echo "$as_me:3350: \"$ac_compile\"") >&5
3351 (eval $ac_compile) 2>&5
3353 echo "$as_me:3353: \$? = $ac_status" >&5
3354 (exit $ac_status); } &&
3355 { ac_try
='test -s conftest.$ac_objext'
3356 { (eval echo "$as_me:3356: \"$ac_try\"") >&5
3359 echo "$as_me:3359: \$? = $ac_status" >&5
3360 (exit $ac_status); }; }; then
3361 groff_cv_decl_needed_putenv
=no
3363 echo "$as_me: failed program was:" >&5
3364 cat conftest.
$ac_ext >&5
3365 groff_cv_decl_needed_putenv
=yes
3367 rm -f conftest.
$ac_objext conftest.
$ac_ext
3370 echo "$as_me:3370: result: $groff_cv_decl_needed_putenv" >&5
3371 echo "${ECHO_T}$groff_cv_decl_needed_putenv" >&6
3372 if test $groff_cv_decl_needed_putenv = yes; then
3374 cat >>confdefs.h
<<\EOF
3375 #define NEED_DECLARATION_PUTENV 1
3380 ac_cpp
='$CPP $CPPFLAGS'
3381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3385 echo "$as_me:3385: checking whether strcasecmp must be declared" >&5
3386 echo $ECHO_N "checking whether strcasecmp must be declared... $ECHO_C" >&6
3388 ac_cpp
='$CXXCPP $CPPFLAGS'
3389 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3390 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3391 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3393 if test "${groff_cv_decl_needed_strcasecmp+set}" = set; then
3394 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 cat >conftest.
$ac_ext <<_ACEOF
3397 #line 3397 "configure"
3398 #include "confdefs.h"
3401 #ifdef HAVE_STRING_H
3404 #ifdef HAVE_STRINGS_H
3405 #include <strings.h>
3407 #ifdef HAVE_STDLIB_H
3410 #ifdef HAVE_SYS_TIME_H
3411 #include <sys/time.h>
3413 #ifdef HAVE_UNISTD_H
3423 char *p = (char *) strcasecmp;
3429 rm -f conftest.
$ac_objext
3430 if { (eval echo "$as_me:3430: \"$ac_compile\"") >&5
3431 (eval $ac_compile) 2>&5
3433 echo "$as_me:3433: \$? = $ac_status" >&5
3434 (exit $ac_status); } &&
3435 { ac_try
='test -s conftest.$ac_objext'
3436 { (eval echo "$as_me:3436: \"$ac_try\"") >&5
3439 echo "$as_me:3439: \$? = $ac_status" >&5
3440 (exit $ac_status); }; }; then
3441 groff_cv_decl_needed_strcasecmp
=no
3443 echo "$as_me: failed program was:" >&5
3444 cat conftest.
$ac_ext >&5
3445 groff_cv_decl_needed_strcasecmp
=yes
3447 rm -f conftest.
$ac_objext conftest.
$ac_ext
3450 echo "$as_me:3450: result: $groff_cv_decl_needed_strcasecmp" >&5
3451 echo "${ECHO_T}$groff_cv_decl_needed_strcasecmp" >&6
3452 if test $groff_cv_decl_needed_strcasecmp = yes; then
3454 cat >>confdefs.h
<<\EOF
3455 #define NEED_DECLARATION_STRCASECMP 1
3460 ac_cpp
='$CPP $CPPFLAGS'
3461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3465 echo "$as_me:3465: checking whether strncasecmp must be declared" >&5
3466 echo $ECHO_N "checking whether strncasecmp must be declared... $ECHO_C" >&6
3468 ac_cpp
='$CXXCPP $CPPFLAGS'
3469 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3473 if test "${groff_cv_decl_needed_strncasecmp+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3476 cat >conftest.
$ac_ext <<_ACEOF
3477 #line 3477 "configure"
3478 #include "confdefs.h"
3481 #ifdef HAVE_STRING_H
3484 #ifdef HAVE_STRINGS_H
3485 #include <strings.h>
3487 #ifdef HAVE_STDLIB_H
3490 #ifdef HAVE_SYS_TIME_H
3491 #include <sys/time.h>
3493 #ifdef HAVE_UNISTD_H
3503 char *p = (char *) strncasecmp;
3509 rm -f conftest.
$ac_objext
3510 if { (eval echo "$as_me:3510: \"$ac_compile\"") >&5
3511 (eval $ac_compile) 2>&5
3513 echo "$as_me:3513: \$? = $ac_status" >&5
3514 (exit $ac_status); } &&
3515 { ac_try
='test -s conftest.$ac_objext'
3516 { (eval echo "$as_me:3516: \"$ac_try\"") >&5
3519 echo "$as_me:3519: \$? = $ac_status" >&5
3520 (exit $ac_status); }; }; then
3521 groff_cv_decl_needed_strncasecmp
=no
3523 echo "$as_me: failed program was:" >&5
3524 cat conftest.
$ac_ext >&5
3525 groff_cv_decl_needed_strncasecmp
=yes
3527 rm -f conftest.
$ac_objext conftest.
$ac_ext
3530 echo "$as_me:3530: result: $groff_cv_decl_needed_strncasecmp" >&5
3531 echo "${ECHO_T}$groff_cv_decl_needed_strncasecmp" >&6
3532 if test $groff_cv_decl_needed_strncasecmp = yes; then
3534 cat >>confdefs.h
<<\EOF
3535 #define NEED_DECLARATION_STRNCASECMP 1
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
3546 ac_cpp
='$CXXCPP $CPPFLAGS'
3547 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3548 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3549 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3551 echo "$as_me:3551: checking for sys_nerr in <errno.h> or <stdio.h>" >&5
3552 echo $ECHO_N "checking for sys_nerr in <errno.h> or <stdio.h>... $ECHO_C" >&6
3553 cat >conftest.
$ac_ext <<_ACEOF
3554 #line 3554 "configure"
3555 #include "confdefs.h"
3561 int k; k = sys_nerr;
3566 rm -f conftest.
$ac_objext
3567 if { (eval echo "$as_me:3567: \"$ac_compile\"") >&5
3568 (eval $ac_compile) 2>&5
3570 echo "$as_me:3570: \$? = $ac_status" >&5
3571 (exit $ac_status); } &&
3572 { ac_try
='test -s conftest.$ac_objext'
3573 { (eval echo "$as_me:3573: \"$ac_try\"") >&5
3576 echo "$as_me:3576: \$? = $ac_status" >&5
3577 (exit $ac_status); }; }; then
3578 echo "$as_me:3578: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6;
3580 cat >>confdefs.h
<<\EOF
3581 #define HAVE_SYS_NERR 1
3585 echo "$as_me: failed program was:" >&5
3586 cat conftest.
$ac_ext >&5
3587 echo "$as_me:3587: result: no" >&5
3588 echo "${ECHO_T}no" >&6
3590 rm -f conftest.
$ac_objext conftest.
$ac_ext
3592 ac_cpp
='$CPP $CPPFLAGS'
3593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3597 echo "$as_me:3597: checking for sys_errlist in <errno.h> or <stdio.h>" >&5
3598 echo $ECHO_N "checking for sys_errlist in <errno.h> or <stdio.h>... $ECHO_C" >&6
3599 cat >conftest.
$ac_ext <<_ACEOF
3600 #line 3600 "configure"
3601 #include "confdefs.h"
3607 int k; k = (int)sys_errlist[0];
3612 rm -f conftest.
$ac_objext
3613 if { (eval echo "$as_me:3613: \"$ac_compile\"") >&5
3614 (eval $ac_compile) 2>&5
3616 echo "$as_me:3616: \$? = $ac_status" >&5
3617 (exit $ac_status); } &&
3618 { ac_try
='test -s conftest.$ac_objext'
3619 { (eval echo "$as_me:3619: \"$ac_try\"") >&5
3622 echo "$as_me:3622: \$? = $ac_status" >&5
3623 (exit $ac_status); }; }; then
3624 echo "$as_me:3624: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6;
3626 cat >>confdefs.h
<<\EOF
3627 #define HAVE_SYS_ERRLIST 1
3631 echo "$as_me: failed program was:" >&5
3632 cat conftest.
$ac_ext >&5
3633 echo "$as_me:3633: result: no" >&5
3634 echo "${ECHO_T}no" >&6
3636 rm -f conftest.
$ac_objext conftest.
$ac_ext
3638 ac_cpp
='$CXXCPP $CPPFLAGS'
3639 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3640 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3641 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3643 echo "$as_me:3643: checking C++ <osfcn.h>" >&5
3644 echo $ECHO_N "checking C++ <osfcn.h>... $ECHO_C" >&6
3645 cat >conftest.
$ac_ext <<_ACEOF
3646 #line 3646 "configure"
3647 #include "confdefs.h"
3652 read(0, 0, 0); open(0, 0);
3657 rm -f conftest.
$ac_objext
3658 if { (eval echo "$as_me:3658: \"$ac_compile\"") >&5
3659 (eval $ac_compile) 2>&5
3661 echo "$as_me:3661: \$? = $ac_status" >&5
3662 (exit $ac_status); } &&
3663 { ac_try
='test -s conftest.$ac_objext'
3664 { (eval echo "$as_me:3664: \"$ac_try\"") >&5
3667 echo "$as_me:3667: \$? = $ac_status" >&5
3668 (exit $ac_status); }; }; then
3669 echo "$as_me:3669: result: yes" >&5
3670 echo "${ECHO_T}yes" >&6;
3671 cat >>confdefs.h
<<\EOF
3672 #define HAVE_CC_OSFCN_H 1
3676 echo "$as_me: failed program was:" >&5
3677 cat conftest.
$ac_ext >&5
3678 echo "$as_me:3678: result: no" >&5
3679 echo "${ECHO_T}no" >&6
3681 rm -f conftest.
$ac_objext conftest.
$ac_ext
3683 ac_cpp
='$CPP $CPPFLAGS'
3684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3689 ac_cpp
='$CXXCPP $CPPFLAGS'
3690 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3691 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3692 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3694 echo "$as_me:3694: checking C++ <limits.h>" >&5
3695 echo $ECHO_N "checking C++ <limits.h>... $ECHO_C" >&6
3696 cat >conftest.
$ac_ext <<_ACEOF
3697 #line 3697 "configure"
3698 #include "confdefs.h"
3703 int x = INT_MIN; int y = INT_MAX; int z = UCHAR_MAX;
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 echo "$as_me:3720: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6;
3722 cat >>confdefs.h
<<\EOF
3723 #define HAVE_CC_LIMITS_H 1
3727 echo "$as_me: failed program was:" >&5
3728 cat conftest.
$ac_ext >&5
3729 echo "$as_me:3729: result: no" >&5
3730 echo "${ECHO_T}no" >&6
3732 rm -f conftest.
$ac_objext conftest.
$ac_ext
3734 ac_cpp
='$CPP $CPPFLAGS'
3735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3740 ac_cpp
='$CXXCPP $CPPFLAGS'
3741 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3742 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3743 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3745 echo "$as_me:3745: checking for inttypes.h" >&5
3746 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
3747 cat >conftest.
$ac_ext <<_ACEOF
3748 #line 3748 "configure"
3749 #include "confdefs.h"
3750 #include <sys/types.h>
3751 #include <inttypes.h>
3755 uintmax_t i = (uintmax_t)-1;
3760 rm -f conftest.
$ac_objext
3761 if { (eval echo "$as_me:3761: \"$ac_compile\"") >&5
3762 (eval $ac_compile) 2>&5
3764 echo "$as_me:3764: \$? = $ac_status" >&5
3765 (exit $ac_status); } &&
3766 { ac_try
='test -s conftest.$ac_objext'
3767 { (eval echo "$as_me:3767: \"$ac_try\"") >&5
3770 echo "$as_me:3770: \$? = $ac_status" >&5
3771 (exit $ac_status); }; }; then
3772 groff_cv_header_inttypes_h
=yes
3774 echo "$as_me: failed program was:" >&5
3775 cat conftest.
$ac_ext >&5
3776 groff_cv_header_inttypes_h
=no
3778 rm -f conftest.
$ac_objext conftest.
$ac_ext
3779 echo "$as_me:3779: result: $groff_cv_header_inttypes_h" >&5
3780 echo "${ECHO_T}$groff_cv_header_inttypes_h" >&6
3782 ac_cpp
='$CPP $CPPFLAGS'
3783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3788 ac_cpp
='$CXXCPP $CPPFLAGS'
3789 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3790 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3791 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3793 echo "$as_me:3793: checking for unsigned long long" >&5
3794 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
3795 cat >conftest.
$ac_ext <<_ACEOF
3796 #line 3796 "configure"
3797 #include "confdefs.h"
3798 unsigned long long ull = 1; int i = 63;
3802 unsigned long long ullmax = (unsigned long long)-1;
3803 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
3808 rm -f conftest.
$ac_objext conftest
$ac_exeext
3809 if { (eval echo "$as_me:3809: \"$ac_link\"") >&5
3810 (eval $ac_link) 2>&5
3812 echo "$as_me:3812: \$? = $ac_status" >&5
3813 (exit $ac_status); } &&
3814 { ac_try
='test -s conftest$ac_exeext'
3815 { (eval echo "$as_me:3815: \"$ac_try\"") >&5
3818 echo "$as_me:3818: \$? = $ac_status" >&5
3819 (exit $ac_status); }; }; then
3820 groff_cv_type_unsigned_long_long
=yes
3822 echo "$as_me: failed program was:" >&5
3823 cat conftest.
$ac_ext >&5
3824 groff_cv_type_unsigned_long_long
=no
3826 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3827 echo "$as_me:3827: result: $groff_cv_type_unsigned_long_long" >&5
3828 echo "${ECHO_T}$groff_cv_type_unsigned_long_long" >&6
3830 ac_cpp
='$CPP $CPPFLAGS'
3831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3835 if test $groff_cv_header_inttypes_h = no
; then
3837 test $groff_cv_type_unsigned_long_long = yes \
3838 && ac_type
='unsigned long long' \
3839 || ac_type
='unsigned long'
3841 cat >>confdefs.h
<<EOF
3842 #define uintmax_t $ac_type
3847 ac_cpp
='$CXXCPP $CPPFLAGS'
3848 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3849 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3850 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3852 echo "$as_me:3852: checking for declaration of time_t" >&5
3853 echo $ECHO_N "checking for declaration of time_t... $ECHO_C" >&6
3854 cat >conftest.
$ac_ext <<_ACEOF
3855 #line 3855 "configure"
3856 #include "confdefs.h"
3861 time_t t = time(0); struct tm *p = localtime(&t);
3866 rm -f conftest.
$ac_objext
3867 if { (eval echo "$as_me:3867: \"$ac_compile\"") >&5
3868 (eval $ac_compile) 2>&5
3870 echo "$as_me:3870: \$? = $ac_status" >&5
3871 (exit $ac_status); } &&
3872 { ac_try
='test -s conftest.$ac_objext'
3873 { (eval echo "$as_me:3873: \"$ac_try\"") >&5
3876 echo "$as_me:3876: \$? = $ac_status" >&5
3877 (exit $ac_status); }; }; then
3878 echo "$as_me:3878: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3881 echo "$as_me: failed program was:" >&5
3882 cat conftest.
$ac_ext >&5
3883 echo "$as_me:3883: result: no" >&5
3884 echo "${ECHO_T}no" >&6;
3885 cat >>confdefs.h
<<\EOF
3886 #define LONG_FOR_TIME_T 1
3890 rm -f conftest.
$ac_objext conftest.
$ac_ext
3892 ac_cpp
='$CPP $CPPFLAGS'
3893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3897 echo "$as_me:3897: checking return type of signal handlers" >&5
3898 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3899 if test "${ac_cv_type_signal+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 cat >conftest.
$ac_ext <<_ACEOF
3903 #line 3903 "configure"
3904 #include "confdefs.h"
3905 #include <sys/types.h>
3911 extern "C" void (*signal (int, void (*)(int)))(int);
3913 void (*signal ()) ();
3924 rm -f conftest.
$ac_objext
3925 if { (eval echo "$as_me:3925: \"$ac_compile\"") >&5
3926 (eval $ac_compile) 2>&5
3928 echo "$as_me:3928: \$? = $ac_status" >&5
3929 (exit $ac_status); } &&
3930 { ac_try
='test -s conftest.$ac_objext'
3931 { (eval echo "$as_me:3931: \"$ac_try\"") >&5
3934 echo "$as_me:3934: \$? = $ac_status" >&5
3935 (exit $ac_status); }; }; then
3936 ac_cv_type_signal
=void
3938 echo "$as_me: failed program was:" >&5
3939 cat conftest.
$ac_ext >&5
3940 ac_cv_type_signal
=int
3942 rm -f conftest.
$ac_objext conftest.
$ac_ext
3944 echo "$as_me:3944: result: $ac_cv_type_signal" >&5
3945 echo "${ECHO_T}$ac_cv_type_signal" >&6
3947 cat >>confdefs.h
<<EOF
3948 #define RETSIGTYPE $ac_cv_type_signal
3951 echo "$as_me:3951: checking struct exception" >&5
3952 echo $ECHO_N "checking struct exception... $ECHO_C" >&6
3953 cat >conftest.
$ac_ext <<_ACEOF
3954 #line 3954 "configure"
3955 #include "confdefs.h"
3965 rm -f conftest.
$ac_objext
3966 if { (eval echo "$as_me:3966: \"$ac_compile\"") >&5
3967 (eval $ac_compile) 2>&5
3969 echo "$as_me:3969: \$? = $ac_status" >&5
3970 (exit $ac_status); } &&
3971 { ac_try
='test -s conftest.$ac_objext'
3972 { (eval echo "$as_me:3972: \"$ac_try\"") >&5
3975 echo "$as_me:3975: \$? = $ac_status" >&5
3976 (exit $ac_status); }; }; then
3977 echo "$as_me:3977: result: yes" >&5
3978 echo "${ECHO_T}yes" >&6;
3979 cat >>confdefs.h
<<\EOF
3980 #define HAVE_STRUCT_EXCEPTION 1
3984 echo "$as_me: failed program was:" >&5
3985 cat conftest.
$ac_ext >&5
3986 echo "$as_me:3986: result: no" >&5
3987 echo "${ECHO_T}no" >&6
3989 rm -f conftest.
$ac_objext conftest.
$ac_ext
3990 echo "$as_me:3990: checking for sin in -lm" >&5
3991 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
3992 if test "${ac_cv_lib_m_sin+set}" = set; then
3993 echo $ECHO_N "(cached) $ECHO_C" >&6
3995 ac_check_lib_save_LIBS
=$LIBS
3997 cat >conftest.
$ac_ext <<_ACEOF
3998 #line 3998 "configure"
3999 #include "confdefs.h"
4001 /* Override any gcc2 internal prototype to avoid an error. */
4005 /* We use char because int might match the return type of a gcc2
4006 builtin and then its argument prototype would still apply. */
4016 rm -f conftest.
$ac_objext conftest
$ac_exeext
4017 if { (eval echo "$as_me:4017: \"$ac_link\"") >&5
4018 (eval $ac_link) 2>&5
4020 echo "$as_me:4020: \$? = $ac_status" >&5
4021 (exit $ac_status); } &&
4022 { ac_try
='test -s conftest$ac_exeext'
4023 { (eval echo "$as_me:4023: \"$ac_try\"") >&5
4026 echo "$as_me:4026: \$? = $ac_status" >&5
4027 (exit $ac_status); }; }; then
4030 echo "$as_me: failed program was:" >&5
4031 cat conftest.
$ac_ext >&5
4034 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4035 LIBS
=$ac_check_lib_save_LIBS
4037 echo "$as_me:4037: result: $ac_cv_lib_m_sin" >&5
4038 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
4039 if test $ac_cv_lib_m_sin = yes; then
4043 echo "$as_me:4043: checking for ANSI C header files" >&5
4044 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4045 if test "${ac_cv_header_stdc+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 cat >conftest.
$ac_ext <<_ACEOF
4049 #line 4049 "configure"
4050 #include "confdefs.h"
4057 if { (eval echo "$as_me:4057: \"$ac_cpp conftest.$ac_ext\"") >&5
4058 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4060 egrep -v '^ *\+' conftest.er1
>conftest.err
4062 cat conftest.err
>&5
4063 echo "$as_me:4063: \$? = $ac_status" >&5
4064 (exit $ac_status); } >/dev
/null
; then
4065 if test -s conftest.err
; then
4066 ac_cpp_err
=$ac_c_preproc_warn_flag
4073 if test -z "$ac_cpp_err"; then
4074 ac_cv_header_stdc
=yes
4076 echo "$as_me: failed program was:" >&5
4077 cat conftest.
$ac_ext >&5
4078 ac_cv_header_stdc
=no
4080 rm -f conftest.err conftest.
$ac_ext
4082 if test $ac_cv_header_stdc = yes; then
4083 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4084 cat >conftest.
$ac_ext <<_ACEOF
4085 #line 4085 "configure"
4086 #include "confdefs.h"
4090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4091 egrep "memchr" >/dev
/null
2>&1; then
4094 ac_cv_header_stdc
=no
4100 if test $ac_cv_header_stdc = yes; then
4101 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4102 cat >conftest.
$ac_ext <<_ACEOF
4103 #line 4103 "configure"
4104 #include "confdefs.h"
4108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4109 egrep "free" >/dev
/null
2>&1; then
4112 ac_cv_header_stdc
=no
4118 if test $ac_cv_header_stdc = yes; then
4119 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4120 if test "$cross_compiling" = yes; then
4123 cat >conftest.
$ac_ext <<_ACEOF
4124 #line 4124 "configure"
4125 #include "confdefs.h"
4127 #if ((' ' & 0x0FF) == 0x020)
4128 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4129 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4131 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4132 || ('j' <= (c) && (c) <= 'r') \
4133 || ('s' <= (c) && (c) <= 'z'))
4134 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4137 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4142 for (i = 0; i < 256; i++)
4143 if (XOR (islower (i), ISLOWER (i))
4144 || toupper (i) != TOUPPER (i))
4149 rm -f conftest
$ac_exeext
4150 if { (eval echo "$as_me:4150: \"$ac_link\"") >&5
4151 (eval $ac_link) 2>&5
4153 echo "$as_me:4153: \$? = $ac_status" >&5
4154 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4155 { (eval echo "$as_me:4155: \"$ac_try\"") >&5
4158 echo "$as_me:4158: \$? = $ac_status" >&5
4159 (exit $ac_status); }; }; then
4162 echo "$as_me: program exited with status $ac_status" >&5
4163 echo "$as_me: failed program was:" >&5
4164 cat conftest.
$ac_ext >&5
4165 ac_cv_header_stdc
=no
4167 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4171 echo "$as_me:4171: result: $ac_cv_header_stdc" >&5
4172 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4173 if test $ac_cv_header_stdc = yes; then
4175 cat >>confdefs.h
<<\EOF
4176 #define STDC_HEADERS 1
4181 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4183 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4184 inttypes.h stdint.h unistd.h
4186 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4187 echo "$as_me:4187: checking for $ac_header" >&5
4188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4190 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 cat >conftest.
$ac_ext <<_ACEOF
4193 #line 4193 "configure"
4194 #include "confdefs.h"
4195 $ac_includes_default
4196 #include <$ac_header>
4198 rm -f conftest.
$ac_objext
4199 if { (eval echo "$as_me:4199: \"$ac_compile\"") >&5
4200 (eval $ac_compile) 2>&5
4202 echo "$as_me:4202: \$? = $ac_status" >&5
4203 (exit $ac_status); } &&
4204 { ac_try
='test -s conftest.$ac_objext'
4205 { (eval echo "$as_me:4205: \"$ac_try\"") >&5
4208 echo "$as_me:4208: \$? = $ac_status" >&5
4209 (exit $ac_status); }; }; then
4210 eval "$as_ac_Header=yes"
4212 echo "$as_me: failed program was:" >&5
4213 cat conftest.
$ac_ext >&5
4214 eval "$as_ac_Header=no"
4216 rm -f conftest.
$ac_objext conftest.
$ac_ext
4218 echo "$as_me:4218: result: `eval echo '${'$as_ac_Header'}'`" >&5
4219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4221 cat >>confdefs.h
<<EOF
4222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4228 for ac_header
in stdlib.h unistd.h
4230 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4231 echo "$as_me:4231: checking for $ac_header" >&5
4232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4234 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 cat >conftest.
$ac_ext <<_ACEOF
4237 #line 4237 "configure"
4238 #include "confdefs.h"
4239 #include <$ac_header>
4241 if { (eval echo "$as_me:4241: \"$ac_cpp conftest.$ac_ext\"") >&5
4242 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4244 egrep -v '^ *\+' conftest.er1
>conftest.err
4246 cat conftest.err
>&5
4247 echo "$as_me:4247: \$? = $ac_status" >&5
4248 (exit $ac_status); } >/dev
/null
; then
4249 if test -s conftest.err
; then
4250 ac_cpp_err
=$ac_c_preproc_warn_flag
4257 if test -z "$ac_cpp_err"; then
4258 eval "$as_ac_Header=yes"
4260 echo "$as_me: failed program was:" >&5
4261 cat conftest.
$ac_ext >&5
4262 eval "$as_ac_Header=no"
4264 rm -f conftest.err conftest.
$ac_ext
4266 echo "$as_me:4266: result: `eval echo '${'$as_ac_Header'}'`" >&5
4267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4269 cat >>confdefs.h
<<EOF
4270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4276 for ac_func
in getpagesize
4278 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4279 echo "$as_me:4279: checking for $ac_func" >&5
4280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4281 if eval "test \"\${$as_ac_var+set}\" = set"; then
4282 echo $ECHO_N "(cached) $ECHO_C" >&6
4284 cat >conftest.
$ac_ext <<_ACEOF
4285 #line 4285 "configure"
4286 #include "confdefs.h"
4287 /* System header to define __stub macros and hopefully few prototypes,
4288 which can conflict with char $ac_func (); below. */
4290 /* Override any gcc2 internal prototype to avoid an error. */
4294 /* We use char because int might match the return type of a gcc2
4295 builtin and then its argument prototype would still apply. */
4302 /* The GNU C library defines this for functions which it implements
4303 to always fail with ENOSYS. Some functions are actually named
4304 something starting with __ and the normal name is an alias. */
4305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4315 rm -f conftest.
$ac_objext conftest
$ac_exeext
4316 if { (eval echo "$as_me:4316: \"$ac_link\"") >&5
4317 (eval $ac_link) 2>&5
4319 echo "$as_me:4319: \$? = $ac_status" >&5
4320 (exit $ac_status); } &&
4321 { ac_try
='test -s conftest$ac_exeext'
4322 { (eval echo "$as_me:4322: \"$ac_try\"") >&5
4325 echo "$as_me:4325: \$? = $ac_status" >&5
4326 (exit $ac_status); }; }; then
4327 eval "$as_ac_var=yes"
4329 echo "$as_me: failed program was:" >&5
4330 cat conftest.
$ac_ext >&5
4331 eval "$as_ac_var=no"
4333 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4335 echo "$as_me:4335: result: `eval echo '${'$as_ac_var'}'`" >&5
4336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4337 if test `eval echo '${'$as_ac_var'}'` = yes; then
4338 cat >>confdefs.h
<<EOF
4339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4345 echo "$as_me:4345: checking for working mmap" >&5
4346 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4347 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4348 echo $ECHO_N "(cached) $ECHO_C" >&6
4350 if test "$cross_compiling" = yes; then
4351 ac_cv_func_mmap_fixed_mapped
=no
4353 cat >conftest.
$ac_ext <<_ACEOF
4354 #line 4354 "configure"
4355 #include "confdefs.h"
4356 $ac_includes_default
4357 /* Thanks to Mike Haertel and Jim Avera for this test.
4358 Here is a matrix of mmap possibilities:
4359 mmap private not fixed
4360 mmap private fixed at somewhere currently unmapped
4361 mmap private fixed at somewhere already mapped
4362 mmap shared not fixed
4363 mmap shared fixed at somewhere currently unmapped
4364 mmap shared fixed at somewhere already mapped
4365 For private mappings, we should verify that changes cannot be read()
4366 back from the file, nor mmap's back from the file at a different
4367 address. (There have been systems where private was not correctly
4368 implemented like the infamous i386 svr4.0, and systems where the
4369 VM page cache was not coherent with the file system buffer cache
4370 like early versions of FreeBSD and possibly contemporary NetBSD.)
4371 For shared mappings, we should conversely verify that changes get
4372 propogated back to all the places they're supposed to be.
4374 Grep wants private fixed already mapped.
4375 The main things grep needs to know about mmap are:
4376 * does it exist and is it safe to write into the mmap'd area
4377 * how to use it (BSD variants) */
4380 #include <sys/mman.h>
4382 #if !STDC_HEADERS && !HAVE_STDLIB_H
4386 /* This mess was copied from the GNU getpagesize.h. */
4387 #if !HAVE_GETPAGESIZE
4388 /* Assume that all systems that can run configure have sys/param.h. */
4389 # if !HAVE_SYS_PARAM_H
4390 # define HAVE_SYS_PARAM_H 1
4393 # ifdef _SC_PAGESIZE
4394 # define getpagesize() sysconf(_SC_PAGESIZE)
4395 # else /* no _SC_PAGESIZE */
4396 # if HAVE_SYS_PARAM_H
4397 # include <sys/param.h>
4398 # ifdef EXEC_PAGESIZE
4399 # define getpagesize() EXEC_PAGESIZE
4400 # else /* no EXEC_PAGESIZE */
4402 # define getpagesize() NBPG * CLSIZE
4405 # endif /* no CLSIZE */
4406 # else /* no NBPG */
4408 # define getpagesize() NBPC
4409 # else /* no NBPC */
4411 # define getpagesize() PAGESIZE
4412 # endif /* PAGESIZE */
4413 # endif /* no NBPC */
4414 # endif /* no NBPG */
4415 # endif /* no EXEC_PAGESIZE */
4416 # else /* no HAVE_SYS_PARAM_H */
4417 # define getpagesize() 8192 /* punt totally */
4418 # endif /* no HAVE_SYS_PARAM_H */
4419 # endif /* no _SC_PAGESIZE */
4421 #endif /* no HAVE_GETPAGESIZE */
4426 char *data, *data2, *data3;
4430 pagesize = getpagesize ();
4432 /* First, make a file with some known garbage in it. */
4433 data = (char *) malloc (pagesize);
4436 for (i = 0; i < pagesize; ++i)
4437 *(data + i) = rand ();
4439 fd = creat ("conftest.mmap", 0600);
4442 if (write (fd, data, pagesize) != pagesize)
4446 /* Next, try to mmap the file at a fixed address which already has
4447 something else allocated at it. If we can, also make sure that
4448 we see the same garbage. */
4449 fd = open ("conftest.mmap", O_RDWR);
4452 data2 = (char *) malloc (2 * pagesize);
4455 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
4456 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4457 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4459 for (i = 0; i < pagesize; ++i)
4460 if (*(data + i) != *(data2 + i))
4463 /* Finally, make sure that changes to the mapped area do not
4464 percolate back to the file as seen by read(). (This is a bug on
4465 some variants of i386 svr4.0.) */
4466 for (i = 0; i < pagesize; ++i)
4467 *(data2 + i) = *(data2 + i) + 1;
4468 data3 = (char *) malloc (pagesize);
4471 if (read (fd, data3, pagesize) != pagesize)
4473 for (i = 0; i < pagesize; ++i)
4474 if (*(data + i) != *(data3 + i))
4480 rm -f conftest
$ac_exeext
4481 if { (eval echo "$as_me:4481: \"$ac_link\"") >&5
4482 (eval $ac_link) 2>&5
4484 echo "$as_me:4484: \$? = $ac_status" >&5
4485 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4486 { (eval echo "$as_me:4486: \"$ac_try\"") >&5
4489 echo "$as_me:4489: \$? = $ac_status" >&5
4490 (exit $ac_status); }; }; then
4491 ac_cv_func_mmap_fixed_mapped
=yes
4493 echo "$as_me: program exited with status $ac_status" >&5
4494 echo "$as_me: failed program was:" >&5
4495 cat conftest.
$ac_ext >&5
4496 ac_cv_func_mmap_fixed_mapped
=no
4498 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4501 echo "$as_me:4501: result: $ac_cv_func_mmap_fixed_mapped" >&5
4502 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4503 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4505 cat >>confdefs.h
<<\EOF
4513 LIBS
="$LIBS -lc $LIBM"
4515 for ac_func
in fmod getcwd putenv snprintf strerror strtol
4517 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4518 echo "$as_me:4518: checking for $ac_func" >&5
4519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4520 if eval "test \"\${$as_ac_var+set}\" = set"; then
4521 echo $ECHO_N "(cached) $ECHO_C" >&6
4523 cat >conftest.
$ac_ext <<_ACEOF
4524 #line 4524 "configure"
4525 #include "confdefs.h"
4526 /* System header to define __stub macros and hopefully few prototypes,
4527 which can conflict with char $ac_func (); below. */
4529 /* Override any gcc2 internal prototype to avoid an error. */
4533 /* We use char because int might match the return type of a gcc2
4534 builtin and then its argument prototype would still apply. */
4541 /* The GNU C library defines this for functions which it implements
4542 to always fail with ENOSYS. Some functions are actually named
4543 something starting with __ and the normal name is an alias. */
4544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4554 rm -f conftest.
$ac_objext conftest
$ac_exeext
4555 if { (eval echo "$as_me:4555: \"$ac_link\"") >&5
4556 (eval $ac_link) 2>&5
4558 echo "$as_me:4558: \$? = $ac_status" >&5
4559 (exit $ac_status); } &&
4560 { ac_try
='test -s conftest$ac_exeext'
4561 { (eval echo "$as_me:4561: \"$ac_try\"") >&5
4564 echo "$as_me:4564: \$? = $ac_status" >&5
4565 (exit $ac_status); }; }; then
4566 eval "$as_ac_var=yes"
4568 echo "$as_me: failed program was:" >&5
4569 cat conftest.
$ac_ext >&5
4570 eval "$as_ac_var=no"
4572 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4574 echo "$as_me:4574: result: `eval echo '${'$as_ac_var'}'`" >&5
4575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4576 if test `eval echo '${'$as_ac_var'}'` = yes; then
4577 cat >>confdefs.h
<<EOF
4578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4582 LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
4588 for ac_func
in gettimeofday rename strcasecmp strncasecmp strsep
4590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4591 echo "$as_me:4591: checking for $ac_func" >&5
4592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4593 if eval "test \"\${$as_ac_var+set}\" = set"; then
4594 echo $ECHO_N "(cached) $ECHO_C" >&6
4596 cat >conftest.
$ac_ext <<_ACEOF
4597 #line 4597 "configure"
4598 #include "confdefs.h"
4599 /* System header to define __stub macros and hopefully few prototypes,
4600 which can conflict with char $ac_func (); below. */
4602 /* Override any gcc2 internal prototype to avoid an error. */
4606 /* We use char because int might match the return type of a gcc2
4607 builtin and then its argument prototype would still apply. */
4614 /* The GNU C library defines this for functions which it implements
4615 to always fail with ENOSYS. Some functions are actually named
4616 something starting with __ and the normal name is an alias. */
4617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4627 rm -f conftest.
$ac_objext conftest
$ac_exeext
4628 if { (eval echo "$as_me:4628: \"$ac_link\"") >&5
4629 (eval $ac_link) 2>&5
4631 echo "$as_me:4631: \$? = $ac_status" >&5
4632 (exit $ac_status); } &&
4633 { ac_try
='test -s conftest$ac_exeext'
4634 { (eval echo "$as_me:4634: \"$ac_try\"") >&5
4637 echo "$as_me:4637: \$? = $ac_status" >&5
4638 (exit $ac_status); }; }; then
4639 eval "$as_ac_var=yes"
4641 echo "$as_me: failed program was:" >&5
4642 cat conftest.
$ac_ext >&5
4643 eval "$as_ac_var=no"
4645 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4647 echo "$as_me:4647: result: `eval echo '${'$as_ac_var'}'`" >&5
4648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4649 if test `eval echo '${'$as_ac_var'}'` = yes; then
4650 cat >>confdefs.h
<<EOF
4651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4657 echo "$as_me:4657: checking for mkstemp" >&5
4658 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
4660 ac_cpp
='$CXXCPP $CPPFLAGS'
4661 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4662 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4663 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4665 cat >conftest.
$ac_ext <<_ACEOF
4666 #line 4666 "configure"
4667 #include "confdefs.h"
4679 rm -f conftest.
$ac_objext conftest
$ac_exeext
4680 if { (eval echo "$as_me:4680: \"$ac_link\"") >&5
4681 (eval $ac_link) 2>&5
4683 echo "$as_me:4683: \$? = $ac_status" >&5
4684 (exit $ac_status); } &&
4685 { ac_try
='test -s conftest$ac_exeext'
4686 { (eval echo "$as_me:4686: \"$ac_try\"") >&5
4689 echo "$as_me:4689: \$? = $ac_status" >&5
4690 (exit $ac_status); }; }; then
4691 echo "$as_me:4691: result: yes" >&5
4692 echo "${ECHO_T}yes" >&6;
4693 cat >>confdefs.h
<<\EOF
4694 #define HAVE_MKSTEMP 1
4698 echo "$as_me: failed program was:" >&5
4699 cat conftest.
$ac_ext >&5
4700 echo "$as_me:4700: result: no" >&5
4701 echo "${ECHO_T}no" >&6;LIBOBJS
="$LIBOBJS mkstemp.$ac_objext"
4703 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4705 ac_cpp
='$CPP $CPPFLAGS'
4706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4710 echo "$as_me:4710: checking for sys_siglist declaration in signal.h or unistd.h" >&5
4711 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
4712 if test "${ac_cv_decl_sys_siglist+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4715 cat >conftest.
$ac_ext <<_ACEOF
4716 #line 4716 "configure"
4717 #include "confdefs.h"
4718 #include <sys/types.h>
4720 /* NetBSD declares sys_siglist in unistd.h. */
4722 # include <unistd.h>
4728 char *msg = *(sys_siglist + 1);
4733 rm -f conftest.
$ac_objext
4734 if { (eval echo "$as_me:4734: \"$ac_compile\"") >&5
4735 (eval $ac_compile) 2>&5
4737 echo "$as_me:4737: \$? = $ac_status" >&5
4738 (exit $ac_status); } &&
4739 { ac_try
='test -s conftest.$ac_objext'
4740 { (eval echo "$as_me:4740: \"$ac_try\"") >&5
4743 echo "$as_me:4743: \$? = $ac_status" >&5
4744 (exit $ac_status); }; }; then
4745 ac_cv_decl_sys_siglist
=yes
4747 echo "$as_me: failed program was:" >&5
4748 cat conftest.
$ac_ext >&5
4749 ac_cv_decl_sys_siglist
=no
4751 rm -f conftest.
$ac_objext conftest.
$ac_ext
4753 echo "$as_me:4753: result: $ac_cv_decl_sys_siglist" >&5
4754 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
4755 if test $ac_cv_decl_sys_siglist = yes; then
4757 cat >>confdefs.h
<<\EOF
4758 #define SYS_SIGLIST_DECLARED 1
4764 ac_cpp
='$CXXCPP $CPPFLAGS'
4765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4769 echo "$as_me:4769: checking whether ANSI array delete syntax supported" >&5
4770 echo $ECHO_N "checking whether ANSI array delete syntax supported... $ECHO_C" >&6
4771 cat >conftest.
$ac_ext <<_ACEOF
4772 #line 4772 "configure"
4773 #include "confdefs.h"
4778 char *p = new char[5]; delete [] p;
4783 rm -f conftest.
$ac_objext
4784 if { (eval echo "$as_me:4784: \"$ac_compile\"") >&5
4785 (eval $ac_compile) 2>&5
4787 echo "$as_me:4787: \$? = $ac_status" >&5
4788 (exit $ac_status); } &&
4789 { ac_try
='test -s conftest.$ac_objext'
4790 { (eval echo "$as_me:4790: \"$ac_try\"") >&5
4793 echo "$as_me:4793: \$? = $ac_status" >&5
4794 (exit $ac_status); }; }; then
4795 echo "$as_me:4795: result: yes" >&5
4796 echo "${ECHO_T}yes" >&6
4798 echo "$as_me: failed program was:" >&5
4799 cat conftest.
$ac_ext >&5
4800 echo "$as_me:4800: result: no" >&5
4801 echo "${ECHO_T}no" >&6;
4802 cat >>confdefs.h
<<\EOF
4803 #define ARRAY_DELETE_NEEDS_SIZE 1
4807 rm -f conftest.
$ac_objext conftest.
$ac_ext
4809 ac_cpp
='$CPP $CPPFLAGS'
4810 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4811 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4812 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4815 ac_cpp
='$CXXCPP $CPPFLAGS'
4816 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4817 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4820 echo "$as_me:4820: checking traditional preprocessor" >&5
4821 echo $ECHO_N "checking traditional preprocessor... $ECHO_C" >&6
4822 cat >conftest.
$ac_ext <<_ACEOF
4823 #line 4823 "configure"
4824 #include "confdefs.h"
4825 #define name2(a,b) a/**/b
4834 rm -f conftest.
$ac_objext
4835 if { (eval echo "$as_me:4835: \"$ac_compile\"") >&5
4836 (eval $ac_compile) 2>&5
4838 echo "$as_me:4838: \$? = $ac_status" >&5
4839 (exit $ac_status); } &&
4840 { ac_try
='test -s conftest.$ac_objext'
4841 { (eval echo "$as_me:4841: \"$ac_try\"") >&5
4844 echo "$as_me:4844: \$? = $ac_status" >&5
4845 (exit $ac_status); }; }; then
4846 echo "$as_me:4846: result: yes" >&5
4847 echo "${ECHO_T}yes" >&6;
4848 cat >>confdefs.h
<<\EOF
4849 #define TRADITIONAL_CPP 1
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 conftest.
$ac_objext conftest.
$ac_ext
4860 ac_cpp
='$CPP $CPPFLAGS'
4861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4865 echo "$as_me:4865: checking w_coredump" >&5
4866 echo $ECHO_N "checking w_coredump... $ECHO_C" >&6
4867 if test "$cross_compiling" = yes; then
4868 echo "$as_me:4868: result: no" >&5
4869 echo "${ECHO_T}no" >&6
4871 cat >conftest.
$ac_ext <<_ACEOF
4872 #line 4872 "configure"
4873 #include "confdefs.h"
4874 #include <sys/types.h>
4875 #include <sys/wait.h>
4882 ((union wait *)&i)->w_coredump = 1;
4887 rm -f conftest
$ac_exeext
4888 if { (eval echo "$as_me:4888: \"$ac_link\"") >&5
4889 (eval $ac_link) 2>&5
4891 echo "$as_me:4891: \$? = $ac_status" >&5
4892 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4893 { (eval echo "$as_me:4893: \"$ac_try\"") >&5
4896 echo "$as_me:4896: \$? = $ac_status" >&5
4897 (exit $ac_status); }; }; then
4898 echo "$as_me:4898: result: yes" >&5
4899 echo "${ECHO_T}yes" >&6;
4900 cat >>confdefs.h
<<\EOF
4901 #define WCOREFLAG 0200
4905 echo "$as_me: program exited with status $ac_status" >&5
4906 echo "$as_me: failed program was:" >&5
4907 cat conftest.
$ac_ext >&5
4908 echo "$as_me:4908: result: no" >&5
4909 echo "${ECHO_T}no" >&6
4911 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4913 echo "$as_me:4913: checking default value for grops -b option" >&5
4914 echo $ECHO_N "checking default value for grops -b option... $ECHO_C" >&6
4915 test -n "${BROKEN_SPOOLER_FLAGS}" || BROKEN_SPOOLER_FLAGS
=7
4916 echo "$as_me:4916: result: $BROKEN_SPOOLER_FLAGS" >&5
4917 echo "${ECHO_T}$BROKEN_SPOOLER_FLAGS" >&6
4919 echo "$as_me:4919: checking default paper size" >&5
4920 echo $ECHO_N "checking default paper size... $ECHO_C" >&6
4921 groff_prefix
=$prefix
4922 test "x$prefix" = xNONE
&& groff_prefix
=$ac_default_prefix
4923 if test -z "$PAGE"; then
4925 if test -r $groff_prefix/share
/groff
/font
/devps
/DESC
; then
4926 descfile
=$groff_prefix/share
/groff
/font
/devps
/DESC
4927 elif test -r $groff_prefix/lib
/groff
/font
/devps
/DESC
; then
4928 descfile
=$groff_prefix/lib
/groff
/font
/devps
/DESC
4930 for f
in $groff_prefix/share
/groff
/*/font
/devps
/DESC
; do
4937 if test -n "$descfile"; then
4938 if grep '^paperlength[ ]\+841890' $descfile
4939 >/dev
/null
2>&1; then
4941 elif grep '^papersize[ ]\+[aA]4' $descfile \
4942 >/dev
/null
2>&1; then
4947 if test -z "$PAGE"; then
4948 dom
=`awk '($1 == "dom" || $1 == "search") { print $2; exit}' \
4949 /etc/resolv.conf 2>/dev/null`
4950 if test -z "$dom"; then
4951 dom
=`(domainname) 2>/dev/null | tr -d '+'`
4953 ||
test "$dom" = '(none)'; then
4954 dom
=`(hostname) 2>/dev/null | grep '\.'`
4957 # If the top-level domain is two letters and it's not `us' or `ca'
4958 # then they probably use A4 paper.
4960 *.
[Uu
][Ss
]|
*.
[Cc
][Aa
]) ;;
4961 *.
[A-Za-z
][A-Za-z
]) PAGE
=A4
;;
4964 test -n "$PAGE" || PAGE
=letter
4965 if test "x$PAGE" = "xA4"; then
4967 cat >>confdefs.h
<<\EOF
4972 echo "$as_me:4972: result: $PAGE" >&5
4973 echo "${ECHO_T}$PAGE" >&6
4975 echo "$as_me:4975: checking for existing troff installation" >&5
4976 echo $ECHO_N "checking for existing troff installation... $ECHO_C" >&6
4977 if test "x`(echo .tm '|n(.g' | tr '|' '\\\\' | troff -z -i 2>&1) 2>/dev/null`" = x0
; then
4978 echo "$as_me:4978: result: yes" >&5
4979 echo "${ECHO_T}yes" >&6
4982 echo "$as_me:4982: result: no" >&5
4983 echo "${ECHO_T}no" >&6
4987 echo "$as_me:4987: checking for prefix of system macro packages" >&5
4988 echo $ECHO_N "checking for prefix of system macro packages... $ECHO_C" >&6
4990 sys_tmac_file_prefix
=
4991 for d
in /usr
/share
/lib
/tmac
/usr
/lib
/tmac
; do
4992 for t
in "" tmac.
; do
4995 if test -z "$sys_tmac_prefix" \
4997 && grep '^\.if' $f >/dev
/null
2>&1; then
4998 sys_tmac_prefix
=$d/$t
4999 sys_tmac_file_prefix
=$t
5004 echo "$as_me:5004: result: $sys_tmac_prefix" >&5
5005 echo "${ECHO_T}$sys_tmac_prefix" >&6
5008 echo "$as_me:5008: checking which system macro packages should be made available" >&5
5009 echo $ECHO_N "checking which system macro packages should be made available... $ECHO_C" >&6
5010 if test "x$sys_tmac_file_prefix" = "xtmac."; then
5011 for f
in $sys_tmac_prefix*; do
5012 suff
=`echo $f | sed -e "s;$sys_tmac_prefix;;"`
5016 grep "Copyright.*Free Software Foundation" $f >/dev
/null \
5017 || tmac_wrap
="$tmac_wrap $suff" ;;
5020 elif test -n "$sys_tmac_prefix"; then
5021 files
=`echo $sys_tmac_prefix*`
5022 grep "\\.so" $files >conftest.sol
5025 ${sys_tmac_prefix}e
) ;;
5030 if grep "\\.so.*/$b\$" conftest.sol
>/dev
/null \
5031 ||
grep -l "Copyright.*Free Software Foundation" $f >/dev
/null
; then
5034 suff
=`echo $f | sed -e "s;$sys_tmac_prefix;;"`
5037 *) tmac_wrap
="$tmac_wrap $suff" ;;
5044 echo "$as_me:5044: result: $tmac_wrap" >&5
5045 echo "${ECHO_T}$tmac_wrap" >&6
5048 make_install_html
=install_html
5049 # Extract the first word of "pnmcut", so it can be a program name with args.
5050 set dummy pnmcut
; ac_word
=$2
5051 echo "$as_me:5051: checking for $ac_word" >&5
5052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5053 if test "${ac_cv_prog_pnmcut+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 if test -n "$pnmcut"; then
5057 ac_cv_prog_pnmcut
="$pnmcut" # Let the user override the test.
5059 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
5061 for ac_dir
in $ac_dummy; do
5063 test -z "$ac_dir" && ac_dir
=.
5064 $as_executable_p "$ac_dir/$ac_word" ||
continue
5065 ac_cv_prog_pnmcut
="found"
5066 echo "$as_me:5066: found $ac_dir/$ac_word" >&5
5070 test -z "$ac_cv_prog_pnmcut" && ac_cv_prog_pnmcut
="missing"
5073 pnmcut
=$ac_cv_prog_pnmcut
5074 if test -n "$pnmcut"; then
5075 echo "$as_me:5075: result: $pnmcut" >&5
5076 echo "${ECHO_T}$pnmcut" >&6
5078 echo "$as_me:5078: result: no" >&5
5079 echo "${ECHO_T}no" >&6
5082 # Extract the first word of "pnmcrop", so it can be a program name with args.
5083 set dummy pnmcrop
; ac_word
=$2
5084 echo "$as_me:5084: checking for $ac_word" >&5
5085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5086 if test "${ac_cv_prog_pnmcrop+set}" = set; then
5087 echo $ECHO_N "(cached) $ECHO_C" >&6
5089 if test -n "$pnmcrop"; then
5090 ac_cv_prog_pnmcrop
="$pnmcrop" # Let the user override the test.
5092 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
5094 for ac_dir
in $ac_dummy; do
5096 test -z "$ac_dir" && ac_dir
=.
5097 $as_executable_p "$ac_dir/$ac_word" ||
continue
5098 ac_cv_prog_pnmcrop
="found"
5099 echo "$as_me:5099: found $ac_dir/$ac_word" >&5
5103 test -z "$ac_cv_prog_pnmcrop" && ac_cv_prog_pnmcrop
="missing"
5106 pnmcrop
=$ac_cv_prog_pnmcrop
5107 if test -n "$pnmcrop"; then
5108 echo "$as_me:5108: result: $pnmcrop" >&5
5109 echo "${ECHO_T}$pnmcrop" >&6
5111 echo "$as_me:5111: result: no" >&5
5112 echo "${ECHO_T}no" >&6
5115 # Extract the first word of "pnmtopng", so it can be a program name with args.
5116 set dummy pnmtopng
; ac_word
=$2
5117 echo "$as_me:5117: checking for $ac_word" >&5
5118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5119 if test "${ac_cv_prog_pnmtopng+set}" = set; then
5120 echo $ECHO_N "(cached) $ECHO_C" >&6
5122 if test -n "$pnmtopng"; then
5123 ac_cv_prog_pnmtopng
="$pnmtopng" # Let the user override the test.
5125 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
5127 for ac_dir
in $ac_dummy; do
5129 test -z "$ac_dir" && ac_dir
=.
5130 $as_executable_p "$ac_dir/$ac_word" ||
continue
5131 ac_cv_prog_pnmtopng
="found"
5132 echo "$as_me:5132: found $ac_dir/$ac_word" >&5
5136 test -z "$ac_cv_prog_pnmtopng" && ac_cv_prog_pnmtopng
="missing"
5139 pnmtopng
=$ac_cv_prog_pnmtopng
5140 if test -n "$pnmtopng"; then
5141 echo "$as_me:5141: result: $pnmtopng" >&5
5142 echo "${ECHO_T}$pnmtopng" >&6
5144 echo "$as_me:5144: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5148 # Extract the first word of "gs gsos2", so it can be a program name with args.
5149 set dummy gs gsos2
; ac_word
=$2
5150 echo "$as_me:5150: checking for $ac_word" >&5
5151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5152 if test "${ac_cv_prog_gs+set}" = set; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 if test -n "$gs"; then
5156 ac_cv_prog_gs
="$gs" # Let the user override the test.
5158 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
5160 for ac_dir
in $ac_dummy; do
5162 test -z "$ac_dir" && ac_dir
=.
5163 $as_executable_p "$ac_dir/$ac_word" ||
continue
5164 ac_cv_prog_gs
="found"
5165 echo "$as_me:5165: found $ac_dir/$ac_word" >&5
5169 test -z "$ac_cv_prog_gs" && ac_cv_prog_gs
="missing"
5173 if test -n "$gs"; then
5174 echo "$as_me:5174: result: $gs" >&5
5175 echo "${ECHO_T}$gs" >&6
5177 echo "$as_me:5177: result: no" >&5
5178 echo "${ECHO_T}no" >&6
5181 # Extract the first word of "psselect", so it can be a program name with args.
5182 set dummy psselect
; ac_word
=$2
5183 echo "$as_me:5183: checking for $ac_word" >&5
5184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5185 if test "${ac_cv_prog_psselect+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 if test -n "$psselect"; then
5189 ac_cv_prog_psselect
="$psselect" # Let the user override the test.
5191 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
5193 for ac_dir
in $ac_dummy; do
5195 test -z "$ac_dir" && ac_dir
=.
5196 $as_executable_p "$ac_dir/$ac_word" ||
continue
5197 ac_cv_prog_psselect
="found"
5198 echo "$as_me:5198: found $ac_dir/$ac_word" >&5
5202 test -z "$ac_cv_prog_psselect" && ac_cv_prog_psselect
="missing"
5205 psselect
=$ac_cv_prog_psselect
5206 if test -n "$psselect"; then
5207 echo "$as_me:5207: result: $psselect" >&5
5208 echo "${ECHO_T}$psselect" >&6
5210 echo "$as_me:5210: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5214 case "x$pnmcut$pnmcrop$pnmtopng$gs$psselect" in
5218 { echo "$as_me:5218: WARNING:
5220 Since one or more of the above five programs can't be found in the path,
5221 the HTML backend of groff (grohtml) won't work properly. Consequently,
5222 no documentation in HTML format is built and installed.
5224 echo "$as_me: WARNING:
5226 Since one or more of the above five programs can't be found in the path,
5227 the HTML backend of groff (grohtml) won't work properly. Consequently,
5228 no documentation in HTML format is built and installed.
5232 ac_config_files
="$ac_config_files stamp-h"
5234 ac_config_files
="$ac_config_files Makefile doc/Makefile src/xditview/Imakefile"
5236 cat >confcache
<<\_ACEOF
5237 # This file is a shell script that caches the results of configure
5238 # tests run on this system so they can be shared between configure
5239 # scripts and configure runs, see configure's option --config-cache.
5240 # It is not useful on other systems. If it contains results you don't
5241 # want to keep, you may remove or edit it.
5243 # config.status only pays attention to the cache file if you give it
5244 # the --recheck option to rerun configure.
5246 # `ac_cv_env_foo' variables (set or unset) will be overriden when
5247 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5252 # The following way of writing the cache mishandles newlines in values,
5253 # but we know of no workaround that is simple, portable, and efficient.
5254 # So, don't put newlines in cache variables' values.
5255 # Ultrix sh set writes to stderr and can't be redirected directly,
5256 # and sets the high bit in the cache file unless we assign to the vars.
5259 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5261 # `set' does not quote correctly, so add quotes (double-quote
5262 # substitution turns \\\\ into \\, and sed turns \\ into \).
5265 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5268 # `set' quotes correctly as required by POSIX, so do not add quotes.
5270 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5277 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5279 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5281 if cmp -s $cache_file confcache
; then :; else
5282 if test -w $cache_file; then
5283 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5284 cat confcache
>$cache_file
5286 echo "not updating unwritable cache $cache_file"
5291 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5292 # Let make expand exec_prefix.
5293 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5295 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5296 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5297 # trailing colons and then remove the whole line if VPATH becomes empty
5298 # (actually we leave an empty line to preserve line numbers).
5299 if test "x$srcdir" = x.
; then
5300 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5301 s/:*\$(srcdir):*/:/;
5302 s/:*\${srcdir}:*/:/;
5304 s/^\([^=]*=[ ]*\):*/\1/;
5310 DEFS
=-DHAVE_CONFIG_H
5312 : ${CONFIG_STATUS=./config.status}
5313 ac_clean_files_save
=$ac_clean_files
5314 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5315 { echo "$as_me:5315: creating $CONFIG_STATUS" >&5
5316 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5317 cat >$CONFIG_STATUS <<_ACEOF
5319 # Generated automatically by configure.
5320 # Run this file to recreate the current configuration.
5321 # Compiler output produced by configure, useful for debugging
5322 # configure, is in config.log if it exists.
5325 SHELL=\${CONFIG_SHELL-$SHELL}
5326 ac_cs_invocation="\$0 \$@"
5330 cat >>$CONFIG_STATUS <<\_ACEOF
5331 # Be Bourne compatible
5332 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5335 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5339 # Name of the executable.
5340 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
5342 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5348 rm -f conf$$ conf$$.exe conf$$.
file
5350 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5351 # We could just check for DJGPP; but this test a) works b) is more generic
5352 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5353 if test -f conf$$.exe
; then
5354 # Don't use ln at all; we don't have any links
5359 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5364 rm -f conf$$ conf$$.exe conf$$.
file
5366 as_executable_p
="test -f"
5368 # Support unset when possible.
5369 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
5376 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
5377 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
5378 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
5379 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
5380 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
5381 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
5382 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
5383 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
5386 # We need space, tab and new line, in precisely that order.
5392 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
5398 # Files that config.status was made for.
5399 if test -n "$ac_config_files"; then
5400 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5403 if test -n "$ac_config_headers"; then
5404 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5407 if test -n "$ac_config_links"; then
5408 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5411 if test -n "$ac_config_commands"; then
5412 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5415 cat >>$CONFIG_STATUS <<\EOF
5418 \`$as_me' instantiates files from templates according to the
5419 current configuration.
5421 Usage: $0 [OPTIONS] [FILE]...
5423 -h, --help print this help, then exit
5424 -V, --version print version number, then exit
5425 -d, --debug don't remove temporary files
5426 --recheck update $as_me by reconfiguring in the same conditions
5427 --file=FILE[:TEMPLATE]
5428 instantiate the configuration file FILE
5429 --header=FILE[:TEMPLATE]
5430 instantiate the configuration header FILE
5432 Configuration files:
5435 Configuration headers:
5438 Report bugs to <bug-autoconf@gnu.org>."
5441 cat >>$CONFIG_STATUS <<EOF
5444 configured by $0, generated by GNU Autoconf 2.52,
5445 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5447 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5448 Free Software Foundation, Inc.
5449 This config.status script is free software; the Free Software Foundation
5450 gives unlimited permission to copy, distribute and modify it."
5455 cat >>$CONFIG_STATUS <<\EOF
5456 # If no file are specified by the user, then we need to provide default
5457 # value. By we need to know if files were specified by the user.
5463 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5464 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5466 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
5470 *) # This is not an option, so the user has probably given explicit
5472 ac_need_defaults
=false
;;
5476 # Handling of the options.
5478 cat >>$CONFIG_STATUS <<EOF
5479 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5480 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5481 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5483 cat >>$CONFIG_STATUS <<\EOF
5484 --version |
--vers* |
-V )
5485 echo "$ac_cs_version"; exit 0 ;;
5487 # Conflict between --help and --header
5488 { { echo "$as_me:5488: error: ambiguous option: $1
5489 Try \`$0 --help' for more information." >&5
5490 echo "$as_me: error: ambiguous option: $1
5491 Try \`$0 --help' for more information." >&2;}
5492 { (exit 1); exit 1; }; };;
5493 --help |
--hel |
-h )
5494 echo "$ac_cs_usage"; exit 0 ;;
5495 --debug |
--d* |
-d )
5497 --file |
--fil |
--fi |
--f )
5499 CONFIG_FILES
="$CONFIG_FILES $1"
5500 ac_need_defaults
=false
;;
5501 --header |
--heade |
--head |
--hea )
5503 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
5504 ac_need_defaults
=false
;;
5507 -*) { { echo "$as_me:5507: error: unrecognized option: $1
5508 Try \`$0 --help' for more information." >&5
5509 echo "$as_me: error: unrecognized option: $1
5510 Try \`$0 --help' for more information." >&2;}
5511 { (exit 1); exit 1; }; } ;;
5513 *) ac_config_targets
="$ac_config_targets $1" ;;
5522 ## ----------------------- ##
5523 ## Running config.status. ##
5524 ## ----------------------- ##
5526 This file was extended by $as_me 2.52, executed with
5527 CONFIG_FILES = $CONFIG_FILES
5528 CONFIG_HEADERS = $CONFIG_HEADERS
5529 CONFIG_LINKS = $CONFIG_LINKS
5530 CONFIG_COMMANDS = $CONFIG_COMMANDS
5532 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5537 cat >>$CONFIG_STATUS <<\EOF
5538 for ac_config_target
in $ac_config_targets
5540 case "$ac_config_target" in
5541 # Handling of arguments.
5542 "stamp-h" ) CONFIG_FILES
="$CONFIG_FILES stamp-h" ;;
5543 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5544 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
5545 "src/xditview/Imakefile" ) CONFIG_FILES
="$CONFIG_FILES src/xditview/Imakefile" ;;
5546 "src/include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/include/config.h:src/include/config.hin" ;;
5547 *) { { echo "$as_me:5547: error: invalid argument: $ac_config_target" >&5
5548 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5549 { (exit 1); exit 1; }; };;
5553 # If the user did not use the arguments to specify the items to instantiate,
5554 # then the envvar interface is used. Set only those that are not.
5555 # We use the long form for the default assignment because of an extremely
5556 # bizarre bug on SunOS 4.1.3.
5557 if $ac_need_defaults; then
5558 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5559 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5562 # Create a temporary directory, and hook for its removal unless debugging.
5565 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5566 trap '{ (exit 1); exit 1; }' 1 2 13 15
5569 # Create a (secure) tmp directory for tmp files.
5572 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5573 test -n "$tmp" && test -d "$tmp"
5576 tmp
=$TMPDIR/cs$$
-$RANDOM
5577 (umask 077 && mkdir
$tmp)
5580 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5581 { (exit 1); exit 1; }
5586 cat >>$CONFIG_STATUS <<EOF
5589 # CONFIG_FILES section.
5592 # No need to generate the scripts if there are no CONFIG_FILES.
5593 # This happens for instance when ./config.status config.h
5594 if test -n "\$CONFIG_FILES"; then
5595 # Protect against being on the right side of a sed subst in config.status.
5596 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5597 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5598 s,@SHELL@,$SHELL,;t t
5599 s,@exec_prefix@,$exec_prefix,;t t
5600 s,@prefix@,$prefix,;t t
5601 s,@program_transform_name@,$program_transform_name,;t t
5602 s,@bindir@,$bindir,;t t
5603 s,@sbindir@,$sbindir,;t t
5604 s,@libexecdir@,$libexecdir,;t t
5605 s,@datadir@,$datadir,;t t
5606 s,@sysconfdir@,$sysconfdir,;t t
5607 s,@sharedstatedir@,$sharedstatedir,;t t
5608 s,@localstatedir@,$localstatedir,;t t
5609 s,@libdir@,$libdir,;t t
5610 s,@includedir@,$includedir,;t t
5611 s,@oldincludedir@,$oldincludedir,;t t
5612 s,@infodir@,$infodir,;t t
5613 s,@mandir@,$mandir,;t t
5614 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5615 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5616 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5617 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5618 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5619 s,@build_alias@,$build_alias,;t t
5620 s,@host_alias@,$host_alias,;t t
5621 s,@target_alias@,$target_alias,;t t
5622 s,@ECHO_C@,$ECHO_C,;t t
5623 s,@ECHO_N@,$ECHO_N,;t t
5624 s,@ECHO_T@,$ECHO_T,;t t
5625 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5628 s,@top_builddir@,$top_builddir,;t t
5630 s,@CFLAGS@,$CFLAGS,;t t
5631 s,@LDFLAGS@,$LDFLAGS,;t t
5632 s,@CPPFLAGS@,$CPPFLAGS,;t t
5633 s,@ac_ct_CC@,$ac_ct_CC,;t t
5634 s,@EXEEXT@,$EXEEXT,;t t
5635 s,@OBJEXT@,$OBJEXT,;t t
5637 s,@CXXFLAGS@,$CXXFLAGS,;t t
5638 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5639 s,@TTYDEVDIRS@,$TTYDEVDIRS,;t t
5640 s,@OTHERDEVDIRS@,$OTHERDEVDIRS,;t t
5644 s,@PSPRINT@,$PSPRINT,;t t
5645 s,@DVIPRINT@,$DVIPRINT,;t t
5646 s,@PERLPATH@,$PERLPATH,;t t
5648 s,@RANLIB@,$RANLIB,;t t
5649 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5650 s,@INSTALL_INFO@,$INSTALL_INFO,;t t
5651 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5652 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5653 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5655 s,@SH_SCRIPT_SED_CMD@,$SH_SCRIPT_SED_CMD,;t t
5658 s,@LIBOBJS@,$LIBOBJS,;t t
5659 s,@BROKEN_SPOOLER_FLAGS@,$BROKEN_SPOOLER_FLAGS,;t t
5662 s,@sys_tmac_prefix@,$sys_tmac_prefix,;t t
5663 s,@tmac_wrap@,$tmac_wrap,;t t
5664 s,@pnmcut@,$pnmcut,;t t
5665 s,@pnmcrop@,$pnmcrop,;t t
5666 s,@pnmtopng@,$pnmtopng,;t t
5668 s,@psselect@,$psselect,;t t
5669 s,@make_html@,$make_html,;t t
5670 s,@make_install_html@,$make_install_html,;t t
5675 cat >>$CONFIG_STATUS <<\EOF
5676 # Split the substitutions into bite-sized pieces for seds with
5677 # small command number limits, like on Digital OSF/1 and HP-UX.
5679 ac_sed_frag
=1 # Number of current file.
5680 ac_beg
=1 # First line for current file.
5681 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5684 while $ac_more_lines; do
5685 if test $ac_beg -gt 1; then
5686 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5688 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5690 if test ! -s $tmp/subs.frag
; then
5693 # The purpose of the label and of the branching condition is to
5694 # speed up the sed processing (if there are no `@' at all, there
5695 # is no need to browse any of the substitutions).
5696 # These are the two extra sed commands mentioned above.
5698 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5699 if test -z "$ac_sed_cmds"; then
5700 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5702 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5704 ac_sed_frag
=`expr $ac_sed_frag + 1`
5706 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5709 if test -z "$ac_sed_cmds"; then
5712 fi # test -n "$CONFIG_FILES"
5715 cat >>$CONFIG_STATUS <<\EOF
5716 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5717 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5719 - |
*:- |
*:-:* ) # input from stdin
5721 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5722 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5723 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5724 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5725 * ) ac_file_in
=$ac_file.
in ;;
5728 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5729 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5730 X"$ac_file" : 'X\(//\)[^/]' \| \
5731 X"$ac_file" : 'X\(//\)$' \| \
5732 X"$ac_file" : 'X\(/\)' \| \
5733 . : '\(.\)' 2>/dev/null ||
5735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5736 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5737 /^X\(\/\/\)$/{ s//\1/; q; }
5738 /^X\(\/\).*/{ s//\1/; q; }
5740 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
5742 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
5746 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5747 case $as_mkdir_dir in
5748 # Skip DOS drivespec
5749 ?
:) as_incr_dir
=$as_mkdir_dir ;;
5751 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
5752 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
5757 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
5758 # A "../" for each directory in $ac_dir_suffix.
5759 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
5761 ac_dir_suffix
= ac_dots
=
5766 if test -z "$ac_dots"; then
5769 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
5772 ac_srcdir
=$srcdir$ac_dir_suffix;
5773 ac_top_srcdir
=$srcdir ;;
5775 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
5776 ac_top_srcdir
=$ac_dots$srcdir ;;
5780 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5781 *) ac_INSTALL
=$ac_dots$INSTALL ;;
5784 if test x
"$ac_file" != x-
; then
5785 { echo "$as_me:5785: creating $ac_file" >&5
5786 echo "$as_me: creating $ac_file" >&6;}
5789 # Let's still pretend it is `configure' which instantiates (i.e., don't
5790 # use $as_me), people would be surprised to read:
5791 # /* config.h. Generated automatically by config.status. */
5792 configure_input
="Generated automatically from `echo $ac_file_in |
5793 sed 's,.*/,,'` by configure."
5795 # First look for the input files in the build tree, otherwise in the
5797 ac_file_inputs
=`IFS=:
5798 for f in $ac_file_in; do
5800 -) echo $tmp/stdin ;;
5802 # Absolute (can't be DOS-style, as IFS=:)
5803 test -f "$f" || { { echo "$as_me:5803: error: cannot find input file: $f" >&5
5804 echo "$as_me: error: cannot find input file: $f" >&2;}
5805 { (exit 1); exit 1; }; }
5808 if test -f "$f"; then
5811 elif test -f "$srcdir/$f"; then
5816 { { echo "$as_me:5816: error: cannot find input file: $f" >&5
5817 echo "$as_me: error: cannot find input file: $f" >&2;}
5818 { (exit 1); exit 1; }; }
5821 done` ||
{ (exit 1); exit 1; }
5823 cat >>$CONFIG_STATUS <<EOF
5827 cat >>$CONFIG_STATUS <<\EOF
5829 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5830 s
,@configure_input@
,$configure_input,;t t
5831 s
,@srcdir@
,$ac_srcdir,;t t
5832 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5833 s
,@INSTALL@
,$ac_INSTALL,;t t
5834 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5836 if test x"$ac_file" != x-; then
5837 mv $tmp/out $ac_file
5843 # Run the commands associated with the file.
5845 stamp-h ) echo timestamp > stamp-h ;;
5849 cat >>$CONFIG_STATUS <<\EOF
5852 # CONFIG_HEADER section.
5855 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5856 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5858 # ac_d sets the value in "#define NAME VALUE" lines.
5859 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5860 ac_dB
='[ ].*$,\1#\2'
5863 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5864 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5865 ac_uB
='$,\1#\2define\3'
5869 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5870 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5872 - |
*:- |
*:-:* ) # input from stdin
5874 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5875 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5876 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5877 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5878 * ) ac_file_in
=$ac_file.
in ;;
5881 test x
"$ac_file" != x-
&& { echo "$as_me:5881: creating $ac_file" >&5
5882 echo "$as_me: creating $ac_file" >&6;}
5884 # First look for the input files in the build tree, otherwise in the
5886 ac_file_inputs
=`IFS=:
5887 for f in $ac_file_in; do
5889 -) echo $tmp/stdin ;;
5891 # Absolute (can't be DOS-style, as IFS=:)
5892 test -f "$f" || { { echo "$as_me:5892: error: cannot find input file: $f" >&5
5893 echo "$as_me: error: cannot find input file: $f" >&2;}
5894 { (exit 1); exit 1; }; }
5897 if test -f "$f"; then
5900 elif test -f "$srcdir/$f"; then
5905 { { echo "$as_me:5905: error: cannot find input file: $f" >&5
5906 echo "$as_me: error: cannot find input file: $f" >&2;}
5907 { (exit 1); exit 1; }; }
5910 done` ||
{ (exit 1); exit 1; }
5911 # Remove the trailing spaces.
5912 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5916 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5917 # `conftest.undefs', that substitutes the proper values into
5918 # config.h.in to produce config.h. The first handles `#define'
5919 # templates, and the second `#undef' templates.
5920 # And first: Protect against being on the right side of a sed subst in
5921 # config.status. Protect against being in an unquoted here document
5923 rm -f conftest.defines conftest.undefs
5924 # Using a here document instead of a string reduces the quoting nightmare.
5925 # Putting comments in sed scripts is not portable.
5927 # `end' is used to avoid that the second main sed command (meant for
5928 # 0-ary CPP macros) applies to n-ary macro definitions.
5929 # See the Autoconf documentation for `clear'.
5930 cat >confdef2sed.
sed <<\EOF
5935 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
5937 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5940 # If some macros were called several times there might be several times
5941 # the same #defines, which is useless. Nevertheless, we may not want to
5942 # sort them, since we want the *last* AC-DEFINE to be honored.
5943 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5944 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5945 rm -f confdef2sed.sed
5947 # This sed command replaces #undef with comments. This is necessary, for
5948 # example, in the case of _POSIX_SOURCE, which is predefined and required
5949 # on some systems where configure will not decide to define it.
5950 cat >>conftest.undefs <<\EOF
5951 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5954 # Break up conftest.defines because some shells have a limit on the size
5955 # of here documents, and old seds have small limits too (100 cmds).
5956 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5957 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5958 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5959 echo ' :' >>$CONFIG_STATUS
5961 while grep . conftest.defines >/dev/null
5963 # Write a limited-size here document to $tmp/defines.sed.
5964 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5965 # Speed up: don't consider the non `#define' lines.
5966 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5967 # Work around the forget-to-reset-the-flag bug.
5968 echo 't clr' >>$CONFIG_STATUS
5969 echo ': clr' >>$CONFIG_STATUS
5970 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5972 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5976 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5977 rm -f conftest.defines
5978 mv conftest.
tail conftest.defines
5980 rm -f conftest.defines
5981 echo ' fi # egrep' >>$CONFIG_STATUS
5982 echo >>$CONFIG_STATUS
5984 # Break up conftest.undefs because some shells have a limit on the size
5985 # of here documents, and old seds have small limits too (100 cmds).
5986 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5988 while grep . conftest.undefs
>/dev
/null
5990 # Write a limited-size here document to $tmp/undefs.sed.
5991 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5992 # Speed up: don't consider the non
`#undef'
5993 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5994 # Work around the forget-to-reset-the-flag bug.
5995 echo 't clr' >>$CONFIG_STATUS
5996 echo ': clr' >>$CONFIG_STATUS
5997 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5999 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6003 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6004 rm -f conftest.undefs
6005 mv conftest.tail conftest.undefs
6007 rm -f conftest.undefs
6009 cat >>$CONFIG_STATUS <<\EOF
6010 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6011 # use $as_me), people would be surprised to read:
6012 # /* config.h. Generated automatically by config.status. */
6013 if test x
"$ac_file" = x-
; then
6014 echo "/* Generated automatically by configure. */" >$tmp/config.h
6016 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
6018 cat $tmp/in >>$tmp/config.h
6020 if test x
"$ac_file" != x-
; then
6021 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
6022 { echo "$as_me:6022: $ac_file is unchanged" >&5
6023 echo "$as_me: $ac_file is unchanged" >&6;}
6025 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6026 X"$ac_file" : 'X\(//\)[^/]' \| \
6027 X"$ac_file" : 'X\(//\)$' \| \
6028 X"$ac_file" : 'X\(/\)' \| \
6029 . : '\(.\)' 2>/dev/null ||
6031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6032 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6033 /^X\(\/\/\)$/{ s//\1/; q; }
6034 /^X\(\/\).*/{ s//\1/; q; }
6036 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
6038 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
6042 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6043 case $as_mkdir_dir in
6044 # Skip DOS drivespec
6045 ?
:) as_incr_dir
=$as_mkdir_dir ;;
6047 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
6048 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
6055 mv $tmp/config.h
$ac_file
6064 cat >>$CONFIG_STATUS <<\EOF
6066 { (exit 0); exit 0; }
6068 chmod +x
$CONFIG_STATUS
6069 ac_clean_files
=$ac_clean_files_save
6071 # configure is writing to config.log, and then calls config.status.
6072 # config.status does its own redirection, appending to config.log.
6073 # Unfortunately, on DOS this fails, as config.log is still kept open
6074 # by configure, so config.status won't be able to write to it; its
6075 # output is simply discarded. So we exec the FD to /dev/null,
6076 # effectively closing config.log, so it can be properly (re)opened and
6077 # appended to by config.status. When coming back to configure, we
6078 # need to make the FD available again.
6079 if test "$no_create" != yes; then
6082 $SHELL $CONFIG_STATUS || ac_cs_success
=false
6084 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6085 # would make configure fail if this is the last instruction.
6086 $ac_cs_success ||
{ (exit 1); exit 1; }
6089 { echo "$as_me:6089:
6091 Configuration completed.
6093 You can now say \`make' to compile the groff package and \`make install'
6094 to install it afterwards.
6096 If you want to compile xditview, change the directory to \`src/xditview'
6097 and follow the instructions given in the file \`INSTALL'.
6101 Configuration completed.
6103 You can now say \`make' to compile the groff package and \`make install'
6104 to install it afterwards.
6106 If you want to compile xditview, change the directory to \`src/xditview'
6107 and follow the instructions given in the file \`INSTALL'.