2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
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 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
30 # Support unset when possible.
31 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
37 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG
|| test "${LANG+set}" != set; } ||
39 { LANG
=C
; export LANG
; }
40 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL
|| test "${LC_ALL+set}" != set; } ||
42 { LC_ALL
=C
; export LC_ALL
; }
43 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME
|| test "${LC_TIME+set}" != set; } ||
45 { LC_TIME
=C
; export LC_TIME
; }
46 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE
=C
; export LC_CTYPE
; }
49 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE
=C
; export LANGUAGE
; }
52 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE
=C
; export LC_COLLATE
; }
55 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
58 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
63 # Name of the executable.
64 as_me
=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits
='0123456789'
81 as_cr_alnum
=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
99 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself
=$0 ;;
106 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir
=.
111 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x
; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
128 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir
=.
132 for as_base
in sh bash ksh sh5
; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
141 CONFIG_SHELL
=$as_dir/$as_base
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
169 chmod +x
$as_me.lineno
||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c
*,-n*) ECHO_N
= ECHO_C
='
185 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
186 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
189 if expr a
: '\(a\)' >/dev
/null
2>&1; then
195 rm -f conf$$ conf$$.exe conf$$.
file
197 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe
; then
201 # Don't use ln at all; we don't have any links
206 elif ln conf$$.
file conf$$
2>/dev
/null
; then
211 rm -f conf$$ conf$$.exe conf$$.
file
213 as_executable_p
="test -f"
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
242 ac_default_prefix
=/usr
/local
247 SHELL
=${CONFIG_SHELL-/bin/sh}
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
254 # Identity of this package.
261 ac_unique_file
="src/ircd.c"
262 # Factoring default headers for most tests.
263 ac_includes_default
="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version
=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name
=s
,x
,x
,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir
='${exec_prefix}/bin'
326 sbindir
='${exec_prefix}/sbin'
327 libexecdir
='${exec_prefix}/libexec'
328 datadir
='${prefix}/share'
329 sysconfdir
='${prefix}/etc'
330 sharedstatedir
='${prefix}/com'
331 localstatedir
='${prefix}/var'
332 libdir
='${exec_prefix}/lib'
333 includedir
='${prefix}/include'
334 oldincludedir
='/usr/include'
335 infodir
='${prefix}/info'
336 mandir
='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 -build | --build | --buil | --bui | --bu)
360 ac_prev
=build_alias
;;
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362 build_alias
=$ac_optarg ;;
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366 ac_prev
=cache_file
;;
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369 cache_file
=$ac_optarg ;;
372 cache_file
=config.cache
;;
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
378 datadir
=$ac_optarg ;;
380 -disable-* | --disable-*)
381 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* | --enable-*)
390 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404 | --exec | --exe | --ex)
405 ac_prev
=exec_prefix
;;
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408 | --exec=* | --exe=* | --ex=*)
409 exec_prefix
=$ac_optarg ;;
411 -gas | --gas | --ga | --g)
412 # Obsolete; use --with-gas.
415 -help | --help | --hel | --he | -h)
417 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
418 ac_init_help
=recursive
;;
419 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
420 ac_init_help
=short
;;
422 -host | --host | --hos | --ho)
423 ac_prev
=host_alias
;;
424 -host=* | --host=* | --hos=* | --ho=*)
425 host_alias
=$ac_optarg ;;
427 -includedir | --includedir | --includedi | --included | --include \
428 | --includ | --inclu | --incl | --inc)
429 ac_prev
=includedir
;;
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
432 includedir
=$ac_optarg ;;
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437 infodir
=$ac_optarg ;;
439 -libdir | --libdir | --libdi | --libd)
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445 | --libexe | --libex | --libe)
446 ac_prev
=libexecdir
;;
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448 | --libexe=* | --libex=* | --libe=*)
449 libexecdir
=$ac_optarg ;;
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
452 | --localstate | --localstat | --localsta | --localst \
453 | --locals | --local | --loca | --loc | --lo)
454 ac_prev
=localstatedir
;;
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458 localstatedir
=$ac_optarg ;;
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
466 # Obsolete; use --without-fp.
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n)
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479 | --oldin | --oldi | --old | --ol | --o)
480 ac_prev
=oldincludedir
;;
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484 oldincludedir
=$ac_optarg ;;
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
492 | --program-pre | --program-pr | --program-p)
493 ac_prev
=program_prefix
;;
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496 program_prefix
=$ac_optarg ;;
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
499 | --program-suf | --program-su | --program-s)
500 ac_prev
=program_suffix
;;
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503 program_suffix
=$ac_optarg ;;
505 -program-transform-name | --program-transform-name \
506 | --program-transform-nam | --program-transform-na \
507 | --program-transform-n | --program-transform- \
508 | --program-transform | --program-transfor \
509 | --program-transfo | --program-transf \
510 | --program-trans | --program-tran \
511 | --progr-tra | --program-tr | --program-t)
512 ac_prev
=program_transform_name
;;
513 -program-transform-name=* | --program-transform-name=* \
514 | --program-transform-nam=* | --program-transform-na=* \
515 | --program-transform-n=* | --program-transform-=* \
516 | --program-transform=* | --program-transfor=* \
517 | --program-transfo=* | --program-transf=* \
518 | --program-trans=* | --program-tran=* \
519 | --progr-tra=* | --program-tr=* | --program-t=*)
520 program_transform_name
=$ac_optarg ;;
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523 | -silent | --silent | --silen | --sile | --sil)
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
530 sbindir
=$ac_optarg ;;
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534 | --sharedst | --shareds | --shared | --share | --shar \
536 ac_prev
=sharedstatedir
;;
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
541 sharedstatedir
=$ac_optarg ;;
543 -site | --site | --sit)
545 -site=* | --site=* | --sit=*)
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554 | --syscon | --sysco | --sysc | --sys | --sy)
555 ac_prev
=sysconfdir
;;
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558 sysconfdir
=$ac_optarg ;;
560 -target | --target | --targe | --targ | --tar | --ta | --t)
561 ac_prev
=target_alias
;;
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563 target_alias
=$ac_optarg ;;
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 -version | --version | --versio | --versi | --vers | -V)
572 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package
=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* | --without-*)
585 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package
=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598 | --x-incl | --x-inc | --x-in | --x-i)
599 ac_prev
=x_includes
;;
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602 x_includes
=$ac_optarg ;;
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606 ac_prev
=x_libraries
;;
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609 x_libraries
=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var
in exec_prefix prefix
646 eval ac_val
=$
`echo $ac_var`
648 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val
=$
`echo $ac_var`
660 [\\/$
]* | ?
:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x
; then
675 if test "x$build_alias" = x
; then
676 cross_compiling
=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
687 test "$silent" = yes && exec 6>/dev
/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted
=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir
=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted
=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set
=${build_alias+set}
724 ac_env_build_alias_value
=$build_alias
725 ac_cv_env_build_alias_set
=${build_alias+set}
726 ac_cv_env_build_alias_value
=$build_alias
727 ac_env_host_alias_set
=${host_alias+set}
728 ac_env_host_alias_value
=$host_alias
729 ac_cv_env_host_alias_set
=${host_alias+set}
730 ac_cv_env_host_alias_value
=$host_alias
731 ac_env_target_alias_set
=${target_alias+set}
732 ac_env_target_alias_value
=$target_alias
733 ac_cv_env_target_alias_set
=${target_alias+set}
734 ac_cv_env_target_alias_value
=$target_alias
735 ac_env_CC_set
=${CC+set}
737 ac_cv_env_CC_set
=${CC+set}
738 ac_cv_env_CC_value
=$CC
739 ac_env_CFLAGS_set
=${CFLAGS+set}
740 ac_env_CFLAGS_value
=$CFLAGS
741 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value
=$CFLAGS
743 ac_env_LDFLAGS_set
=${LDFLAGS+set}
744 ac_env_LDFLAGS_value
=$LDFLAGS
745 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value
=$LDFLAGS
747 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value
=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
751 ac_env_CPP_set
=${CPP+set}
752 ac_env_CPP_value
=$CPP
753 ac_cv_env_CPP_set
=${CPP+set}
754 ac_cv_env_CPP_value
=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures this package to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
818 if test -n "$ac_init_help"; then
823 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
824 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
825 --enable-nospoof Enable spoofing protection
826 --enable-prefixaq Enable chanadmin and chanowner prefixes
827 --enable-hub Compile as a hub server
828 --enable-ssl= enable ssl will check
/usr
/local
/ssl
/usr
/lib
/ssl
829 /usr
/ssl
/usr
/pkg
/usr
/local /usr
830 --enable-ziplinks enable ziplinks will check
/usr
/local /usr
/usr
/pkg
831 --enable-libcurl=DIR
enable libcurl
(remote include
) support
832 --enable-dynamic-linking
833 Make the IRCd dynamically link shared objects rather
835 --enable-inet6 Make the IRCd support IPv6
838 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
839 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
840 --with-listen=backlog Specify the listen backlog value
841 --with-nick-history=length
842 Specify the length of the nickname
history
843 --with-sendq=maxsendq Specify the max sendq
for the server
844 --with-bufferpool=size Specify the size of the buffer pool
845 --with-hostname=host Specify the
local hostname of the server
846 --with-permissions=permissions
847 Specify the default permissions
for configuration
849 --with-dpath=path Specify the path where configuration files are
851 --with-fd-setsize=size Specify the max
file descriptors to use
852 --with-spath Specify the location of the executable
854 Some influential environment variables
:
855 CC C compiler
command
856 CFLAGS C compiler flags
857 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
858 nonstandard directory
<lib dir
>
859 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
860 headers
in a nonstandard directory
<include dir
>
863 Use these variables to override the choices made by
`configure' or to help
864 it to find libraries and programs with nonstandard names/locations.
869 if test "$ac_init_help" = "recursive"; then
870 # If there are subdirs, report their specific --help.
872 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
873 test -d $ac_dir || continue
876 if test "$ac_dir" != .; then
877 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
878 # A "../" for each directory in $ac_dir_suffix.
879 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
881 ac_dir_suffix= ac_top_builddir=
885 .) # No --srcdir option. We are building in place.
887 if test -z "$ac_top_builddir"; then
890 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
892 [\\/]* | ?:[\\/]* ) # Absolute path.
893 ac_srcdir=$srcdir$ac_dir_suffix;
894 ac_top_srcdir=$srcdir ;;
896 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
897 ac_top_srcdir=$ac_top_builddir$srcdir ;;
899 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
901 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
902 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
903 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
904 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
907 # Check for guested configure; otherwise get Cygnus style configure.
908 if test -f $ac_srcdir/configure.gnu; then
910 $SHELL $ac_srcdir/configure.gnu --help=recursive
911 elif test -f $ac_srcdir/configure; then
913 $SHELL $ac_srcdir/configure --help=recursive
914 elif test -f $ac_srcdir/configure.ac ||
915 test -f $ac_srcdir/configure.in; then
919 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
925 test -n "$ac_init_help" && exit 0
926 if $ac_init_version; then
929 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
930 Free Software Foundation, Inc.
931 This configure script is free software; the Free Software Foundation
932 gives unlimited permission to copy, distribute and modify it.
938 This file contains any messages produced by compilers while
939 running configure, to aid debugging if configure makes a mistake.
941 It was created by $as_me, which was
942 generated by GNU Autoconf 2.53. Invocation command line was
953 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
954 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
955 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
956 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
957 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
959 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
960 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
962 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
963 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
964 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
965 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
966 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
967 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
968 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
976 test -z "$as_dir" && as_dir=.
992 # Keep a trace of the command line.
993 # Strip out --no-create and --no-recursion so they do not pile up.
994 # Also quote any args containing shell meta-characters.
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n ) continue ;;
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1005 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1006 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1008 case " $ac_configure_args " in
1009 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1010 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1013 # Get rid of the leading space.
1016 # When interrupted or exit'd, cleanup temporary files, and complete
1017 # config.log. We remove comments because anyway the quotes in there
1018 # would cause problems or look ugly.
1019 # WARNING: Be sure not to use single quotes in there, as some shells,
1020 # such as our DU 5.0 friend, will then `close
' the trap.
1021 trap 'exit_status
=$?
1022 # Save into config.log some information that might help in debugging.
1026 ## ---------------- ##
1027 ## Cache variables. ##
1028 ## ---------------- ##
1031 # The following way of writing the cache mishandles newlines in values,
1034 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1037 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1042 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1047 if test -s confdefs.h
; then
1054 sed "/^$/d" confdefs.h
1057 test "$ac_signal" != 0 &&
1058 echo "$as_me: caught signal $ac_signal"
1059 echo "$as_me: exit $exit_status"
1061 rm -f core core.
* *.core
&&
1062 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1065 for ac_signal in 1 2 13 15; do
1066 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1070 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1071 rm -rf conftest* confdefs.h
1072 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1075 # Predefined preprocessor variables.
1077 cat >>confdefs.h <<_ACEOF
1078 #define PACKAGE_NAME "$PACKAGE_NAME"
1082 cat >>confdefs.h <<_ACEOF
1083 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1087 cat >>confdefs.h <<_ACEOF
1088 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1092 cat >>confdefs.h <<_ACEOF
1093 #define PACKAGE_STRING "$PACKAGE_STRING"
1097 cat >>confdefs.h <<_ACEOF
1098 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1102 # Let the site file select an alternate cache file if it wants to.
1103 # Prefer explicitly selected file to automatically selected ones.
1104 if test -z "$CONFIG_SITE"; then
1105 if test "x$prefix" != xNONE; then
1106 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1108 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1111 for ac_site_file in $CONFIG_SITE; do
1112 if test -r "$ac_site_file"; then
1113 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1114 echo "$as_me: loading site script $ac_site_file" >&6;}
1115 sed 's
/^
/| /' "$ac_site_file" >&5
1120 if test -r "$cache_file"; then
1121 # Some versions of bash will fail to source /dev/null (special
1122 # files actually), so we avoid doing that.
1123 if test -f "$cache_file"; then
1124 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1125 echo "$as_me: loading cache $cache_file" >&6;}
1127 [\\/]* | ?:[\\/]* ) . $cache_file;;
1128 *) . ./$cache_file;;
1132 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1133 echo "$as_me: creating cache $cache_file" >&6;}
1137 # Check that the precious variables saved in the cache have kept the same
1139 ac_cache_corrupted=false
1140 for ac_var in `(set) 2>&1 |
1141 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1142 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1143 eval ac_new_set=\$ac_env_${ac_var}_set
1144 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1145 eval ac_new_val="\$ac_env_${ac_var}_value"
1146 case $ac_old_set,$ac_new_set in
1148 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1149 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1150 ac_cache_corrupted=: ;;
1152 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1153 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1154 ac_cache_corrupted=: ;;
1157 if test "x$ac_old_val" != "x$ac_new_val"; then
1158 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1159 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1160 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1161 echo "$as_me: former value: $ac_old_val" >&2;}
1162 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1163 echo "$as_me: current value: $ac_new_val" >&2;}
1164 ac_cache_corrupted=:
1167 # Pass precious variables to config.status.
1168 if test "$ac_new_set" = set; then
1170 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1171 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1172 *) ac_arg=$ac_var=$ac_new_val ;;
1174 case " $ac_configure_args " in
1175 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1176 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1180 if $ac_cache_corrupted; then
1181 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1182 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1183 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1184 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1185 { (exit 1); exit 1; }; }
1189 ac_cpp='$CPP $CPPFLAGS'
1190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1191 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1211 if test $# = 0; then
1212 echo "You might want to run ./Config or provide some parameters to this script."
1213 echo "./configure --help for information about this script"
1216 ac_config_headers="$ac_config_headers include/setup.h"
1219 ac_cpp='$CPP $CPPFLAGS'
1220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1221 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1223 if test -n "$ac_tool_prefix"; then
1224 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1225 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1226 echo "$as_me:$LINENO: checking for $ac_word" >&5
1227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1228 if test "${ac_cv_prog_CC+set}" = set; then
1229 echo $ECHO_N "(cached) $ECHO_C" >&6
1231 if test -n "$CC"; then
1232 ac_cv_prog_CC="$CC" # Let the user override the test.
1234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1238 test -z "$as_dir" && as_dir=.
1239 for ac_exec_ext in '' $ac_executable_extensions; do
1240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1241 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1251 if test -n "$CC"; then
1252 echo "$as_me:$LINENO: result: $CC" >&5
1253 echo "${ECHO_T}$CC" >&6
1255 echo "$as_me:$LINENO: result: no" >&5
1256 echo "${ECHO_T}no" >&6
1260 if test -z "$ac_cv_prog_CC"; then
1262 # Extract the first word of "gcc", so it can be a program name with args.
1263 set dummy gcc; ac_word=$2
1264 echo "$as_me:$LINENO: checking for $ac_word" >&5
1265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1266 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1267 echo $ECHO_N "(cached) $ECHO_C" >&6
1269 if test -n "$ac_ct_CC"; then
1270 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1276 test -z "$as_dir" && as_dir=.
1277 for ac_exec_ext in '' $ac_executable_extensions; do
1278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1279 ac_cv_prog_ac_ct_CC="gcc"
1280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1288 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1289 if test -n "$ac_ct_CC"; then
1290 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1291 echo "${ECHO_T}$ac_ct_CC" >&6
1293 echo "$as_me:$LINENO: result: no" >&5
1294 echo "${ECHO_T}no" >&6
1302 if test -z "$CC"; then
1303 if test -n "$ac_tool_prefix"; then
1304 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1305 set dummy ${ac_tool_prefix}cc; ac_word=$2
1306 echo "$as_me:$LINENO: checking for $ac_word" >&5
1307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1308 if test "${ac_cv_prog_CC+set}" = set; then
1309 echo $ECHO_N "(cached) $ECHO_C" >&6
1311 if test -n "$CC"; then
1312 ac_cv_prog_CC="$CC" # Let the user override the test.
1314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1318 test -z "$as_dir" && as_dir=.
1319 for ac_exec_ext in '' $ac_executable_extensions; do
1320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1321 ac_cv_prog_CC="${ac_tool_prefix}cc"
1322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1331 if test -n "$CC"; then
1332 echo "$as_me:$LINENO: result: $CC" >&5
1333 echo "${ECHO_T}$CC" >&6
1335 echo "$as_me:$LINENO: result: no" >&5
1336 echo "${ECHO_T}no" >&6
1340 if test -z "$ac_cv_prog_CC"; then
1342 # Extract the first word of "cc", so it can be a program name with args.
1343 set dummy cc; ac_word=$2
1344 echo "$as_me:$LINENO: checking for $ac_word" >&5
1345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1346 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1347 echo $ECHO_N "(cached) $ECHO_C" >&6
1349 if test -n "$ac_ct_CC"; then
1350 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1356 test -z "$as_dir" && as_dir=.
1357 for ac_exec_ext in '' $ac_executable_extensions; do
1358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1359 ac_cv_prog_ac_ct_CC="cc"
1360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1368 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1369 if test -n "$ac_ct_CC"; then
1370 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1371 echo "${ECHO_T}$ac_ct_CC" >&6
1373 echo "$as_me:$LINENO: result: no" >&5
1374 echo "${ECHO_T}no" >&6
1383 if test -z "$CC"; then
1384 # Extract the first word of "cc", so it can be a program name with args.
1385 set dummy cc; ac_word=$2
1386 echo "$as_me:$LINENO: checking for $ac_word" >&5
1387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1388 if test "${ac_cv_prog_CC+set}" = set; then
1389 echo $ECHO_N "(cached) $ECHO_C" >&6
1391 if test -n "$CC"; then
1392 ac_cv_prog_CC="$CC" # Let the user override the test.
1395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1399 test -z "$as_dir" && as_dir=.
1400 for ac_exec_ext in '' $ac_executable_extensions; do
1401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1402 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1403 ac_prog_rejected=yes
1407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1413 if test $ac_prog_rejected = yes; then
1414 # We found a bogon in the path, so make sure we never use it.
1415 set dummy $ac_cv_prog_CC
1417 if test $# != 0; then
1418 # We chose a different compiler from the bogus one.
1419 # However, it has the same basename, so the bogon will be chosen
1420 # first if we set CC to just the basename; use the full file name.
1422 set dummy "$as_dir/$ac_word" ${1+"$@"}
1430 if test -n "$CC"; then
1431 echo "$as_me:$LINENO: result: $CC" >&5
1432 echo "${ECHO_T}$CC" >&6
1434 echo "$as_me:$LINENO: result: no" >&5
1435 echo "${ECHO_T}no" >&6
1439 if test -z "$CC"; then
1440 if test -n "$ac_tool_prefix"; then
1443 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1444 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1445 echo "$as_me:$LINENO: checking for $ac_word" >&5
1446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1447 if test "${ac_cv_prog_CC+set}" = set; then
1448 echo $ECHO_N "(cached) $ECHO_C" >&6
1450 if test -n "$CC"; then
1451 ac_cv_prog_CC="$CC" # Let the user override the test.
1453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1457 test -z "$as_dir" && as_dir=.
1458 for ac_exec_ext in '' $ac_executable_extensions; do
1459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1460 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1470 if test -n "$CC"; then
1471 echo "$as_me:$LINENO: result: $CC" >&5
1472 echo "${ECHO_T}$CC" >&6
1474 echo "$as_me:$LINENO: result: no" >&5
1475 echo "${ECHO_T}no" >&6
1478 test -n "$CC" && break
1481 if test -z "$CC"; then
1485 # Extract the first word of "$ac_prog", so it can be a program name with args.
1486 set dummy $ac_prog; ac_word=$2
1487 echo "$as_me:$LINENO: checking for $ac_word" >&5
1488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1489 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1492 if test -n "$ac_ct_CC"; then
1493 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1499 test -z "$as_dir" && as_dir=.
1500 for ac_exec_ext in '' $ac_executable_extensions; do
1501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1502 ac_cv_prog_ac_ct_CC="$ac_prog"
1503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1511 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1512 if test -n "$ac_ct_CC"; then
1513 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1514 echo "${ECHO_T}$ac_ct_CC" >&6
1516 echo "$as_me:$LINENO: result: no" >&5
1517 echo "${ECHO_T}no" >&6
1520 test -n "$ac_ct_CC" && break
1529 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1530 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1531 { (exit 1); exit 1; }; }
1533 # Provide some information about the compiler.
1534 echo "$as_me:$LINENO:" \
1535 "checking for C compiler version" >&5
1536 ac_compiler=`set X $ac_compile; echo $2`
1537 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1538 (eval $ac_compiler --version </dev/null >&5) 2>&5
1540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1541 (exit $ac_status); }
1542 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1543 (eval $ac_compiler -v </dev/null >&5) 2>&5
1545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1546 (exit $ac_status); }
1547 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1548 (eval $ac_compiler -V </dev/null >&5) 2>&5
1550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1551 (exit $ac_status); }
1553 cat >conftest.$ac_ext <<_ACEOF
1554 #line $LINENO "configure"
1555 #include "confdefs.h"
1557 #ifdef F77_DUMMY_MAIN
1561 int F77_DUMMY_MAIN() { return 1; }
1571 ac_clean_files_save=$ac_clean_files
1572 ac_clean_files="$ac_clean_files a.out a.exe"
1573 # Try to create an executable without -o first, disregard a.out.
1574 # It will help us diagnose broken compilers, and finding out an intuition
1576 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1577 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1578 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1579 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1580 (eval $ac_link_default) 2>&5
1582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1583 (exit $ac_status); }; then
1584 # Find the output, starting from the most likely. This scheme is
1585 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1588 # Be careful to initialize this variable, since it used to be cached.
1589 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1591 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1592 ls a.out conftest 2>/dev/null;
1593 ls a.* conftest.* 2>/dev/null`; do
1595 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
) ;;
1596 a.out
) # We found the default executable, but exeext='' is most
1599 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1600 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1607 echo "$as_me: failed program was:" >&5
1608 cat conftest.
$ac_ext >&5
1609 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1610 echo "$as_me: error: C compiler cannot create executables" >&2;}
1611 { (exit 77); exit 77; }; }
1614 ac_exeext
=$ac_cv_exeext
1615 echo "$as_me:$LINENO: result: $ac_file" >&5
1616 echo "${ECHO_T}$ac_file" >&6
1618 # Check the compiler produces executables we can run. If not, either
1619 # the compiler is broken, or we cross compile.
1620 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1621 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1622 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1623 # If not cross compiling, check that we can run a simple program.
1624 if test "$cross_compiling" != yes; then
1625 if { ac_try
='./$ac_file'
1626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1630 (exit $ac_status); }; }; then
1633 if test "$cross_compiling" = maybe
; then
1636 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1637 If you meant to cross compile, use \`--host'." >&5
1638 echo "$as_me: error: cannot run C compiled programs.
1639 If you meant to cross compile, use \`--host'." >&2;}
1640 { (exit 1); exit 1; }; }
1644 echo "$as_me:$LINENO: result: yes" >&5
1645 echo "${ECHO_T}yes" >&6
1647 rm -f a.out a.exe conftest
$ac_cv_exeext
1648 ac_clean_files
=$ac_clean_files_save
1649 # Check the compiler produces executables we can run. If not, either
1650 # the compiler is broken, or we cross compile.
1651 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1652 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1653 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1654 echo "${ECHO_T}$cross_compiling" >&6
1656 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1657 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1659 (eval $ac_link) 2>&5
1661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1662 (exit $ac_status); }; then
1663 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1664 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1665 # work properly (i.e., refer to `conftest.exe'), while it won't with
1667 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1669 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1670 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1677 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1678 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1679 { (exit 1); exit 1; }; }
1682 rm -f conftest
$ac_cv_exeext
1683 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1684 echo "${ECHO_T}$ac_cv_exeext" >&6
1686 rm -f conftest.
$ac_ext
1687 EXEEXT
=$ac_cv_exeext
1689 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1690 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1691 if test "${ac_cv_objext+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1694 cat >conftest.
$ac_ext <<_ACEOF
1695 #line $LINENO "configure"
1696 #include "confdefs.h"
1698 #ifdef F77_DUMMY_MAIN
1702 int F77_DUMMY_MAIN() { return 1; }
1712 rm -f conftest.o conftest.obj
1713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1714 (eval $ac_compile) 2>&5
1716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1717 (exit $ac_status); }; then
1718 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1720 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1721 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1726 echo "$as_me: failed program was:" >&5
1727 cat conftest.
$ac_ext >&5
1728 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1729 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1730 { (exit 1); exit 1; }; }
1733 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1735 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1736 echo "${ECHO_T}$ac_cv_objext" >&6
1737 OBJEXT
=$ac_cv_objext
1739 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1740 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1741 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1742 echo $ECHO_N "(cached) $ECHO_C" >&6
1744 cat >conftest.
$ac_ext <<_ACEOF
1745 #line $LINENO "configure"
1746 #include "confdefs.h"
1748 #ifdef F77_DUMMY_MAIN
1752 int F77_DUMMY_MAIN() { return 1; }
1765 rm -f conftest.
$ac_objext
1766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1767 (eval $ac_compile) 2>&5
1769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1770 (exit $ac_status); } &&
1771 { ac_try
='test -s conftest.$ac_objext'
1772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1776 (exit $ac_status); }; }; then
1779 echo "$as_me: failed program was:" >&5
1780 cat conftest.
$ac_ext >&5
1783 rm -f conftest.
$ac_objext conftest.
$ac_ext
1784 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1787 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1788 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1789 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1790 ac_test_CFLAGS
=${CFLAGS+set}
1791 ac_save_CFLAGS
=$CFLAGS
1793 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1794 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1795 if test "${ac_cv_prog_cc_g+set}" = set; then
1796 echo $ECHO_N "(cached) $ECHO_C" >&6
1798 cat >conftest.
$ac_ext <<_ACEOF
1799 #line $LINENO "configure"
1800 #include "confdefs.h"
1802 #ifdef F77_DUMMY_MAIN
1806 int F77_DUMMY_MAIN() { return 1; }
1816 rm -f conftest.
$ac_objext
1817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1818 (eval $ac_compile) 2>&5
1820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1821 (exit $ac_status); } &&
1822 { ac_try
='test -s conftest.$ac_objext'
1823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1827 (exit $ac_status); }; }; then
1830 echo "$as_me: failed program was:" >&5
1831 cat conftest.
$ac_ext >&5
1834 rm -f conftest.
$ac_objext conftest.
$ac_ext
1836 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1837 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1838 if test "$ac_test_CFLAGS" = set; then
1839 CFLAGS
=$ac_save_CFLAGS
1840 elif test $ac_cv_prog_cc_g = yes; then
1841 if test "$GCC" = yes; then
1847 if test "$GCC" = yes; then
1853 # Some people use a C++ compiler to compile C. Since we use `exit',
1854 # in C++ we need to declare it. In case someone uses the same compiler
1855 # for both compiling C and C++ we need to have the C++ compiler decide
1856 # the declaration of exit, since it's the most demanding environment.
1857 cat >conftest.
$ac_ext <<_ACEOF
1862 rm -f conftest.
$ac_objext
1863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1864 (eval $ac_compile) 2>&5
1866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1867 (exit $ac_status); } &&
1868 { ac_try
='test -s conftest.$ac_objext'
1869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1873 (exit $ac_status); }; }; then
1874 for ac_declaration
in \
1876 '#include <stdlib.h>' \
1877 'extern "C" void std::exit (int) throw (); using std::exit;' \
1878 'extern "C" void std::exit (int); using std::exit;' \
1879 'extern "C" void exit (int) throw ();' \
1880 'extern "C" void exit (int);' \
1883 cat >conftest.
$ac_ext <<_ACEOF
1884 #line $LINENO "configure"
1885 #include "confdefs.h"
1888 #ifdef F77_DUMMY_MAIN
1892 int F77_DUMMY_MAIN() { return 1; }
1902 rm -f conftest.
$ac_objext
1903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1904 (eval $ac_compile) 2>&5
1906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1907 (exit $ac_status); } &&
1908 { ac_try
='test -s conftest.$ac_objext'
1909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913 (exit $ac_status); }; }; then
1916 echo "$as_me: failed program was:" >&5
1917 cat conftest.
$ac_ext >&5
1920 rm -f conftest.
$ac_objext conftest.
$ac_ext
1921 cat >conftest.
$ac_ext <<_ACEOF
1922 #line $LINENO "configure"
1923 #include "confdefs.h"
1925 #ifdef F77_DUMMY_MAIN
1929 int F77_DUMMY_MAIN() { return 1; }
1939 rm -f conftest.
$ac_objext
1940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1941 (eval $ac_compile) 2>&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); } &&
1945 { ac_try
='test -s conftest.$ac_objext'
1946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950 (exit $ac_status); }; }; then
1953 echo "$as_me: failed program was:" >&5
1954 cat conftest.
$ac_ext >&5
1956 rm -f conftest.
$ac_objext conftest.
$ac_ext
1959 if test -n "$ac_declaration"; then
1960 echo '#ifdef __cplusplus' >>confdefs.h
1961 echo $ac_declaration >>confdefs.h
1962 echo '#endif' >>confdefs.h
1966 echo "$as_me: failed program was:" >&5
1967 cat conftest.
$ac_ext >&5
1969 rm -f conftest.
$ac_objext conftest.
$ac_ext
1971 ac_cpp
='$CPP $CPPFLAGS'
1972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1976 if test "$ac_cv_c_compiler_gnu" = "yes"; then
1977 CFLAGS
="$CFLAGS -funsigned-char"
1978 echo "$as_me:$LINENO: checking if gcc has a working -pipe" >&5
1979 echo $ECHO_N "checking if gcc has a working -pipe... $ECHO_C" >&6
1980 if test "${ac_cv_pipe+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1984 save_cflags
="$CFLAGS"
1985 CFLAGS
="$CFLAGS -pipe"
1987 cat >conftest.
$ac_ext <<_ACEOF
1988 #line $LINENO "configure"
1989 #include "confdefs.h"
1991 #ifdef F77_DUMMY_MAIN
1995 int F77_DUMMY_MAIN() { return 1; }
2005 rm -f conftest.
$ac_objext
2006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2007 (eval $ac_compile) 2>&5
2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010 (exit $ac_status); } &&
2011 { ac_try
='test -s conftest.$ac_objext'
2012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 (exit $ac_status); }; }; then
2019 echo "$as_me: failed program was:" >&5
2020 cat conftest.
$ac_ext >&5
2023 rm -f conftest.
$ac_objext conftest.
$ac_ext
2024 CFLAGS
="$save_cflags"
2027 echo "$as_me:$LINENO: result: $ac_cv_pipe" >&5
2028 echo "${ECHO_T}$ac_cv_pipe" >&6
2029 if test "$ac_cv_pipe" = "yes"; then
2030 CFLAGS
="-pipe $CFLAGS"
2034 # Extract the first word of "rm", so it can be a program name with args.
2035 set dummy
rm; ac_word
=$2
2036 echo "$as_me:$LINENO: checking for $ac_word" >&5
2037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2038 if test "${ac_cv_path_RM+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2043 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
2046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2050 test -z "$as_dir" && as_dir
=.
2051 for ac_exec_ext
in '' $ac_executable_extensions; do
2052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2053 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
2054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 if test -n "$RM"; then
2066 echo "$as_me:$LINENO: result: $RM" >&5
2067 echo "${ECHO_T}$RM" >&6
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2073 # Extract the first word of "cp", so it can be a program name with args.
2074 set dummy
cp; ac_word
=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_path_CP+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
2085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2089 test -z "$as_dir" && as_dir
=.
2090 for ac_exec_ext
in '' $ac_executable_extensions; do
2091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2092 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
2093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 if test -n "$CP"; then
2105 echo "$as_me:$LINENO: result: $CP" >&5
2106 echo "${ECHO_T}$CP" >&6
2108 echo "$as_me:$LINENO: result: no" >&5
2109 echo "${ECHO_T}no" >&6
2112 # Extract the first word of "touch", so it can be a program name with args.
2113 set dummy
touch; ac_word
=$2
2114 echo "$as_me:$LINENO: checking for $ac_word" >&5
2115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2116 if test "${ac_cv_path_TOUCH+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 ac_cv_path_TOUCH
="$TOUCH" # Let the user override the test with a path.
2124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2128 test -z "$as_dir" && as_dir
=.
2129 for ac_exec_ext
in '' $ac_executable_extensions; do
2130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2131 ac_cv_path_TOUCH
="$as_dir/$ac_word$ac_exec_ext"
2132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 TOUCH
=$ac_cv_path_TOUCH
2143 if test -n "$TOUCH"; then
2144 echo "$as_me:$LINENO: result: $TOUCH" >&5
2145 echo "${ECHO_T}$TOUCH" >&6
2147 echo "$as_me:$LINENO: result: no" >&5
2148 echo "${ECHO_T}no" >&6
2151 # Extract the first word of "openssl", so it can be a program name with args.
2152 set dummy openssl
; ac_word
=$2
2153 echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2155 if test "${ac_cv_path_OPENSSLPATH+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 case $OPENSSLPATH in
2160 ac_cv_path_OPENSSLPATH
="$OPENSSLPATH" # Let the user override the test with a path.
2163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir
=.
2168 for ac_exec_ext
in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_path_OPENSSLPATH
="$as_dir/$ac_word$ac_exec_ext"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 OPENSSLPATH
=$ac_cv_path_OPENSSLPATH
2182 if test -n "$OPENSSLPATH"; then
2183 echo "$as_me:$LINENO: result: $OPENSSLPATH" >&5
2184 echo "${ECHO_T}$OPENSSLPATH" >&6
2186 echo "$as_me:$LINENO: result: no" >&5
2187 echo "${ECHO_T}no" >&6
2190 # Extract the first word of "install", so it can be a program name with args.
2191 set dummy
install; ac_word
=$2
2192 echo "$as_me:$LINENO: checking for $ac_word" >&5
2193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2194 if test "${ac_cv_path_INSTALL+set}" = set; then
2195 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 ac_cv_path_INSTALL
="$INSTALL" # Let the user override the test with a path.
2202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2206 test -z "$as_dir" && as_dir
=.
2207 for ac_exec_ext
in '' $ac_executable_extensions; do
2208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2209 ac_cv_path_INSTALL
="$as_dir/$ac_word$ac_exec_ext"
2210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 INSTALL
=$ac_cv_path_INSTALL
2221 if test -n "$INSTALL"; then
2222 echo "$as_me:$LINENO: result: $INSTALL" >&5
2223 echo "${ECHO_T}$INSTALL" >&6
2225 echo "$as_me:$LINENO: result: no" >&5
2226 echo "${ECHO_T}no" >&6
2229 # Extract the first word of "gmake", so it can be a program name with args.
2230 set dummy gmake
; ac_word
=$2
2231 echo "$as_me:$LINENO: checking for $ac_word" >&5
2232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2233 if test "${ac_cv_prog_MAKER+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 if test -n "$MAKER"; then
2237 ac_cv_prog_MAKER
="$MAKER" # Let the user override the test.
2239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir
=.
2244 for ac_exec_ext
in '' $ac_executable_extensions; do
2245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2246 ac_cv_prog_MAKER
="gmake"
2247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 test -z "$ac_cv_prog_MAKER" && ac_cv_prog_MAKER
="make"
2256 MAKER
=$ac_cv_prog_MAKER
2257 if test -n "$MAKER"; then
2258 echo "$as_me:$LINENO: result: $MAKER" >&5
2259 echo "${ECHO_T}$MAKER" >&6
2261 echo "$as_me:$LINENO: result: no" >&5
2262 echo "${ECHO_T}no" >&6
2265 # Extract the first word of "gmake", so it can be a program name with args.
2266 set dummy gmake
; ac_word
=$2
2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269 if test "${ac_cv_path_GMAKE+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 ac_cv_path_GMAKE
="$GMAKE" # Let the user override the test with a path.
2277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2281 test -z "$as_dir" && as_dir
=.
2282 for ac_exec_ext
in '' $ac_executable_extensions; do
2283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2284 ac_cv_path_GMAKE
="$as_dir/$ac_word$ac_exec_ext"
2285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 GMAKE
=$ac_cv_path_GMAKE
2296 if test -n "$GMAKE"; then
2297 echo "$as_me:$LINENO: result: $GMAKE" >&5
2298 echo "${ECHO_T}$GMAKE" >&6
2300 echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6
2304 # Extract the first word of "gunzip", so it can be a program name with args.
2305 set dummy gunzip
; ac_word
=$2
2306 echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2308 if test "${ac_cv_path_GUNZIP+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 ac_cv_path_GUNZIP
="$GUNZIP" # Let the user override the test with a path.
2316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir
=.
2321 for ac_exec_ext
in '' $ac_executable_extensions; do
2322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2323 ac_cv_path_GUNZIP
="$as_dir/$ac_word$ac_exec_ext"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 GUNZIP
=$ac_cv_path_GUNZIP
2335 if test -n "$GUNZIP"; then
2336 echo "$as_me:$LINENO: result: $GUNZIP" >&5
2337 echo "${ECHO_T}$GUNZIP" >&6
2339 echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6
2343 # Extract the first word of "pkg-config", so it can be a program name with args.
2344 set dummy pkg
-config; ac_word
=$2
2345 echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2347 if test "${ac_cv_path_PKGCONFIG+set}" = set; then
2348 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 ac_cv_path_PKGCONFIG
="$PKGCONFIG" # Let the user override the test with a path.
2355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir
=.
2360 for ac_exec_ext
in '' $ac_executable_extensions; do
2361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2362 ac_cv_path_PKGCONFIG
="$as_dir/$ac_word$ac_exec_ext"
2363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 PKGCONFIG
=$ac_cv_path_PKGCONFIG
2374 if test -n "$PKGCONFIG"; then
2375 echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
2376 echo "${ECHO_T}$PKGCONFIG" >&6
2378 echo "$as_me:$LINENO: result: no" >&5
2379 echo "${ECHO_T}no" >&6
2383 echo "$as_me:$LINENO: checking for crypt in -ldescrypt" >&5
2384 echo $ECHO_N "checking for crypt in -ldescrypt... $ECHO_C" >&6
2385 if test "${ac_cv_lib_descrypt_crypt+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2388 ac_check_lib_save_LIBS
=$LIBS
2389 LIBS
="-ldescrypt $LIBS"
2390 cat >conftest.
$ac_ext <<_ACEOF
2391 #line $LINENO "configure"
2392 #include "confdefs.h"
2394 /* Override any gcc2 internal prototype to avoid an error. */
2398 /* We use char because int might match the return type of a gcc2
2399 builtin and then its argument prototype would still apply. */
2401 #ifdef F77_DUMMY_MAIN
2405 int F77_DUMMY_MAIN() { return 1; }
2415 rm -f conftest.
$ac_objext conftest
$ac_exeext
2416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2417 (eval $ac_link) 2>&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); } &&
2421 { ac_try
='test -s conftest$ac_exeext'
2422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }; }; then
2427 ac_cv_lib_descrypt_crypt
=yes
2429 echo "$as_me: failed program was:" >&5
2430 cat conftest.
$ac_ext >&5
2431 ac_cv_lib_descrypt_crypt
=no
2433 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2434 LIBS
=$ac_check_lib_save_LIBS
2436 echo "$as_me:$LINENO: result: $ac_cv_lib_descrypt_crypt" >&5
2437 echo "${ECHO_T}$ac_cv_lib_descrypt_crypt" >&6
2438 if test $ac_cv_lib_descrypt_crypt = yes; then
2439 cat >>confdefs.h
<<\_ACEOF
2440 #define HAVE_CRYPT 1
2442 IRCDLIBS
="$IRCDLIBS-ldescrypt " MKPASSWDLIBS
="-ldescrypt"
2444 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
2445 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
2446 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 ac_check_lib_save_LIBS
=$LIBS
2450 LIBS
="-lcrypt $LIBS"
2451 cat >conftest.
$ac_ext <<_ACEOF
2452 #line $LINENO "configure"
2453 #include "confdefs.h"
2455 /* Override any gcc2 internal prototype to avoid an error. */
2459 /* We use char because int might match the return type of a gcc2
2460 builtin and then its argument prototype would still apply. */
2462 #ifdef F77_DUMMY_MAIN
2466 int F77_DUMMY_MAIN() { return 1; }
2476 rm -f conftest.
$ac_objext conftest
$ac_exeext
2477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2478 (eval $ac_link) 2>&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); } &&
2482 { ac_try
='test -s conftest$ac_exeext'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 ac_cv_lib_crypt_crypt
=yes
2490 echo "$as_me: failed program was:" >&5
2491 cat conftest.
$ac_ext >&5
2492 ac_cv_lib_crypt_crypt
=no
2494 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2495 LIBS
=$ac_check_lib_save_LIBS
2497 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
2498 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
2499 if test $ac_cv_lib_crypt_crypt = yes; then
2500 cat >>confdefs.h
<<\_ACEOF
2501 #define HAVE_CRYPT 1
2503 IRCDLIBS
="$IRCDLIBS-lcrypt " MKPASSWDLIBS
="-lcrypt"
2508 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
2509 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
2510 if test "${ac_cv_lib_socket_socket+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 ac_check_lib_save_LIBS
=$LIBS
2514 LIBS
="-lsocket $LIBS"
2515 cat >conftest.
$ac_ext <<_ACEOF
2516 #line $LINENO "configure"
2517 #include "confdefs.h"
2519 /* Override any gcc2 internal prototype to avoid an error. */
2523 /* We use char because int might match the return type of a gcc2
2524 builtin and then its argument prototype would still apply. */
2526 #ifdef F77_DUMMY_MAIN
2530 int F77_DUMMY_MAIN() { return 1; }
2540 rm -f conftest.
$ac_objext conftest
$ac_exeext
2541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2542 (eval $ac_link) 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); } &&
2546 { ac_try
='test -s conftest$ac_exeext'
2547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }; }; then
2552 ac_cv_lib_socket_socket
=yes
2554 echo "$as_me: failed program was:" >&5
2555 cat conftest.
$ac_ext >&5
2556 ac_cv_lib_socket_socket
=no
2558 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2559 LIBS
=$ac_check_lib_save_LIBS
2561 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
2562 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
2563 if test $ac_cv_lib_socket_socket = yes; then
2564 IRCDLIBS
="$IRCDLIBS-lsocket " SOCKLIB
="-lsocket"
2567 echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
2568 echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6
2569 if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
2570 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 ac_check_lib_save_LIBS
=$LIBS
2574 cat >conftest.
$ac_ext <<_ACEOF
2575 #line $LINENO "configure"
2576 #include "confdefs.h"
2578 /* Override any gcc2 internal prototype to avoid an error. */
2582 /* We use char because int might match the return type of a gcc2
2583 builtin and then its argument prototype would still apply. */
2585 #ifdef F77_DUMMY_MAIN
2589 int F77_DUMMY_MAIN() { return 1; }
2599 rm -f conftest.
$ac_objext conftest
$ac_exeext
2600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2601 (eval $ac_link) 2>&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } &&
2605 { ac_try
='test -s conftest$ac_exeext'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; }; then
2611 ac_cv_lib_nsl_inet_ntoa
=yes
2613 echo "$as_me: failed program was:" >&5
2614 cat conftest.
$ac_ext >&5
2615 ac_cv_lib_nsl_inet_ntoa
=no
2617 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2618 LIBS
=$ac_check_lib_save_LIBS
2620 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
2621 echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6
2622 if test $ac_cv_lib_nsl_inet_ntoa = yes; then
2623 IRCDLIBS
="$IRCDLIBS-lnsl " INETLIB
="-lnsl"
2633 ac_cpp
='$CPP $CPPFLAGS'
2634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2637 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2638 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2639 # On Suns, sometimes $CPP names a directory.
2640 if test -n "$CPP" && test -d "$CPP"; then
2643 if test -z "$CPP"; then
2644 if test "${ac_cv_prog_CPP+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2647 # Double quotes because CPP needs to be expanded
2648 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2651 for ac_c_preproc_warn_flag
in '' yes
2653 # Use a header file that comes with gcc, so configuring glibc
2654 # with a fresh cross-compiler works.
2655 # On the NeXT, cc -E runs the code through the compiler's parser,
2656 # not just through cpp. "Syntax error" is here to catch this case.
2657 cat >conftest.
$ac_ext <<_ACEOF
2658 #line $LINENO "configure"
2659 #include "confdefs.h"
2663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2664 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2666 egrep -v '^ *\+' conftest.er1
>conftest.err
2668 cat conftest.err
>&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); } >/dev
/null
; then
2671 if test -s conftest.err
; then
2672 ac_cpp_err
=$ac_c_preproc_warn_flag
2679 if test -z "$ac_cpp_err"; then
2682 echo "$as_me: failed program was:" >&5
2683 cat conftest.
$ac_ext >&5
2684 # Broken: fails on valid input.
2687 rm -f conftest.err conftest.
$ac_ext
2689 # OK, works on sane cases. Now check whether non-existent headers
2690 # can be detected and how.
2691 cat >conftest.
$ac_ext <<_ACEOF
2692 #line $LINENO "configure"
2693 #include "confdefs.h"
2694 #include <ac_nonexistent.h>
2696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2697 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2699 egrep -v '^ *\+' conftest.er1
>conftest.err
2701 cat conftest.err
>&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); } >/dev
/null
; then
2704 if test -s conftest.err
; then
2705 ac_cpp_err
=$ac_c_preproc_warn_flag
2712 if test -z "$ac_cpp_err"; then
2713 # Broken: success on invalid input.
2716 echo "$as_me: failed program was:" >&5
2717 cat conftest.
$ac_ext >&5
2718 # Passes both tests.
2722 rm -f conftest.err conftest.
$ac_ext
2725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2726 rm -f conftest.err conftest.
$ac_ext
2727 if $ac_preproc_ok; then
2739 echo "$as_me:$LINENO: result: $CPP" >&5
2740 echo "${ECHO_T}$CPP" >&6
2742 for ac_c_preproc_warn_flag
in '' yes
2744 # Use a header file that comes with gcc, so configuring glibc
2745 # with a fresh cross-compiler works.
2746 # On the NeXT, cc -E runs the code through the compiler's parser,
2747 # not just through cpp. "Syntax error" is here to catch this case.
2748 cat >conftest.
$ac_ext <<_ACEOF
2749 #line $LINENO "configure"
2750 #include "confdefs.h"
2754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2757 egrep -v '^ *\+' conftest.er1
>conftest.err
2759 cat conftest.err
>&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); } >/dev
/null
; then
2762 if test -s conftest.err
; then
2763 ac_cpp_err
=$ac_c_preproc_warn_flag
2770 if test -z "$ac_cpp_err"; then
2773 echo "$as_me: failed program was:" >&5
2774 cat conftest.
$ac_ext >&5
2775 # Broken: fails on valid input.
2778 rm -f conftest.err conftest.
$ac_ext
2780 # OK, works on sane cases. Now check whether non-existent headers
2781 # can be detected and how.
2782 cat >conftest.
$ac_ext <<_ACEOF
2783 #line $LINENO "configure"
2784 #include "confdefs.h"
2785 #include <ac_nonexistent.h>
2787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2788 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2790 egrep -v '^ *\+' conftest.er1
>conftest.err
2792 cat conftest.err
>&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); } >/dev
/null
; then
2795 if test -s conftest.err
; then
2796 ac_cpp_err
=$ac_c_preproc_warn_flag
2803 if test -z "$ac_cpp_err"; then
2804 # Broken: success on invalid input.
2807 echo "$as_me: failed program was:" >&5
2808 cat conftest.
$ac_ext >&5
2809 # Passes both tests.
2813 rm -f conftest.err conftest.
$ac_ext
2816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2817 rm -f conftest.err conftest.
$ac_ext
2818 if $ac_preproc_ok; then
2821 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2822 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2823 { (exit 1); exit 1; }; }
2827 ac_cpp
='$CPP $CPPFLAGS'
2828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2833 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2834 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2835 if test "${ac_cv_header_stdc+set}" = set; then
2836 echo $ECHO_N "(cached) $ECHO_C" >&6
2838 cat >conftest.
$ac_ext <<_ACEOF
2839 #line $LINENO "configure"
2840 #include "confdefs.h"
2847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2848 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2850 egrep -v '^ *\+' conftest.er1
>conftest.err
2852 cat conftest.err
>&5
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); } >/dev
/null
; then
2855 if test -s conftest.err
; then
2856 ac_cpp_err
=$ac_c_preproc_warn_flag
2863 if test -z "$ac_cpp_err"; then
2864 ac_cv_header_stdc
=yes
2866 echo "$as_me: failed program was:" >&5
2867 cat conftest.
$ac_ext >&5
2868 ac_cv_header_stdc
=no
2870 rm -f conftest.err conftest.
$ac_ext
2872 if test $ac_cv_header_stdc = yes; then
2873 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2874 cat >conftest.
$ac_ext <<_ACEOF
2875 #line $LINENO "configure"
2876 #include "confdefs.h"
2880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2881 egrep "memchr" >/dev
/null
2>&1; then
2884 ac_cv_header_stdc
=no
2890 if test $ac_cv_header_stdc = yes; then
2891 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2892 cat >conftest.
$ac_ext <<_ACEOF
2893 #line $LINENO "configure"
2894 #include "confdefs.h"
2898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2899 egrep "free" >/dev
/null
2>&1; then
2902 ac_cv_header_stdc
=no
2908 if test $ac_cv_header_stdc = yes; then
2909 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2910 if test "$cross_compiling" = yes; then
2913 cat >conftest.
$ac_ext <<_ACEOF
2914 #line $LINENO "configure"
2915 #include "confdefs.h"
2917 #if ((' ' & 0x0FF) == 0x020)
2918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2921 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2922 || ('j' <= (c) && (c) <= 'r') \
2923 || ('s' <= (c) && (c) <= 'z'))
2924 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2927 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2932 for (i = 0; i < 256; i++)
2933 if (XOR (islower (i), ISLOWER (i))
2934 || toupper (i) != TOUPPER (i))
2939 rm -f conftest
$ac_exeext
2940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2941 (eval $ac_link) 2>&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; }; then
2952 echo "$as_me: program exited with status $ac_status" >&5
2953 echo "$as_me: failed program was:" >&5
2954 cat conftest.
$ac_ext >&5
2956 ac_cv_header_stdc
=no
2958 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2962 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2963 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2964 if test $ac_cv_header_stdc = yes; then
2966 cat >>confdefs.h
<<\_ACEOF
2967 #define STDC_HEADERS 1
2972 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2982 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2983 inttypes.h stdint.h unistd.h
2985 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2986 echo "$as_me:$LINENO: checking for $ac_header" >&5
2987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2989 echo $ECHO_N "(cached) $ECHO_C" >&6
2991 cat >conftest.
$ac_ext <<_ACEOF
2992 #line $LINENO "configure"
2993 #include "confdefs.h"
2994 $ac_includes_default
2996 #include <$ac_header>
2998 rm -f conftest.
$ac_objext
2999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3000 (eval $ac_compile) 2>&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); } &&
3004 { ac_try
='test -s conftest.$ac_objext'
3005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }; }; then
3010 eval "$as_ac_Header=yes"
3012 echo "$as_me: failed program was:" >&5
3013 cat conftest.
$ac_ext >&5
3014 eval "$as_ac_Header=no"
3016 rm -f conftest.
$ac_objext conftest.
$ac_ext
3018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3021 cat >>confdefs.h
<<_ACEOF
3022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3030 if test "${ac_cv_header_sys_param_h+set}" = set; then
3031 echo "$as_me:$LINENO: checking for sys/param.h" >&5
3032 echo $ECHO_N "checking for sys/param.h... $ECHO_C" >&6
3033 if test "${ac_cv_header_sys_param_h+set}" = set; then
3034 echo $ECHO_N "(cached) $ECHO_C" >&6
3036 echo "$as_me:$LINENO: result: $ac_cv_header_sys_param_h" >&5
3037 echo "${ECHO_T}$ac_cv_header_sys_param_h" >&6
3039 # Is the header compilable?
3040 echo "$as_me:$LINENO: checking sys/param.h usability" >&5
3041 echo $ECHO_N "checking sys/param.h usability... $ECHO_C" >&6
3042 cat >conftest.
$ac_ext <<_ACEOF
3043 #line $LINENO "configure"
3044 #include "confdefs.h"
3045 $ac_includes_default
3046 #include <sys/param.h>
3048 rm -f conftest.
$ac_objext
3049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3050 (eval $ac_compile) 2>&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); } &&
3054 { ac_try
='test -s conftest.$ac_objext'
3055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); }; }; then
3060 ac_header_compiler
=yes
3062 echo "$as_me: failed program was:" >&5
3063 cat conftest.
$ac_ext >&5
3064 ac_header_compiler
=no
3066 rm -f conftest.
$ac_objext conftest.
$ac_ext
3067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3068 echo "${ECHO_T}$ac_header_compiler" >&6
3070 # Is the header present?
3071 echo "$as_me:$LINENO: checking sys/param.h presence" >&5
3072 echo $ECHO_N "checking sys/param.h presence... $ECHO_C" >&6
3073 cat >conftest.
$ac_ext <<_ACEOF
3074 #line $LINENO "configure"
3075 #include "confdefs.h"
3076 #include <sys/param.h>
3078 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3079 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3081 egrep -v '^ *\+' conftest.er1
>conftest.err
3083 cat conftest.err
>&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); } >/dev
/null
; then
3086 if test -s conftest.err
; then
3087 ac_cpp_err
=$ac_c_preproc_warn_flag
3094 if test -z "$ac_cpp_err"; then
3095 ac_header_preproc
=yes
3097 echo "$as_me: failed program was:" >&5
3098 cat conftest.
$ac_ext >&5
3099 ac_header_preproc
=no
3101 rm -f conftest.err conftest.
$ac_ext
3102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3103 echo "${ECHO_T}$ac_header_preproc" >&6
3105 # So? What about this header?
3106 case $ac_header_compiler:$ac_header_preproc in
3108 { echo "$as_me:$LINENO: WARNING: sys/param.h: accepted by the compiler, rejected by the preprocessor!" >&5
3109 echo "$as_me: WARNING: sys/param.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3110 { echo "$as_me:$LINENO: WARNING: sys/param.h: proceeding with the preprocessor's result" >&5
3111 echo "$as_me: WARNING: sys/param.h: proceeding with the preprocessor's result" >&2;};;
3113 { echo "$as_me:$LINENO: WARNING: sys/param.h: present but cannot be compiled" >&5
3114 echo "$as_me: WARNING: sys/param.h: present but cannot be compiled" >&2;}
3115 { echo "$as_me:$LINENO: WARNING: sys/param.h: check for missing prerequisite headers?" >&5
3116 echo "$as_me: WARNING: sys/param.h: check for missing prerequisite headers?" >&2;}
3117 { echo "$as_me:$LINENO: WARNING: sys/param.h: proceeding with the preprocessor's result" >&5
3118 echo "$as_me: WARNING: sys/param.h: proceeding with the preprocessor's result" >&2;};;
3120 echo "$as_me:$LINENO: checking for sys/param.h" >&5
3121 echo $ECHO_N "checking for sys/param.h... $ECHO_C" >&6
3122 if test "${ac_cv_header_sys_param_h+set}" = set; then
3123 echo $ECHO_N "(cached) $ECHO_C" >&6
3125 ac_cv_header_sys_param_h
=$ac_header_preproc
3127 echo "$as_me:$LINENO: result: $ac_cv_header_sys_param_h" >&5
3128 echo "${ECHO_T}$ac_cv_header_sys_param_h" >&6
3131 if test $ac_cv_header_sys_param_h = yes; then
3132 cat >>confdefs.h
<<\_ACEOF
3139 if test "${ac_cv_header_stdlib_h+set}" = set; then
3140 echo "$as_me:$LINENO: checking for stdlib.h" >&5
3141 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6
3142 if test "${ac_cv_header_stdlib_h+set}" = set; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3145 echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
3146 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6
3148 # Is the header compilable?
3149 echo "$as_me:$LINENO: checking stdlib.h usability" >&5
3150 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6
3151 cat >conftest.
$ac_ext <<_ACEOF
3152 #line $LINENO "configure"
3153 #include "confdefs.h"
3154 $ac_includes_default
3157 rm -f conftest.
$ac_objext
3158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3159 (eval $ac_compile) 2>&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); } &&
3163 { ac_try
='test -s conftest.$ac_objext'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; }; then
3169 ac_header_compiler
=yes
3171 echo "$as_me: failed program was:" >&5
3172 cat conftest.
$ac_ext >&5
3173 ac_header_compiler
=no
3175 rm -f conftest.
$ac_objext conftest.
$ac_ext
3176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3177 echo "${ECHO_T}$ac_header_compiler" >&6
3179 # Is the header present?
3180 echo "$as_me:$LINENO: checking stdlib.h presence" >&5
3181 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6
3182 cat >conftest.
$ac_ext <<_ACEOF
3183 #line $LINENO "configure"
3184 #include "confdefs.h"
3187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3190 egrep -v '^ *\+' conftest.er1
>conftest.err
3192 cat conftest.err
>&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } >/dev
/null
; then
3195 if test -s conftest.err
; then
3196 ac_cpp_err
=$ac_c_preproc_warn_flag
3203 if test -z "$ac_cpp_err"; then
3204 ac_header_preproc
=yes
3206 echo "$as_me: failed program was:" >&5
3207 cat conftest.
$ac_ext >&5
3208 ac_header_preproc
=no
3210 rm -f conftest.err conftest.
$ac_ext
3211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3212 echo "${ECHO_T}$ac_header_preproc" >&6
3214 # So? What about this header?
3215 case $ac_header_compiler:$ac_header_preproc in
3217 { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3218 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3219 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5
3220 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;};;
3222 { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5
3223 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;}
3224 { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5
3225 echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;}
3226 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5
3227 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;};;
3229 echo "$as_me:$LINENO: checking for stdlib.h" >&5
3230 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6
3231 if test "${ac_cv_header_stdlib_h+set}" = set; then
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
3234 ac_cv_header_stdlib_h
=$ac_header_preproc
3236 echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
3237 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6
3240 if test $ac_cv_header_stdlib_h = yes; then
3241 cat >>confdefs.h
<<\_ACEOF
3248 if test "${ac_cv_header_stddef_h+set}" = set; then
3249 echo "$as_me:$LINENO: checking for stddef.h" >&5
3250 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6
3251 if test "${ac_cv_header_stddef_h+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5
3255 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6
3257 # Is the header compilable?
3258 echo "$as_me:$LINENO: checking stddef.h usability" >&5
3259 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6
3260 cat >conftest.
$ac_ext <<_ACEOF
3261 #line $LINENO "configure"
3262 #include "confdefs.h"
3263 $ac_includes_default
3266 rm -f conftest.
$ac_objext
3267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3268 (eval $ac_compile) 2>&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } &&
3272 { ac_try
='test -s conftest.$ac_objext'
3273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); }; }; then
3278 ac_header_compiler
=yes
3280 echo "$as_me: failed program was:" >&5
3281 cat conftest.
$ac_ext >&5
3282 ac_header_compiler
=no
3284 rm -f conftest.
$ac_objext conftest.
$ac_ext
3285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3286 echo "${ECHO_T}$ac_header_compiler" >&6
3288 # Is the header present?
3289 echo "$as_me:$LINENO: checking stddef.h presence" >&5
3290 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6
3291 cat >conftest.
$ac_ext <<_ACEOF
3292 #line $LINENO "configure"
3293 #include "confdefs.h"
3296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3297 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3299 egrep -v '^ *\+' conftest.er1
>conftest.err
3301 cat conftest.err
>&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); } >/dev
/null
; then
3304 if test -s conftest.err
; then
3305 ac_cpp_err
=$ac_c_preproc_warn_flag
3312 if test -z "$ac_cpp_err"; then
3313 ac_header_preproc
=yes
3315 echo "$as_me: failed program was:" >&5
3316 cat conftest.
$ac_ext >&5
3317 ac_header_preproc
=no
3319 rm -f conftest.err conftest.
$ac_ext
3320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3321 echo "${ECHO_T}$ac_header_preproc" >&6
3323 # So? What about this header?
3324 case $ac_header_compiler:$ac_header_preproc in
3326 { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5
3327 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3328 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5
3329 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;};;
3331 { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5
3332 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;}
3333 { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5
3334 echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;}
3335 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5
3336 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;};;
3338 echo "$as_me:$LINENO: checking for stddef.h" >&5
3339 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6
3340 if test "${ac_cv_header_stddef_h+set}" = set; then
3341 echo $ECHO_N "(cached) $ECHO_C" >&6
3343 ac_cv_header_stddef_h
=$ac_header_preproc
3345 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5
3346 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6
3349 if test $ac_cv_header_stddef_h = yes; then
3350 cat >>confdefs.h
<<\_ACEOF
3357 if test "${ac_cv_header_sys_syslog_h+set}" = set; then
3358 echo "$as_me:$LINENO: checking for sys/syslog.h" >&5
3359 echo $ECHO_N "checking for sys/syslog.h... $ECHO_C" >&6
3360 if test "${ac_cv_header_sys_syslog_h+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 echo "$as_me:$LINENO: result: $ac_cv_header_sys_syslog_h" >&5
3364 echo "${ECHO_T}$ac_cv_header_sys_syslog_h" >&6
3366 # Is the header compilable?
3367 echo "$as_me:$LINENO: checking sys/syslog.h usability" >&5
3368 echo $ECHO_N "checking sys/syslog.h usability... $ECHO_C" >&6
3369 cat >conftest.
$ac_ext <<_ACEOF
3370 #line $LINENO "configure"
3371 #include "confdefs.h"
3372 $ac_includes_default
3373 #include <sys/syslog.h>
3375 rm -f conftest.
$ac_objext
3376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3377 (eval $ac_compile) 2>&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); } &&
3381 { ac_try
='test -s conftest.$ac_objext'
3382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); }; }; then
3387 ac_header_compiler
=yes
3389 echo "$as_me: failed program was:" >&5
3390 cat conftest.
$ac_ext >&5
3391 ac_header_compiler
=no
3393 rm -f conftest.
$ac_objext conftest.
$ac_ext
3394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3395 echo "${ECHO_T}$ac_header_compiler" >&6
3397 # Is the header present?
3398 echo "$as_me:$LINENO: checking sys/syslog.h presence" >&5
3399 echo $ECHO_N "checking sys/syslog.h presence... $ECHO_C" >&6
3400 cat >conftest.
$ac_ext <<_ACEOF
3401 #line $LINENO "configure"
3402 #include "confdefs.h"
3403 #include <sys/syslog.h>
3405 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3406 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3408 egrep -v '^ *\+' conftest.er1
>conftest.err
3410 cat conftest.err
>&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); } >/dev
/null
; then
3413 if test -s conftest.err
; then
3414 ac_cpp_err
=$ac_c_preproc_warn_flag
3421 if test -z "$ac_cpp_err"; then
3422 ac_header_preproc
=yes
3424 echo "$as_me: failed program was:" >&5
3425 cat conftest.
$ac_ext >&5
3426 ac_header_preproc
=no
3428 rm -f conftest.err conftest.
$ac_ext
3429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3430 echo "${ECHO_T}$ac_header_preproc" >&6
3432 # So? What about this header?
3433 case $ac_header_compiler:$ac_header_preproc in
3435 { echo "$as_me:$LINENO: WARNING: sys/syslog.h: accepted by the compiler, rejected by the preprocessor!" >&5
3436 echo "$as_me: WARNING: sys/syslog.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3437 { echo "$as_me:$LINENO: WARNING: sys/syslog.h: proceeding with the preprocessor's result" >&5
3438 echo "$as_me: WARNING: sys/syslog.h: proceeding with the preprocessor's result" >&2;};;
3440 { echo "$as_me:$LINENO: WARNING: sys/syslog.h: present but cannot be compiled" >&5
3441 echo "$as_me: WARNING: sys/syslog.h: present but cannot be compiled" >&2;}
3442 { echo "$as_me:$LINENO: WARNING: sys/syslog.h: check for missing prerequisite headers?" >&5
3443 echo "$as_me: WARNING: sys/syslog.h: check for missing prerequisite headers?" >&2;}
3444 { echo "$as_me:$LINENO: WARNING: sys/syslog.h: proceeding with the preprocessor's result" >&5
3445 echo "$as_me: WARNING: sys/syslog.h: proceeding with the preprocessor's result" >&2;};;
3447 echo "$as_me:$LINENO: checking for sys/syslog.h" >&5
3448 echo $ECHO_N "checking for sys/syslog.h... $ECHO_C" >&6
3449 if test "${ac_cv_header_sys_syslog_h+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 ac_cv_header_sys_syslog_h
=$ac_header_preproc
3454 echo "$as_me:$LINENO: result: $ac_cv_header_sys_syslog_h" >&5
3455 echo "${ECHO_T}$ac_cv_header_sys_syslog_h" >&6
3458 if test $ac_cv_header_sys_syslog_h = yes; then
3459 cat >>confdefs.h
<<\_ACEOF
3460 #define SYSSYSLOGH 1
3466 if test "${ac_cv_header_unistd_h+set}" = set; then
3467 echo "$as_me:$LINENO: checking for unistd.h" >&5
3468 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6
3469 if test "${ac_cv_header_unistd_h+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5
3473 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6
3475 # Is the header compilable?
3476 echo "$as_me:$LINENO: checking unistd.h usability" >&5
3477 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6
3478 cat >conftest.
$ac_ext <<_ACEOF
3479 #line $LINENO "configure"
3480 #include "confdefs.h"
3481 $ac_includes_default
3484 rm -f conftest.
$ac_objext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3486 (eval $ac_compile) 2>&5
3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); } &&
3490 { ac_try
='test -s conftest.$ac_objext'
3491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); }; }; then
3496 ac_header_compiler
=yes
3498 echo "$as_me: failed program was:" >&5
3499 cat conftest.
$ac_ext >&5
3500 ac_header_compiler
=no
3502 rm -f conftest.
$ac_objext conftest.
$ac_ext
3503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3504 echo "${ECHO_T}$ac_header_compiler" >&6
3506 # Is the header present?
3507 echo "$as_me:$LINENO: checking unistd.h presence" >&5
3508 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6
3509 cat >conftest.
$ac_ext <<_ACEOF
3510 #line $LINENO "configure"
3511 #include "confdefs.h"
3514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3515 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3517 egrep -v '^ *\+' conftest.er1
>conftest.err
3519 cat conftest.err
>&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } >/dev
/null
; then
3522 if test -s conftest.err
; then
3523 ac_cpp_err
=$ac_c_preproc_warn_flag
3530 if test -z "$ac_cpp_err"; then
3531 ac_header_preproc
=yes
3533 echo "$as_me: failed program was:" >&5
3534 cat conftest.
$ac_ext >&5
3535 ac_header_preproc
=no
3537 rm -f conftest.err conftest.
$ac_ext
3538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3539 echo "${ECHO_T}$ac_header_preproc" >&6
3541 # So? What about this header?
3542 case $ac_header_compiler:$ac_header_preproc in
3544 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5
3545 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3546 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5
3547 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;};;
3549 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5
3550 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;}
3551 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5
3552 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;}
3553 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5
3554 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;};;
3556 echo "$as_me:$LINENO: checking for unistd.h" >&5
3557 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6
3558 if test "${ac_cv_header_unistd_h+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 ac_cv_header_unistd_h
=$ac_header_preproc
3563 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5
3564 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6
3567 if test $ac_cv_header_unistd_h = yes; then
3568 cat >>confdefs.h
<<\_ACEOF
3575 if test "${ac_cv_header_string_h+set}" = set; then
3576 echo "$as_me:$LINENO: checking for string.h" >&5
3577 echo $ECHO_N "checking for string.h... $ECHO_C" >&6
3578 if test "${ac_cv_header_string_h+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5
3582 echo "${ECHO_T}$ac_cv_header_string_h" >&6
3584 # Is the header compilable?
3585 echo "$as_me:$LINENO: checking string.h usability" >&5
3586 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6
3587 cat >conftest.
$ac_ext <<_ACEOF
3588 #line $LINENO "configure"
3589 #include "confdefs.h"
3590 $ac_includes_default
3593 rm -f conftest.
$ac_objext
3594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3595 (eval $ac_compile) 2>&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); } &&
3599 { ac_try
='test -s conftest.$ac_objext'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3605 ac_header_compiler
=yes
3607 echo "$as_me: failed program was:" >&5
3608 cat conftest.
$ac_ext >&5
3609 ac_header_compiler
=no
3611 rm -f conftest.
$ac_objext conftest.
$ac_ext
3612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3613 echo "${ECHO_T}$ac_header_compiler" >&6
3615 # Is the header present?
3616 echo "$as_me:$LINENO: checking string.h presence" >&5
3617 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6
3618 cat >conftest.
$ac_ext <<_ACEOF
3619 #line $LINENO "configure"
3620 #include "confdefs.h"
3623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3626 egrep -v '^ *\+' conftest.er1
>conftest.err
3628 cat conftest.err
>&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); } >/dev
/null
; then
3631 if test -s conftest.err
; then
3632 ac_cpp_err
=$ac_c_preproc_warn_flag
3639 if test -z "$ac_cpp_err"; then
3640 ac_header_preproc
=yes
3642 echo "$as_me: failed program was:" >&5
3643 cat conftest.
$ac_ext >&5
3644 ac_header_preproc
=no
3646 rm -f conftest.err conftest.
$ac_ext
3647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3648 echo "${ECHO_T}$ac_header_preproc" >&6
3650 # So? What about this header?
3651 case $ac_header_compiler:$ac_header_preproc in
3653 { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5
3654 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3655 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5
3656 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;};;
3658 { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5
3659 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;}
3660 { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5
3661 echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;}
3662 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5
3663 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;};;
3665 echo "$as_me:$LINENO: checking for string.h" >&5
3666 echo $ECHO_N "checking for string.h... $ECHO_C" >&6
3667 if test "${ac_cv_header_string_h+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 ac_cv_header_string_h
=$ac_header_preproc
3672 echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5
3673 echo "${ECHO_T}$ac_cv_header_string_h" >&6
3676 if test $ac_cv_header_string_h = yes; then
3677 cat >>confdefs.h
<<\_ACEOF
3684 if test "${ac_cv_header_strings_h+set}" = set; then
3685 echo "$as_me:$LINENO: checking for strings.h" >&5
3686 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
3687 if test "${ac_cv_header_strings_h+set}" = set; then
3688 echo $ECHO_N "(cached) $ECHO_C" >&6
3690 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
3691 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
3693 # Is the header compilable?
3694 echo "$as_me:$LINENO: checking strings.h usability" >&5
3695 echo $ECHO_N "checking strings.h usability... $ECHO_C" >&6
3696 cat >conftest.
$ac_ext <<_ACEOF
3697 #line $LINENO "configure"
3698 #include "confdefs.h"
3699 $ac_includes_default
3700 #include <strings.h>
3702 rm -f conftest.
$ac_objext
3703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3704 (eval $ac_compile) 2>&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); } &&
3708 { ac_try
='test -s conftest.$ac_objext'
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; }; then
3714 ac_header_compiler
=yes
3716 echo "$as_me: failed program was:" >&5
3717 cat conftest.
$ac_ext >&5
3718 ac_header_compiler
=no
3720 rm -f conftest.
$ac_objext conftest.
$ac_ext
3721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3722 echo "${ECHO_T}$ac_header_compiler" >&6
3724 # Is the header present?
3725 echo "$as_me:$LINENO: checking strings.h presence" >&5
3726 echo $ECHO_N "checking strings.h presence... $ECHO_C" >&6
3727 cat >conftest.
$ac_ext <<_ACEOF
3728 #line $LINENO "configure"
3729 #include "confdefs.h"
3730 #include <strings.h>
3732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3733 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3735 egrep -v '^ *\+' conftest.er1
>conftest.err
3737 cat conftest.err
>&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); } >/dev
/null
; then
3740 if test -s conftest.err
; then
3741 ac_cpp_err
=$ac_c_preproc_warn_flag
3748 if test -z "$ac_cpp_err"; then
3749 ac_header_preproc
=yes
3751 echo "$as_me: failed program was:" >&5
3752 cat conftest.
$ac_ext >&5
3753 ac_header_preproc
=no
3755 rm -f conftest.err conftest.
$ac_ext
3756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3757 echo "${ECHO_T}$ac_header_preproc" >&6
3759 # So? What about this header?
3760 case $ac_header_compiler:$ac_header_preproc in
3762 { echo "$as_me:$LINENO: WARNING: strings.h: accepted by the compiler, rejected by the preprocessor!" >&5
3763 echo "$as_me: WARNING: strings.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3764 { echo "$as_me:$LINENO: WARNING: strings.h: proceeding with the preprocessor's result" >&5
3765 echo "$as_me: WARNING: strings.h: proceeding with the preprocessor's result" >&2;};;
3767 { echo "$as_me:$LINENO: WARNING: strings.h: present but cannot be compiled" >&5
3768 echo "$as_me: WARNING: strings.h: present but cannot be compiled" >&2;}
3769 { echo "$as_me:$LINENO: WARNING: strings.h: check for missing prerequisite headers?" >&5
3770 echo "$as_me: WARNING: strings.h: check for missing prerequisite headers?" >&2;}
3771 { echo "$as_me:$LINENO: WARNING: strings.h: proceeding with the preprocessor's result" >&5
3772 echo "$as_me: WARNING: strings.h: proceeding with the preprocessor's result" >&2;};;
3774 echo "$as_me:$LINENO: checking for strings.h" >&5
3775 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
3776 if test "${ac_cv_header_strings_h+set}" = set; then
3777 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 ac_cv_header_strings_h
=$ac_header_preproc
3781 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
3782 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
3785 if test $ac_cv_header_strings_h = yes; then
3786 cat >>confdefs.h
<<\_ACEOF
3793 if test "${ac_cv_header_malloc_h+set}" = set; then
3794 echo "$as_me:$LINENO: checking for malloc.h" >&5
3795 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6
3796 if test "${ac_cv_header_malloc_h+set}" = set; then
3797 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5
3800 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6
3802 # Is the header compilable?
3803 echo "$as_me:$LINENO: checking malloc.h usability" >&5
3804 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6
3805 cat >conftest.
$ac_ext <<_ACEOF
3806 #line $LINENO "configure"
3807 #include "confdefs.h"
3808 $ac_includes_default
3811 rm -f conftest.
$ac_objext
3812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3813 (eval $ac_compile) 2>&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); } &&
3817 { ac_try
='test -s conftest.$ac_objext'
3818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); }; }; then
3823 ac_header_compiler
=yes
3825 echo "$as_me: failed program was:" >&5
3826 cat conftest.
$ac_ext >&5
3827 ac_header_compiler
=no
3829 rm -f conftest.
$ac_objext conftest.
$ac_ext
3830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3831 echo "${ECHO_T}$ac_header_compiler" >&6
3833 # Is the header present?
3834 echo "$as_me:$LINENO: checking malloc.h presence" >&5
3835 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6
3836 cat >conftest.
$ac_ext <<_ACEOF
3837 #line $LINENO "configure"
3838 #include "confdefs.h"
3841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3842 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3844 egrep -v '^ *\+' conftest.er1
>conftest.err
3846 cat conftest.err
>&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); } >/dev
/null
; then
3849 if test -s conftest.err
; then
3850 ac_cpp_err
=$ac_c_preproc_warn_flag
3857 if test -z "$ac_cpp_err"; then
3858 ac_header_preproc
=yes
3860 echo "$as_me: failed program was:" >&5
3861 cat conftest.
$ac_ext >&5
3862 ac_header_preproc
=no
3864 rm -f conftest.err conftest.
$ac_ext
3865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3866 echo "${ECHO_T}$ac_header_preproc" >&6
3868 # So? What about this header?
3869 case $ac_header_compiler:$ac_header_preproc in
3871 { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
3872 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3873 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5
3874 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;};;
3876 { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5
3877 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;}
3878 { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5
3879 echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;}
3880 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5
3881 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;};;
3883 echo "$as_me:$LINENO: checking for malloc.h" >&5
3884 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6
3885 if test "${ac_cv_header_malloc_h+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 ac_cv_header_malloc_h
=$ac_header_preproc
3890 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5
3891 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6
3894 if test $ac_cv_header_malloc_h = yes; then
3895 cat >>confdefs.h
<<\_ACEOF
3896 #define MALLOCH <malloc.h>
3902 if test "${ac_cv_header_sys_rusage_h+set}" = set; then
3903 echo "$as_me:$LINENO: checking for sys/rusage.h" >&5
3904 echo $ECHO_N "checking for sys/rusage.h... $ECHO_C" >&6
3905 if test "${ac_cv_header_sys_rusage_h+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3908 echo "$as_me:$LINENO: result: $ac_cv_header_sys_rusage_h" >&5
3909 echo "${ECHO_T}$ac_cv_header_sys_rusage_h" >&6
3911 # Is the header compilable?
3912 echo "$as_me:$LINENO: checking sys/rusage.h usability" >&5
3913 echo $ECHO_N "checking sys/rusage.h usability... $ECHO_C" >&6
3914 cat >conftest.
$ac_ext <<_ACEOF
3915 #line $LINENO "configure"
3916 #include "confdefs.h"
3917 $ac_includes_default
3918 #include <sys/rusage.h>
3920 rm -f conftest.
$ac_objext
3921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3922 (eval $ac_compile) 2>&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); } &&
3926 { ac_try
='test -s conftest.$ac_objext'
3927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; }; then
3932 ac_header_compiler
=yes
3934 echo "$as_me: failed program was:" >&5
3935 cat conftest.
$ac_ext >&5
3936 ac_header_compiler
=no
3938 rm -f conftest.
$ac_objext conftest.
$ac_ext
3939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3940 echo "${ECHO_T}$ac_header_compiler" >&6
3942 # Is the header present?
3943 echo "$as_me:$LINENO: checking sys/rusage.h presence" >&5
3944 echo $ECHO_N "checking sys/rusage.h presence... $ECHO_C" >&6
3945 cat >conftest.
$ac_ext <<_ACEOF
3946 #line $LINENO "configure"
3947 #include "confdefs.h"
3948 #include <sys/rusage.h>
3950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3951 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3953 egrep -v '^ *\+' conftest.er1
>conftest.err
3955 cat conftest.err
>&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); } >/dev
/null
; then
3958 if test -s conftest.err
; then
3959 ac_cpp_err
=$ac_c_preproc_warn_flag
3966 if test -z "$ac_cpp_err"; then
3967 ac_header_preproc
=yes
3969 echo "$as_me: failed program was:" >&5
3970 cat conftest.
$ac_ext >&5
3971 ac_header_preproc
=no
3973 rm -f conftest.err conftest.
$ac_ext
3974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3975 echo "${ECHO_T}$ac_header_preproc" >&6
3977 # So? What about this header?
3978 case $ac_header_compiler:$ac_header_preproc in
3980 { echo "$as_me:$LINENO: WARNING: sys/rusage.h: accepted by the compiler, rejected by the preprocessor!" >&5
3981 echo "$as_me: WARNING: sys/rusage.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3982 { echo "$as_me:$LINENO: WARNING: sys/rusage.h: proceeding with the preprocessor's result" >&5
3983 echo "$as_me: WARNING: sys/rusage.h: proceeding with the preprocessor's result" >&2;};;
3985 { echo "$as_me:$LINENO: WARNING: sys/rusage.h: present but cannot be compiled" >&5
3986 echo "$as_me: WARNING: sys/rusage.h: present but cannot be compiled" >&2;}
3987 { echo "$as_me:$LINENO: WARNING: sys/rusage.h: check for missing prerequisite headers?" >&5
3988 echo "$as_me: WARNING: sys/rusage.h: check for missing prerequisite headers?" >&2;}
3989 { echo "$as_me:$LINENO: WARNING: sys/rusage.h: proceeding with the preprocessor's result" >&5
3990 echo "$as_me: WARNING: sys/rusage.h: proceeding with the preprocessor's result" >&2;};;
3992 echo "$as_me:$LINENO: checking for sys/rusage.h" >&5
3993 echo $ECHO_N "checking for sys/rusage.h... $ECHO_C" >&6
3994 if test "${ac_cv_header_sys_rusage_h+set}" = set; then
3995 echo $ECHO_N "(cached) $ECHO_C" >&6
3997 ac_cv_header_sys_rusage_h
=$ac_header_preproc
3999 echo "$as_me:$LINENO: result: $ac_cv_header_sys_rusage_h" >&5
4000 echo "${ECHO_T}$ac_cv_header_sys_rusage_h" >&6
4003 if test $ac_cv_header_sys_rusage_h = yes; then
4004 cat >>confdefs.h
<<\_ACEOF
4011 if test "${ac_cv_header_glob_h+set}" = set; then
4012 echo "$as_me:$LINENO: checking for glob.h" >&5
4013 echo $ECHO_N "checking for glob.h... $ECHO_C" >&6
4014 if test "${ac_cv_header_glob_h+set}" = set; then
4015 echo $ECHO_N "(cached) $ECHO_C" >&6
4017 echo "$as_me:$LINENO: result: $ac_cv_header_glob_h" >&5
4018 echo "${ECHO_T}$ac_cv_header_glob_h" >&6
4020 # Is the header compilable?
4021 echo "$as_me:$LINENO: checking glob.h usability" >&5
4022 echo $ECHO_N "checking glob.h usability... $ECHO_C" >&6
4023 cat >conftest.
$ac_ext <<_ACEOF
4024 #line $LINENO "configure"
4025 #include "confdefs.h"
4026 $ac_includes_default
4029 rm -f conftest.
$ac_objext
4030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4031 (eval $ac_compile) 2>&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); } &&
4035 { ac_try
='test -s conftest.$ac_objext'
4036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; }; then
4041 ac_header_compiler
=yes
4043 echo "$as_me: failed program was:" >&5
4044 cat conftest.
$ac_ext >&5
4045 ac_header_compiler
=no
4047 rm -f conftest.
$ac_objext conftest.
$ac_ext
4048 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4049 echo "${ECHO_T}$ac_header_compiler" >&6
4051 # Is the header present?
4052 echo "$as_me:$LINENO: checking glob.h presence" >&5
4053 echo $ECHO_N "checking glob.h presence... $ECHO_C" >&6
4054 cat >conftest.
$ac_ext <<_ACEOF
4055 #line $LINENO "configure"
4056 #include "confdefs.h"
4059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4062 egrep -v '^ *\+' conftest.er1
>conftest.err
4064 cat conftest.err
>&5
4065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } >/dev
/null
; then
4067 if test -s conftest.err
; then
4068 ac_cpp_err
=$ac_c_preproc_warn_flag
4075 if test -z "$ac_cpp_err"; then
4076 ac_header_preproc
=yes
4078 echo "$as_me: failed program was:" >&5
4079 cat conftest.
$ac_ext >&5
4080 ac_header_preproc
=no
4082 rm -f conftest.err conftest.
$ac_ext
4083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4084 echo "${ECHO_T}$ac_header_preproc" >&6
4086 # So? What about this header?
4087 case $ac_header_compiler:$ac_header_preproc in
4089 { echo "$as_me:$LINENO: WARNING: glob.h: accepted by the compiler, rejected by the preprocessor!" >&5
4090 echo "$as_me: WARNING: glob.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4091 { echo "$as_me:$LINENO: WARNING: glob.h: proceeding with the preprocessor's result" >&5
4092 echo "$as_me: WARNING: glob.h: proceeding with the preprocessor's result" >&2;};;
4094 { echo "$as_me:$LINENO: WARNING: glob.h: present but cannot be compiled" >&5
4095 echo "$as_me: WARNING: glob.h: present but cannot be compiled" >&2;}
4096 { echo "$as_me:$LINENO: WARNING: glob.h: check for missing prerequisite headers?" >&5
4097 echo "$as_me: WARNING: glob.h: check for missing prerequisite headers?" >&2;}
4098 { echo "$as_me:$LINENO: WARNING: glob.h: proceeding with the preprocessor's result" >&5
4099 echo "$as_me: WARNING: glob.h: proceeding with the preprocessor's result" >&2;};;
4101 echo "$as_me:$LINENO: checking for glob.h" >&5
4102 echo $ECHO_N "checking for glob.h... $ECHO_C" >&6
4103 if test "${ac_cv_header_glob_h+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 ac_cv_header_glob_h
=$ac_header_preproc
4108 echo "$as_me:$LINENO: result: $ac_cv_header_glob_h" >&5
4109 echo "${ECHO_T}$ac_cv_header_glob_h" >&6
4112 if test $ac_cv_header_glob_h = yes; then
4113 cat >>confdefs.h
<<\_ACEOF
4120 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4121 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4122 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 ac_cv_prog_cc_stdc
=no
4127 cat >conftest.
$ac_ext <<_ACEOF
4128 #line $LINENO "configure"
4129 #include "confdefs.h"
4132 #include <sys/types.h>
4133 #include <sys/stat.h>
4134 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4135 struct buf { int x; };
4136 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4137 static char *e (p, i)
4143 static char *f (char * (*g) (char **, int), char **p, ...)
4148 s = g (p, va_arg (v,int));
4152 int test (int i, double x);
4153 struct s1 {int (*f) (int a);};
4154 struct s2 {int (*f) (double a);};
4155 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4158 #ifdef F77_DUMMY_MAIN
4162 int F77_DUMMY_MAIN() { return 1; }
4167 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4172 # Don't try gcc -ansi; that turns off useful extensions and
4173 # breaks some systems' header files.
4174 # AIX -qlanglvl=ansi
4175 # Ultrix and OSF/1 -std1
4176 # HP-UX 10.20 and later -Ae
4177 # HP-UX older versions -Aa -D_HPUX_SOURCE
4178 # SVR4 -Xc -D__EXTENSIONS__
4179 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4181 CC
="$ac_save_CC $ac_arg"
4182 rm -f conftest.
$ac_objext
4183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4184 (eval $ac_compile) 2>&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); } &&
4188 { ac_try
='test -s conftest.$ac_objext'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; }; then
4194 ac_cv_prog_cc_stdc
=$ac_arg
4197 echo "$as_me: failed program was:" >&5
4198 cat conftest.
$ac_ext >&5
4200 rm -f conftest.
$ac_objext
4202 rm -f conftest.
$ac_ext conftest.
$ac_objext
4207 case "x$ac_cv_prog_cc_stdc" in
4209 echo "$as_me:$LINENO: result: none needed" >&5
4210 echo "${ECHO_T}none needed" >&6 ;;
4212 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4213 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4214 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4217 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4218 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4219 if test "${ac_cv_c_const+set}" = set; then
4220 echo $ECHO_N "(cached) $ECHO_C" >&6
4222 cat >conftest.
$ac_ext <<_ACEOF
4223 #line $LINENO "configure"
4224 #include "confdefs.h"
4226 #ifdef F77_DUMMY_MAIN
4230 int F77_DUMMY_MAIN() { return 1; }
4235 /* FIXME: Include the comments suggested by Paul. */
4237 /* Ultrix mips cc rejects this. */
4238 typedef int charset[2];
4240 /* SunOS 4.1.1 cc rejects this. */
4241 char const *const *ccp;
4243 /* NEC SVR4.0.2 mips cc rejects this. */
4244 struct point {int x, y;};
4245 static struct point const zero = {0,0};
4246 /* AIX XL C 1.02.0.0 rejects this.
4247 It does not let you subtract one const X* pointer from another in
4248 an arm of an if-expression whose if-part is not a constant
4250 const char *g = "string";
4251 ccp = &g + (g ? g-g : 0);
4252 /* HPUX 7.0 cc rejects these. */
4255 ccp = (char const *const *) p;
4256 { /* SCO 3.2v4 cc rejects this. */
4258 char const *s = 0 ? (char *) 0 : (char const *) 0;
4262 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4264 const int *foo = &x[0];
4267 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4268 typedef const int *iptr;
4272 { /* AIX XL C 1.02.0.0 rejects this saying
4273 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4274 struct s { int j; const int *ap[3]; };
4275 struct s *b; b->j = 5;
4277 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4286 rm -f conftest.
$ac_objext
4287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4288 (eval $ac_compile) 2>&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); } &&
4292 { ac_try
='test -s conftest.$ac_objext'
4293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); }; }; then
4300 echo "$as_me: failed program was:" >&5
4301 cat conftest.
$ac_ext >&5
4304 rm -f conftest.
$ac_objext conftest.
$ac_ext
4306 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4307 echo "${ECHO_T}$ac_cv_c_const" >&6
4308 if test $ac_cv_c_const = no
; then
4310 cat >>confdefs.h
<<\_ACEOF
4316 echo "$as_me:$LINENO: checking for inline" >&5
4317 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4318 if test "${ac_cv_c_inline+set}" = set; then
4319 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 for ac_kw
in inline __inline__ __inline
; do
4323 cat >conftest.
$ac_ext <<_ACEOF
4324 #line $LINENO "configure"
4325 #include "confdefs.h"
4327 static $ac_kw int static_foo () {return 0; }
4328 $ac_kw int foo () {return 0; }
4332 rm -f conftest.
$ac_objext
4333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4334 (eval $ac_compile) 2>&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } &&
4338 { ac_try
='test -s conftest.$ac_objext'
4339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); }; }; then
4344 ac_cv_c_inline
=$ac_kw; break
4346 echo "$as_me: failed program was:" >&5
4347 cat conftest.
$ac_ext >&5
4349 rm -f conftest.
$ac_objext conftest.
$ac_ext
4353 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4354 echo "${ECHO_T}$ac_cv_c_inline" >&6
4355 case $ac_cv_c_inline in
4358 cat >>confdefs.h
<<\_ACEOF
4362 *) cat >>confdefs.h
<<_ACEOF
4363 #define inline $ac_cv_c_inline
4368 echo "$as_me:$LINENO: checking for size_t" >&5
4369 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4370 if test "${ac_cv_type_size_t+set}" = set; then
4371 echo $ECHO_N "(cached) $ECHO_C" >&6
4373 cat >conftest.
$ac_ext <<_ACEOF
4374 #line $LINENO "configure"
4375 #include "confdefs.h"
4376 $ac_includes_default
4377 #ifdef F77_DUMMY_MAIN
4381 int F77_DUMMY_MAIN() { return 1; }
4388 if (sizeof (size_t))
4394 rm -f conftest.
$ac_objext
4395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4396 (eval $ac_compile) 2>&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); } &&
4400 { ac_try
='test -s conftest.$ac_objext'
4401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; }; then
4406 ac_cv_type_size_t
=yes
4408 echo "$as_me: failed program was:" >&5
4409 cat conftest.
$ac_ext >&5
4410 ac_cv_type_size_t
=no
4412 rm -f conftest.
$ac_objext conftest.
$ac_ext
4414 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4415 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4416 if test $ac_cv_type_size_t = yes; then
4420 cat >>confdefs.h
<<_ACEOF
4421 #define size_t unsigned
4426 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4427 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4428 if test "${ac_cv_header_time+set}" = set; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 cat >conftest.
$ac_ext <<_ACEOF
4432 #line $LINENO "configure"
4433 #include "confdefs.h"
4434 #include <sys/types.h>
4435 #include <sys/time.h>
4438 #ifdef F77_DUMMY_MAIN
4442 int F77_DUMMY_MAIN() { return 1; }
4447 if ((struct tm *) 0)
4453 rm -f conftest.
$ac_objext
4454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4455 (eval $ac_compile) 2>&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); } &&
4459 { ac_try
='test -s conftest.$ac_objext'
4460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; }; then
4465 ac_cv_header_time
=yes
4467 echo "$as_me: failed program was:" >&5
4468 cat conftest.
$ac_ext >&5
4469 ac_cv_header_time
=no
4471 rm -f conftest.
$ac_objext conftest.
$ac_ext
4473 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4474 echo "${ECHO_T}$ac_cv_header_time" >&6
4475 if test $ac_cv_header_time = yes; then
4477 cat >>confdefs.h
<<\_ACEOF
4478 #define TIME_WITH_SYS_TIME 1
4483 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4484 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4485 if test "${ac_cv_struct_tm+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 cat >conftest.
$ac_ext <<_ACEOF
4489 #line $LINENO "configure"
4490 #include "confdefs.h"
4491 #include <sys/types.h>
4494 #ifdef F77_DUMMY_MAIN
4498 int F77_DUMMY_MAIN() { return 1; }
4503 struct tm *tp; tp->tm_sec;
4508 rm -f conftest.
$ac_objext
4509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4510 (eval $ac_compile) 2>&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); } &&
4514 { ac_try
='test -s conftest.$ac_objext'
4515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); }; }; then
4520 ac_cv_struct_tm
=time.h
4522 echo "$as_me: failed program was:" >&5
4523 cat conftest.
$ac_ext >&5
4524 ac_cv_struct_tm
=sys
/time.h
4526 rm -f conftest.
$ac_objext conftest.
$ac_ext
4528 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4529 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4530 if test $ac_cv_struct_tm = sys
/time.h
; then
4532 cat >>confdefs.h
<<\_ACEOF
4533 #define TM_IN_SYS_TIME 1
4538 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
4539 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
4540 if test "${ac_cv_type_uid_t+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 cat >conftest.
$ac_ext <<_ACEOF
4544 #line $LINENO "configure"
4545 #include "confdefs.h"
4546 #include <sys/types.h>
4549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4550 egrep "uid_t" >/dev
/null
2>&1; then
4551 ac_cv_type_uid_t
=yes
4558 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
4559 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
4560 if test $ac_cv_type_uid_t = no
; then
4562 cat >>confdefs.h
<<\_ACEOF
4567 cat >>confdefs.h
<<\_ACEOF
4573 echo "$as_me:$LINENO: checking for short" >&5
4574 echo $ECHO_N "checking for short... $ECHO_C" >&6
4575 if test "${ac_cv_type_short+set}" = set; then
4576 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 cat >conftest.
$ac_ext <<_ACEOF
4579 #line $LINENO "configure"
4580 #include "confdefs.h"
4581 $ac_includes_default
4582 #ifdef F77_DUMMY_MAIN
4586 int F77_DUMMY_MAIN() { return 1; }
4599 rm -f conftest.
$ac_objext
4600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4601 (eval $ac_compile) 2>&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } &&
4605 { ac_try
='test -s conftest.$ac_objext'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; }; then
4611 ac_cv_type_short
=yes
4613 echo "$as_me: failed program was:" >&5
4614 cat conftest.
$ac_ext >&5
4617 rm -f conftest.
$ac_objext conftest.
$ac_ext
4619 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
4620 echo "${ECHO_T}$ac_cv_type_short" >&6
4622 echo "$as_me:$LINENO: checking size of short" >&5
4623 echo $ECHO_N "checking size of short... $ECHO_C" >&6
4624 if test "${ac_cv_sizeof_short+set}" = set; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4627 if test "$ac_cv_type_short" = yes; then
4628 # The cast to unsigned long works around a bug in the HP C Compiler
4629 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4630 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4631 # This bug is HP SR number 8606223364.
4632 if test "$cross_compiling" = yes; then
4633 # Depending upon the size, compute the lo and hi bounds.
4634 cat >conftest.
$ac_ext <<_ACEOF
4635 #line $LINENO "configure"
4636 #include "confdefs.h"
4637 $ac_includes_default
4638 #ifdef F77_DUMMY_MAIN
4642 int F77_DUMMY_MAIN() { return 1; }
4647 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
4654 rm -f conftest.
$ac_objext
4655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4656 (eval $ac_compile) 2>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } &&
4660 { ac_try
='test -s conftest.$ac_objext'
4661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665 (exit $ac_status); }; }; then
4668 cat >conftest.
$ac_ext <<_ACEOF
4669 #line $LINENO "configure"
4670 #include "confdefs.h"
4671 $ac_includes_default
4672 #ifdef F77_DUMMY_MAIN
4676 int F77_DUMMY_MAIN() { return 1; }
4681 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
4688 rm -f conftest.
$ac_objext
4689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4690 (eval $ac_compile) 2>&5
4692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693 (exit $ac_status); } &&
4694 { ac_try
='test -s conftest.$ac_objext'
4695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }; }; then
4700 ac_hi
=$ac_mid; break
4702 echo "$as_me: failed program was:" >&5
4703 cat conftest.
$ac_ext >&5
4704 ac_lo
=`expr $ac_mid + 1`
4705 if test $ac_lo -le $ac_mid; then
4709 ac_mid
=`expr 2 '*' $ac_mid + 1`
4711 rm -f conftest.
$ac_objext conftest.
$ac_ext
4714 echo "$as_me: failed program was:" >&5
4715 cat conftest.
$ac_ext >&5
4716 cat >conftest.
$ac_ext <<_ACEOF
4717 #line $LINENO "configure"
4718 #include "confdefs.h"
4719 $ac_includes_default
4720 #ifdef F77_DUMMY_MAIN
4724 int F77_DUMMY_MAIN() { return 1; }
4729 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
4736 rm -f conftest.
$ac_objext
4737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4738 (eval $ac_compile) 2>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } &&
4742 { ac_try
='test -s conftest.$ac_objext'
4743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }; }; then
4750 cat >conftest.
$ac_ext <<_ACEOF
4751 #line $LINENO "configure"
4752 #include "confdefs.h"
4753 $ac_includes_default
4754 #ifdef F77_DUMMY_MAIN
4758 int F77_DUMMY_MAIN() { return 1; }
4763 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
4770 rm -f conftest.
$ac_objext
4771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4772 (eval $ac_compile) 2>&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); } &&
4776 { ac_try
='test -s conftest.$ac_objext'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; }; then
4782 ac_lo
=$ac_mid; break
4784 echo "$as_me: failed program was:" >&5
4785 cat conftest.
$ac_ext >&5
4786 ac_hi
=`expr '(' $ac_mid ')' - 1`
4787 if test $ac_mid -le $ac_hi; then
4791 ac_mid
=`expr 2 '*' $ac_mid`
4793 rm -f conftest.
$ac_objext conftest.
$ac_ext
4796 echo "$as_me: failed program was:" >&5
4797 cat conftest.
$ac_ext >&5
4800 rm -f conftest.
$ac_objext conftest.
$ac_ext
4802 rm -f conftest.
$ac_objext conftest.
$ac_ext
4803 # Binary search between lo and hi bounds.
4804 while test "x$ac_lo" != "x$ac_hi"; do
4805 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4806 cat >conftest.
$ac_ext <<_ACEOF
4807 #line $LINENO "configure"
4808 #include "confdefs.h"
4809 $ac_includes_default
4810 #ifdef F77_DUMMY_MAIN
4814 int F77_DUMMY_MAIN() { return 1; }
4819 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
4826 rm -f conftest.
$ac_objext
4827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4828 (eval $ac_compile) 2>&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); } &&
4832 { ac_try
='test -s conftest.$ac_objext'
4833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); }; }; then
4840 echo "$as_me: failed program was:" >&5
4841 cat conftest.
$ac_ext >&5
4842 ac_lo
=`expr '(' $ac_mid ')' + 1`
4844 rm -f conftest.
$ac_objext conftest.
$ac_ext
4847 ?
*) ac_cv_sizeof_short
=$ac_lo;;
4848 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
4849 echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
4850 { (exit 1); exit 1; }; } ;;
4853 if test "$cross_compiling" = yes; then
4854 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
4855 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
4856 { (exit 1); exit 1; }; }
4858 cat >conftest.
$ac_ext <<_ACEOF
4859 #line $LINENO "configure"
4860 #include "confdefs.h"
4861 $ac_includes_default
4862 long longval () { return (long) (sizeof (short)); }
4863 unsigned long ulongval () { return (long) (sizeof (short)); }
4866 #ifdef F77_DUMMY_MAIN
4870 int F77_DUMMY_MAIN() { return 1; }
4876 FILE *f = fopen ("conftest.val", "w");
4879 if (((long) (sizeof (short))) < 0)
4881 long i = longval ();
4882 if (i != ((long) (sizeof (short))))
4884 fprintf (f, "%ld\n", i);
4888 unsigned long i = ulongval ();
4889 if (i != ((long) (sizeof (short))))
4891 fprintf (f, "%lu\n", i);
4893 exit (ferror (f) || fclose (f) != 0);
4899 rm -f conftest
$ac_exeext
4900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4901 (eval $ac_link) 2>&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); }; }; then
4910 ac_cv_sizeof_short
=`cat conftest.val`
4912 echo "$as_me: program exited with status $ac_status" >&5
4913 echo "$as_me: failed program was:" >&5
4914 cat conftest.
$ac_ext >&5
4916 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
4917 echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
4918 { (exit 1); exit 1; }; }
4920 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4925 ac_cv_sizeof_short
=0
4928 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4929 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
4930 cat >>confdefs.h
<<_ACEOF
4931 #define SIZEOF_SHORT $ac_cv_sizeof_short
4935 echo "$as_me:$LINENO: checking for int" >&5
4936 echo $ECHO_N "checking for int... $ECHO_C" >&6
4937 if test "${ac_cv_type_int+set}" = set; then
4938 echo $ECHO_N "(cached) $ECHO_C" >&6
4940 cat >conftest.
$ac_ext <<_ACEOF
4941 #line $LINENO "configure"
4942 #include "confdefs.h"
4943 $ac_includes_default
4944 #ifdef F77_DUMMY_MAIN
4948 int F77_DUMMY_MAIN() { return 1; }
4961 rm -f conftest.
$ac_objext
4962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4963 (eval $ac_compile) 2>&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } &&
4967 { ac_try
='test -s conftest.$ac_objext'
4968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); }; }; then
4975 echo "$as_me: failed program was:" >&5
4976 cat conftest.
$ac_ext >&5
4979 rm -f conftest.
$ac_objext conftest.
$ac_ext
4981 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4982 echo "${ECHO_T}$ac_cv_type_int" >&6
4984 echo "$as_me:$LINENO: checking size of int" >&5
4985 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4986 if test "${ac_cv_sizeof_int+set}" = set; then
4987 echo $ECHO_N "(cached) $ECHO_C" >&6
4989 if test "$ac_cv_type_int" = yes; then
4990 # The cast to unsigned long works around a bug in the HP C Compiler
4991 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4992 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4993 # This bug is HP SR number 8606223364.
4994 if test "$cross_compiling" = yes; then
4995 # Depending upon the size, compute the lo and hi bounds.
4996 cat >conftest.
$ac_ext <<_ACEOF
4997 #line $LINENO "configure"
4998 #include "confdefs.h"
4999 $ac_includes_default
5000 #ifdef F77_DUMMY_MAIN
5004 int F77_DUMMY_MAIN() { return 1; }
5009 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
5016 rm -f conftest.
$ac_objext
5017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5018 (eval $ac_compile) 2>&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); } &&
5022 { ac_try
='test -s conftest.$ac_objext'
5023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; }; then
5030 cat >conftest.
$ac_ext <<_ACEOF
5031 #line $LINENO "configure"
5032 #include "confdefs.h"
5033 $ac_includes_default
5034 #ifdef F77_DUMMY_MAIN
5038 int F77_DUMMY_MAIN() { return 1; }
5043 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5050 rm -f conftest.
$ac_objext
5051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5052 (eval $ac_compile) 2>&5
5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055 (exit $ac_status); } &&
5056 { ac_try
='test -s conftest.$ac_objext'
5057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); }; }; then
5062 ac_hi
=$ac_mid; break
5064 echo "$as_me: failed program was:" >&5
5065 cat conftest.
$ac_ext >&5
5066 ac_lo
=`expr $ac_mid + 1`
5067 if test $ac_lo -le $ac_mid; then
5071 ac_mid
=`expr 2 '*' $ac_mid + 1`
5073 rm -f conftest.
$ac_objext conftest.
$ac_ext
5076 echo "$as_me: failed program was:" >&5
5077 cat conftest.
$ac_ext >&5
5078 cat >conftest.
$ac_ext <<_ACEOF
5079 #line $LINENO "configure"
5080 #include "confdefs.h"
5081 $ac_includes_default
5082 #ifdef F77_DUMMY_MAIN
5086 int F77_DUMMY_MAIN() { return 1; }
5091 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
5098 rm -f conftest.
$ac_objext
5099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5100 (eval $ac_compile) 2>&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } &&
5104 { ac_try
='test -s conftest.$ac_objext'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5112 cat >conftest.
$ac_ext <<_ACEOF
5113 #line $LINENO "configure"
5114 #include "confdefs.h"
5115 $ac_includes_default
5116 #ifdef F77_DUMMY_MAIN
5120 int F77_DUMMY_MAIN() { return 1; }
5125 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
5132 rm -f conftest.
$ac_objext
5133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5134 (eval $ac_compile) 2>&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } &&
5138 { ac_try
='test -s conftest.$ac_objext'
5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); }; }; then
5144 ac_lo
=$ac_mid; break
5146 echo "$as_me: failed program was:" >&5
5147 cat conftest.
$ac_ext >&5
5148 ac_hi
=`expr '(' $ac_mid ')' - 1`
5149 if test $ac_mid -le $ac_hi; then
5153 ac_mid
=`expr 2 '*' $ac_mid`
5155 rm -f conftest.
$ac_objext conftest.
$ac_ext
5158 echo "$as_me: failed program was:" >&5
5159 cat conftest.
$ac_ext >&5
5162 rm -f conftest.
$ac_objext conftest.
$ac_ext
5164 rm -f conftest.
$ac_objext conftest.
$ac_ext
5165 # Binary search between lo and hi bounds.
5166 while test "x$ac_lo" != "x$ac_hi"; do
5167 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5168 cat >conftest.
$ac_ext <<_ACEOF
5169 #line $LINENO "configure"
5170 #include "confdefs.h"
5171 $ac_includes_default
5172 #ifdef F77_DUMMY_MAIN
5176 int F77_DUMMY_MAIN() { return 1; }
5181 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5188 rm -f conftest.
$ac_objext
5189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5190 (eval $ac_compile) 2>&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); } &&
5194 { ac_try
='test -s conftest.$ac_objext'
5195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); }; }; then
5202 echo "$as_me: failed program was:" >&5
5203 cat conftest.
$ac_ext >&5
5204 ac_lo
=`expr '(' $ac_mid ')' + 1`
5206 rm -f conftest.
$ac_objext conftest.
$ac_ext
5209 ?
*) ac_cv_sizeof_int
=$ac_lo;;
5210 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
5211 echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
5212 { (exit 1); exit 1; }; } ;;
5215 if test "$cross_compiling" = yes; then
5216 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
5217 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
5218 { (exit 1); exit 1; }; }
5220 cat >conftest.
$ac_ext <<_ACEOF
5221 #line $LINENO "configure"
5222 #include "confdefs.h"
5223 $ac_includes_default
5224 long longval () { return (long) (sizeof (int)); }
5225 unsigned long ulongval () { return (long) (sizeof (int)); }
5228 #ifdef F77_DUMMY_MAIN
5232 int F77_DUMMY_MAIN() { return 1; }
5238 FILE *f = fopen ("conftest.val", "w");
5241 if (((long) (sizeof (int))) < 0)
5243 long i = longval ();
5244 if (i != ((long) (sizeof (int))))
5246 fprintf (f, "%ld\n", i);
5250 unsigned long i = ulongval ();
5251 if (i != ((long) (sizeof (int))))
5253 fprintf (f, "%lu\n", i);
5255 exit (ferror (f) || fclose (f) != 0);
5261 rm -f conftest
$ac_exeext
5262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5263 (eval $ac_link) 2>&5
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }; }; then
5272 ac_cv_sizeof_int
=`cat conftest.val`
5274 echo "$as_me: program exited with status $ac_status" >&5
5275 echo "$as_me: failed program was:" >&5
5276 cat conftest.
$ac_ext >&5
5278 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
5279 echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
5280 { (exit 1); exit 1; }; }
5282 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5290 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5291 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
5292 cat >>confdefs.h
<<_ACEOF
5293 #define SIZEOF_INT $ac_cv_sizeof_int
5297 echo "$as_me:$LINENO: checking for long" >&5
5298 echo $ECHO_N "checking for long... $ECHO_C" >&6
5299 if test "${ac_cv_type_long+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 cat >conftest.
$ac_ext <<_ACEOF
5303 #line $LINENO "configure"
5304 #include "confdefs.h"
5305 $ac_includes_default
5306 #ifdef F77_DUMMY_MAIN
5310 int F77_DUMMY_MAIN() { return 1; }
5323 rm -f conftest.
$ac_objext
5324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5325 (eval $ac_compile) 2>&5
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); } &&
5329 { ac_try
='test -s conftest.$ac_objext'
5330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334 (exit $ac_status); }; }; then
5337 echo "$as_me: failed program was:" >&5
5338 cat conftest.
$ac_ext >&5
5341 rm -f conftest.
$ac_objext conftest.
$ac_ext
5343 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
5344 echo "${ECHO_T}$ac_cv_type_long" >&6
5346 echo "$as_me:$LINENO: checking size of long" >&5
5347 echo $ECHO_N "checking size of long... $ECHO_C" >&6
5348 if test "${ac_cv_sizeof_long+set}" = set; then
5349 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 if test "$ac_cv_type_long" = yes; then
5352 # The cast to unsigned long works around a bug in the HP C Compiler
5353 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5354 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5355 # This bug is HP SR number 8606223364.
5356 if test "$cross_compiling" = yes; then
5357 # Depending upon the size, compute the lo and hi bounds.
5358 cat >conftest.
$ac_ext <<_ACEOF
5359 #line $LINENO "configure"
5360 #include "confdefs.h"
5361 $ac_includes_default
5362 #ifdef F77_DUMMY_MAIN
5366 int F77_DUMMY_MAIN() { return 1; }
5371 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
5378 rm -f conftest.
$ac_objext
5379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5380 (eval $ac_compile) 2>&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); } &&
5384 { ac_try
='test -s conftest.$ac_objext'
5385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; }; then
5392 cat >conftest.
$ac_ext <<_ACEOF
5393 #line $LINENO "configure"
5394 #include "confdefs.h"
5395 $ac_includes_default
5396 #ifdef F77_DUMMY_MAIN
5400 int F77_DUMMY_MAIN() { return 1; }
5405 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5412 rm -f conftest.
$ac_objext
5413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5414 (eval $ac_compile) 2>&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); } &&
5418 { ac_try
='test -s conftest.$ac_objext'
5419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); }; }; then
5424 ac_hi
=$ac_mid; break
5426 echo "$as_me: failed program was:" >&5
5427 cat conftest.
$ac_ext >&5
5428 ac_lo
=`expr $ac_mid + 1`
5429 if test $ac_lo -le $ac_mid; then
5433 ac_mid
=`expr 2 '*' $ac_mid + 1`
5435 rm -f conftest.
$ac_objext conftest.
$ac_ext
5438 echo "$as_me: failed program was:" >&5
5439 cat conftest.
$ac_ext >&5
5440 cat >conftest.
$ac_ext <<_ACEOF
5441 #line $LINENO "configure"
5442 #include "confdefs.h"
5443 $ac_includes_default
5444 #ifdef F77_DUMMY_MAIN
5448 int F77_DUMMY_MAIN() { return 1; }
5453 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
5460 rm -f conftest.
$ac_objext
5461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5462 (eval $ac_compile) 2>&5
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); } &&
5466 { ac_try
='test -s conftest.$ac_objext'
5467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); }; }; then
5474 cat >conftest.
$ac_ext <<_ACEOF
5475 #line $LINENO "configure"
5476 #include "confdefs.h"
5477 $ac_includes_default
5478 #ifdef F77_DUMMY_MAIN
5482 int F77_DUMMY_MAIN() { return 1; }
5487 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
5494 rm -f conftest.
$ac_objext
5495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5496 (eval $ac_compile) 2>&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } &&
5500 { ac_try
='test -s conftest.$ac_objext'
5501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); }; }; then
5506 ac_lo
=$ac_mid; break
5508 echo "$as_me: failed program was:" >&5
5509 cat conftest.
$ac_ext >&5
5510 ac_hi
=`expr '(' $ac_mid ')' - 1`
5511 if test $ac_mid -le $ac_hi; then
5515 ac_mid
=`expr 2 '*' $ac_mid`
5517 rm -f conftest.
$ac_objext conftest.
$ac_ext
5520 echo "$as_me: failed program was:" >&5
5521 cat conftest.
$ac_ext >&5
5524 rm -f conftest.
$ac_objext conftest.
$ac_ext
5526 rm -f conftest.
$ac_objext conftest.
$ac_ext
5527 # Binary search between lo and hi bounds.
5528 while test "x$ac_lo" != "x$ac_hi"; do
5529 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5530 cat >conftest.
$ac_ext <<_ACEOF
5531 #line $LINENO "configure"
5532 #include "confdefs.h"
5533 $ac_includes_default
5534 #ifdef F77_DUMMY_MAIN
5538 int F77_DUMMY_MAIN() { return 1; }
5543 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5550 rm -f conftest.
$ac_objext
5551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5552 (eval $ac_compile) 2>&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } &&
5556 { ac_try
='test -s conftest.$ac_objext'
5557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); }; }; then
5564 echo "$as_me: failed program was:" >&5
5565 cat conftest.
$ac_ext >&5
5566 ac_lo
=`expr '(' $ac_mid ')' + 1`
5568 rm -f conftest.
$ac_objext conftest.
$ac_ext
5571 ?
*) ac_cv_sizeof_long
=$ac_lo;;
5572 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
5573 echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
5574 { (exit 1); exit 1; }; } ;;
5577 if test "$cross_compiling" = yes; then
5578 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
5579 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
5580 { (exit 1); exit 1; }; }
5582 cat >conftest.
$ac_ext <<_ACEOF
5583 #line $LINENO "configure"
5584 #include "confdefs.h"
5585 $ac_includes_default
5586 long longval () { return (long) (sizeof (long)); }
5587 unsigned long ulongval () { return (long) (sizeof (long)); }
5590 #ifdef F77_DUMMY_MAIN
5594 int F77_DUMMY_MAIN() { return 1; }
5600 FILE *f = fopen ("conftest.val", "w");
5603 if (((long) (sizeof (long))) < 0)
5605 long i = longval ();
5606 if (i != ((long) (sizeof (long))))
5608 fprintf (f, "%ld\n", i);
5612 unsigned long i = ulongval ();
5613 if (i != ((long) (sizeof (long))))
5615 fprintf (f, "%lu\n", i);
5617 exit (ferror (f) || fclose (f) != 0);
5623 rm -f conftest
$ac_exeext
5624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5625 (eval $ac_link) 2>&5
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); }; }; then
5634 ac_cv_sizeof_long
=`cat conftest.val`
5636 echo "$as_me: program exited with status $ac_status" >&5
5637 echo "$as_me: failed program was:" >&5
5638 cat conftest.
$ac_ext >&5
5640 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
5641 echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
5642 { (exit 1); exit 1; }; }
5644 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5652 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5653 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
5654 cat >>confdefs.h
<<_ACEOF
5655 #define SIZEOF_LONG $ac_cv_sizeof_long
5659 if test "$ac_cv_sizeof_int" = 2 ; then
5660 echo "$as_me:$LINENO: checking for int16_t" >&5
5661 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
5662 if test "${ac_cv_type_int16_t+set}" = set; then
5663 echo $ECHO_N "(cached) $ECHO_C" >&6
5665 cat >conftest.
$ac_ext <<_ACEOF
5666 #line $LINENO "configure"
5667 #include "confdefs.h"
5668 $ac_includes_default
5669 #ifdef F77_DUMMY_MAIN
5673 int F77_DUMMY_MAIN() { return 1; }
5680 if (sizeof (int16_t))
5686 rm -f conftest.
$ac_objext
5687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5688 (eval $ac_compile) 2>&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); } &&
5692 { ac_try
='test -s conftest.$ac_objext'
5693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); }; }; then
5698 ac_cv_type_int16_t
=yes
5700 echo "$as_me: failed program was:" >&5
5701 cat conftest.
$ac_ext >&5
5702 ac_cv_type_int16_t
=no
5704 rm -f conftest.
$ac_objext conftest.
$ac_ext
5706 echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
5707 echo "${ECHO_T}$ac_cv_type_int16_t" >&6
5708 if test $ac_cv_type_int16_t = yes; then
5712 cat >>confdefs.h
<<_ACEOF
5718 echo "$as_me:$LINENO: checking for u_int16_t" >&5
5719 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
5720 if test "${ac_cv_type_u_int16_t+set}" = set; then
5721 echo $ECHO_N "(cached) $ECHO_C" >&6
5723 cat >conftest.
$ac_ext <<_ACEOF
5724 #line $LINENO "configure"
5725 #include "confdefs.h"
5726 $ac_includes_default
5727 #ifdef F77_DUMMY_MAIN
5731 int F77_DUMMY_MAIN() { return 1; }
5736 if ((u_int16_t *) 0)
5738 if (sizeof (u_int16_t))
5744 rm -f conftest.
$ac_objext
5745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5746 (eval $ac_compile) 2>&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); } &&
5750 { ac_try
='test -s conftest.$ac_objext'
5751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); }; }; then
5756 ac_cv_type_u_int16_t
=yes
5758 echo "$as_me: failed program was:" >&5
5759 cat conftest.
$ac_ext >&5
5760 ac_cv_type_u_int16_t
=no
5762 rm -f conftest.
$ac_objext conftest.
$ac_ext
5764 echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
5765 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
5766 if test $ac_cv_type_u_int16_t = yes; then
5770 cat >>confdefs.h
<<_ACEOF
5771 #define u_int16_t unsigned int
5776 elif test "$ac_cv_sizeof_short" = 2 ; then
5777 echo "$as_me:$LINENO: checking for int16_t" >&5
5778 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
5779 if test "${ac_cv_type_int16_t+set}" = set; then
5780 echo $ECHO_N "(cached) $ECHO_C" >&6
5782 cat >conftest.
$ac_ext <<_ACEOF
5783 #line $LINENO "configure"
5784 #include "confdefs.h"
5785 $ac_includes_default
5786 #ifdef F77_DUMMY_MAIN
5790 int F77_DUMMY_MAIN() { return 1; }
5797 if (sizeof (int16_t))
5803 rm -f conftest.
$ac_objext
5804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5805 (eval $ac_compile) 2>&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); } &&
5809 { ac_try
='test -s conftest.$ac_objext'
5810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); }; }; then
5815 ac_cv_type_int16_t
=yes
5817 echo "$as_me: failed program was:" >&5
5818 cat conftest.
$ac_ext >&5
5819 ac_cv_type_int16_t
=no
5821 rm -f conftest.
$ac_objext conftest.
$ac_ext
5823 echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
5824 echo "${ECHO_T}$ac_cv_type_int16_t" >&6
5825 if test $ac_cv_type_int16_t = yes; then
5829 cat >>confdefs.h
<<_ACEOF
5830 #define int16_t short
5835 echo "$as_me:$LINENO: checking for u_int16_t" >&5
5836 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
5837 if test "${ac_cv_type_u_int16_t+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 cat >conftest.
$ac_ext <<_ACEOF
5841 #line $LINENO "configure"
5842 #include "confdefs.h"
5843 $ac_includes_default
5844 #ifdef F77_DUMMY_MAIN
5848 int F77_DUMMY_MAIN() { return 1; }
5853 if ((u_int16_t *) 0)
5855 if (sizeof (u_int16_t))
5861 rm -f conftest.
$ac_objext
5862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5863 (eval $ac_compile) 2>&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } &&
5867 { ac_try
='test -s conftest.$ac_objext'
5868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); }; }; then
5873 ac_cv_type_u_int16_t
=yes
5875 echo "$as_me: failed program was:" >&5
5876 cat conftest.
$ac_ext >&5
5877 ac_cv_type_u_int16_t
=no
5879 rm -f conftest.
$ac_objext conftest.
$ac_ext
5881 echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
5882 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
5883 if test $ac_cv_type_u_int16_t = yes; then
5887 cat >>confdefs.h
<<_ACEOF
5888 #define u_int16_t unsigned short
5894 { { echo "$as_me:$LINENO: error: Cannot find a type with size of 16 bits" >&5
5895 echo "$as_me: error: Cannot find a type with size of 16 bits" >&2;}
5896 { (exit 1); exit 1; }; }
5898 if test "$ac_cv_sizeof_int" = 4 ; then
5899 echo "$as_me:$LINENO: checking for int32_t" >&5
5900 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
5901 if test "${ac_cv_type_int32_t+set}" = set; then
5902 echo $ECHO_N "(cached) $ECHO_C" >&6
5904 cat >conftest.
$ac_ext <<_ACEOF
5905 #line $LINENO "configure"
5906 #include "confdefs.h"
5907 $ac_includes_default
5908 #ifdef F77_DUMMY_MAIN
5912 int F77_DUMMY_MAIN() { return 1; }
5919 if (sizeof (int32_t))
5925 rm -f conftest.
$ac_objext
5926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5927 (eval $ac_compile) 2>&5
5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930 (exit $ac_status); } &&
5931 { ac_try
='test -s conftest.$ac_objext'
5932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); }; }; then
5937 ac_cv_type_int32_t
=yes
5939 echo "$as_me: failed program was:" >&5
5940 cat conftest.
$ac_ext >&5
5941 ac_cv_type_int32_t
=no
5943 rm -f conftest.
$ac_objext conftest.
$ac_ext
5945 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
5946 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
5947 if test $ac_cv_type_int32_t = yes; then
5951 cat >>confdefs.h
<<_ACEOF
5957 echo "$as_me:$LINENO: checking for u_int32_t" >&5
5958 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
5959 if test "${ac_cv_type_u_int32_t+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5962 cat >conftest.
$ac_ext <<_ACEOF
5963 #line $LINENO "configure"
5964 #include "confdefs.h"
5965 $ac_includes_default
5966 #ifdef F77_DUMMY_MAIN
5970 int F77_DUMMY_MAIN() { return 1; }
5975 if ((u_int32_t *) 0)
5977 if (sizeof (u_int32_t))
5983 rm -f conftest.
$ac_objext
5984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5985 (eval $ac_compile) 2>&5
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); } &&
5989 { ac_try
='test -s conftest.$ac_objext'
5990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); }; }; then
5995 ac_cv_type_u_int32_t
=yes
5997 echo "$as_me: failed program was:" >&5
5998 cat conftest.
$ac_ext >&5
5999 ac_cv_type_u_int32_t
=no
6001 rm -f conftest.
$ac_objext conftest.
$ac_ext
6003 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
6004 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
6005 if test $ac_cv_type_u_int32_t = yes; then
6009 cat >>confdefs.h
<<_ACEOF
6010 #define u_int32_t unsigned int
6015 elif test "$ac_cv_sizeof_short" = 4 ; then
6016 echo "$as_me:$LINENO: checking for int32_t" >&5
6017 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
6018 if test "${ac_cv_type_int32_t+set}" = set; then
6019 echo $ECHO_N "(cached) $ECHO_C" >&6
6021 cat >conftest.
$ac_ext <<_ACEOF
6022 #line $LINENO "configure"
6023 #include "confdefs.h"
6024 $ac_includes_default
6025 #ifdef F77_DUMMY_MAIN
6029 int F77_DUMMY_MAIN() { return 1; }
6036 if (sizeof (int32_t))
6042 rm -f conftest.
$ac_objext
6043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6044 (eval $ac_compile) 2>&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); } &&
6048 { ac_try
='test -s conftest.$ac_objext'
6049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); }; }; then
6054 ac_cv_type_int32_t
=yes
6056 echo "$as_me: failed program was:" >&5
6057 cat conftest.
$ac_ext >&5
6058 ac_cv_type_int32_t
=no
6060 rm -f conftest.
$ac_objext conftest.
$ac_ext
6062 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
6063 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
6064 if test $ac_cv_type_int32_t = yes; then
6068 cat >>confdefs.h
<<_ACEOF
6069 #define int32_t short
6074 echo "$as_me:$LINENO: checking for u_int32_t" >&5
6075 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
6076 if test "${ac_cv_type_u_int32_t+set}" = set; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6079 cat >conftest.
$ac_ext <<_ACEOF
6080 #line $LINENO "configure"
6081 #include "confdefs.h"
6082 $ac_includes_default
6083 #ifdef F77_DUMMY_MAIN
6087 int F77_DUMMY_MAIN() { return 1; }
6092 if ((u_int32_t *) 0)
6094 if (sizeof (u_int32_t))
6100 rm -f conftest.
$ac_objext
6101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6102 (eval $ac_compile) 2>&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); } &&
6106 { ac_try
='test -s conftest.$ac_objext'
6107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); }; }; then
6112 ac_cv_type_u_int32_t
=yes
6114 echo "$as_me: failed program was:" >&5
6115 cat conftest.
$ac_ext >&5
6116 ac_cv_type_u_int32_t
=no
6118 rm -f conftest.
$ac_objext conftest.
$ac_ext
6120 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
6121 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
6122 if test $ac_cv_type_u_int32_t = yes; then
6126 cat >>confdefs.h
<<_ACEOF
6127 #define u_int32_t unsigned short
6132 elif test "$ac_cv_sizeof_long" = 4 ; then
6133 echo "$as_me:$LINENO: checking for int32_t" >&5
6134 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
6135 if test "${ac_cv_type_int32_t+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 cat >conftest.
$ac_ext <<_ACEOF
6139 #line $LINENO "configure"
6140 #include "confdefs.h"
6141 $ac_includes_default
6142 #ifdef F77_DUMMY_MAIN
6146 int F77_DUMMY_MAIN() { return 1; }
6153 if (sizeof (int32_t))
6159 rm -f conftest.
$ac_objext
6160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6161 (eval $ac_compile) 2>&5
6163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164 (exit $ac_status); } &&
6165 { ac_try
='test -s conftest.$ac_objext'
6166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); }; }; then
6171 ac_cv_type_int32_t
=yes
6173 echo "$as_me: failed program was:" >&5
6174 cat conftest.
$ac_ext >&5
6175 ac_cv_type_int32_t
=no
6177 rm -f conftest.
$ac_objext conftest.
$ac_ext
6179 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
6180 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
6181 if test $ac_cv_type_int32_t = yes; then
6185 cat >>confdefs.h
<<_ACEOF
6186 #define int32_t long
6191 echo "$as_me:$LINENO: checking for u_int32_t" >&5
6192 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
6193 if test "${ac_cv_type_u_int32_t+set}" = set; then
6194 echo $ECHO_N "(cached) $ECHO_C" >&6
6196 cat >conftest.
$ac_ext <<_ACEOF
6197 #line $LINENO "configure"
6198 #include "confdefs.h"
6199 $ac_includes_default
6200 #ifdef F77_DUMMY_MAIN
6204 int F77_DUMMY_MAIN() { return 1; }
6209 if ((u_int32_t *) 0)
6211 if (sizeof (u_int32_t))
6217 rm -f conftest.
$ac_objext
6218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6219 (eval $ac_compile) 2>&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } &&
6223 { ac_try
='test -s conftest.$ac_objext'
6224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); }; }; then
6229 ac_cv_type_u_int32_t
=yes
6231 echo "$as_me: failed program was:" >&5
6232 cat conftest.
$ac_ext >&5
6233 ac_cv_type_u_int32_t
=no
6235 rm -f conftest.
$ac_objext conftest.
$ac_ext
6237 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
6238 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
6239 if test $ac_cv_type_u_int32_t = yes; then
6243 cat >>confdefs.h
<<_ACEOF
6244 #define u_int32_t unsigned long
6250 { { echo "$as_me:$LINENO: error: Cannot find a type with size of 32 bits" >&5
6251 echo "$as_me: error: Cannot find a type with size of 32 bits" >&2;}
6252 { (exit 1); exit 1; }; }
6254 echo "$as_me:$LINENO: checking for rlim_t" >&5
6255 echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6
6256 if test "${ac_cv_type_rlim_t+set}" = set; then
6257 echo $ECHO_N "(cached) $ECHO_C" >&6
6259 cat >conftest.
$ac_ext <<_ACEOF
6260 #line $LINENO "configure"
6261 #include "confdefs.h"
6262 $ac_includes_default
6263 #ifdef F77_DUMMY_MAIN
6267 int F77_DUMMY_MAIN() { return 1; }
6274 if (sizeof (rlim_t))
6280 rm -f conftest.
$ac_objext
6281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6282 (eval $ac_compile) 2>&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); } &&
6286 { ac_try
='test -s conftest.$ac_objext'
6287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); }; }; then
6292 ac_cv_type_rlim_t
=yes
6294 echo "$as_me: failed program was:" >&5
6295 cat conftest.
$ac_ext >&5
6296 ac_cv_type_rlim_t
=no
6298 rm -f conftest.
$ac_objext conftest.
$ac_ext
6300 echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
6301 echo "${ECHO_T}$ac_cv_type_rlim_t" >&6
6303 echo "$as_me:$LINENO: checking size of rlim_t" >&5
6304 echo $ECHO_N "checking size of rlim_t... $ECHO_C" >&6
6305 if test "${ac_cv_sizeof_rlim_t+set}" = set; then
6306 echo $ECHO_N "(cached) $ECHO_C" >&6
6308 if test "$ac_cv_type_rlim_t" = yes; then
6309 # The cast to unsigned long works around a bug in the HP C Compiler
6310 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6311 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6312 # This bug is HP SR number 8606223364.
6313 if test "$cross_compiling" = yes; then
6314 # Depending upon the size, compute the lo and hi bounds.
6315 cat >conftest.
$ac_ext <<_ACEOF
6316 #line $LINENO "configure"
6317 #include "confdefs.h"
6318 $ac_includes_default
6319 #ifdef F77_DUMMY_MAIN
6323 int F77_DUMMY_MAIN() { return 1; }
6328 static int test_array [1 - 2 * !(((long) (sizeof (rlim_t))) >= 0)];
6335 rm -f conftest.
$ac_objext
6336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6337 (eval $ac_compile) 2>&5
6339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); } &&
6341 { ac_try
='test -s conftest.$ac_objext'
6342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); }; }; then
6349 cat >conftest.
$ac_ext <<_ACEOF
6350 #line $LINENO "configure"
6351 #include "confdefs.h"
6352 $ac_includes_default
6353 #ifdef F77_DUMMY_MAIN
6357 int F77_DUMMY_MAIN() { return 1; }
6362 static int test_array [1 - 2 * !(((long) (sizeof (rlim_t))) <= $ac_mid)];
6369 rm -f conftest.
$ac_objext
6370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6371 (eval $ac_compile) 2>&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); } &&
6375 { ac_try
='test -s conftest.$ac_objext'
6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); }; }; then
6381 ac_hi
=$ac_mid; break
6383 echo "$as_me: failed program was:" >&5
6384 cat conftest.
$ac_ext >&5
6385 ac_lo
=`expr $ac_mid + 1`
6386 if test $ac_lo -le $ac_mid; then
6390 ac_mid
=`expr 2 '*' $ac_mid + 1`
6392 rm -f conftest.
$ac_objext conftest.
$ac_ext
6395 echo "$as_me: failed program was:" >&5
6396 cat conftest.
$ac_ext >&5
6397 cat >conftest.
$ac_ext <<_ACEOF
6398 #line $LINENO "configure"
6399 #include "confdefs.h"
6400 $ac_includes_default
6401 #ifdef F77_DUMMY_MAIN
6405 int F77_DUMMY_MAIN() { return 1; }
6410 static int test_array [1 - 2 * !(((long) (sizeof (rlim_t))) < 0)];
6417 rm -f conftest.
$ac_objext
6418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6419 (eval $ac_compile) 2>&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); } &&
6423 { ac_try
='test -s conftest.$ac_objext'
6424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); }; }; then
6431 cat >conftest.
$ac_ext <<_ACEOF
6432 #line $LINENO "configure"
6433 #include "confdefs.h"
6434 $ac_includes_default
6435 #ifdef F77_DUMMY_MAIN
6439 int F77_DUMMY_MAIN() { return 1; }
6444 static int test_array [1 - 2 * !(((long) (sizeof (rlim_t))) >= $ac_mid)];
6451 rm -f conftest.
$ac_objext
6452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6453 (eval $ac_compile) 2>&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); } &&
6457 { ac_try
='test -s conftest.$ac_objext'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; }; then
6463 ac_lo
=$ac_mid; break
6465 echo "$as_me: failed program was:" >&5
6466 cat conftest.
$ac_ext >&5
6467 ac_hi
=`expr '(' $ac_mid ')' - 1`
6468 if test $ac_mid -le $ac_hi; then
6472 ac_mid
=`expr 2 '*' $ac_mid`
6474 rm -f conftest.
$ac_objext conftest.
$ac_ext
6477 echo "$as_me: failed program was:" >&5
6478 cat conftest.
$ac_ext >&5
6481 rm -f conftest.
$ac_objext conftest.
$ac_ext
6483 rm -f conftest.
$ac_objext conftest.
$ac_ext
6484 # Binary search between lo and hi bounds.
6485 while test "x$ac_lo" != "x$ac_hi"; do
6486 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6487 cat >conftest.
$ac_ext <<_ACEOF
6488 #line $LINENO "configure"
6489 #include "confdefs.h"
6490 $ac_includes_default
6491 #ifdef F77_DUMMY_MAIN
6495 int F77_DUMMY_MAIN() { return 1; }
6500 static int test_array [1 - 2 * !(((long) (sizeof (rlim_t))) <= $ac_mid)];
6507 rm -f conftest.
$ac_objext
6508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6509 (eval $ac_compile) 2>&5
6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); } &&
6513 { ac_try
='test -s conftest.$ac_objext'
6514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); }; }; then
6521 echo "$as_me: failed program was:" >&5
6522 cat conftest.
$ac_ext >&5
6523 ac_lo
=`expr '(' $ac_mid ')' + 1`
6525 rm -f conftest.
$ac_objext conftest.
$ac_ext
6528 ?
*) ac_cv_sizeof_rlim_t
=$ac_lo;;
6529 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (rlim_t), 77" >&5
6530 echo "$as_me: error: cannot compute sizeof (rlim_t), 77" >&2;}
6531 { (exit 1); exit 1; }; } ;;
6534 if test "$cross_compiling" = yes; then
6535 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6536 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6537 { (exit 1); exit 1; }; }
6539 cat >conftest.
$ac_ext <<_ACEOF
6540 #line $LINENO "configure"
6541 #include "confdefs.h"
6542 $ac_includes_default
6543 long longval () { return (long) (sizeof (rlim_t)); }
6544 unsigned long ulongval () { return (long) (sizeof (rlim_t)); }
6547 #ifdef F77_DUMMY_MAIN
6551 int F77_DUMMY_MAIN() { return 1; }
6557 FILE *f = fopen ("conftest.val", "w");
6560 if (((long) (sizeof (rlim_t))) < 0)
6562 long i = longval ();
6563 if (i != ((long) (sizeof (rlim_t))))
6565 fprintf (f, "%ld\n", i);
6569 unsigned long i = ulongval ();
6570 if (i != ((long) (sizeof (rlim_t))))
6572 fprintf (f, "%lu\n", i);
6574 exit (ferror (f) || fclose (f) != 0);
6580 rm -f conftest
$ac_exeext
6581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6582 (eval $ac_link) 2>&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); }; }; then
6591 ac_cv_sizeof_rlim_t
=`cat conftest.val`
6593 echo "$as_me: program exited with status $ac_status" >&5
6594 echo "$as_me: failed program was:" >&5
6595 cat conftest.
$ac_ext >&5
6597 { { echo "$as_me:$LINENO: error: cannot compute sizeof (rlim_t), 77" >&5
6598 echo "$as_me: error: cannot compute sizeof (rlim_t), 77" >&2;}
6599 { (exit 1); exit 1; }; }
6601 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6606 ac_cv_sizeof_rlim_t
=0
6609 echo "$as_me:$LINENO: result: $ac_cv_sizeof_rlim_t" >&5
6610 echo "${ECHO_T}$ac_cv_sizeof_rlim_t" >&6
6611 cat >>confdefs.h
<<_ACEOF
6612 #define SIZEOF_RLIM_T $ac_cv_sizeof_rlim_t
6616 if test "$ac_cv_sizeof_rlim_t" = 8 ; then
6617 cat >>confdefs.h
<<\_ACEOF
6618 #define LONG_LONG_RLIM_T 1
6624 echo "$as_me:$LINENO: checking what kind of nonblocking sockets you have" >&5
6625 echo $ECHO_N "checking what kind of nonblocking sockets you have... $ECHO_C" >&6
6626 if test "${ac_cv_nonblocking+set}" = set; then
6627 echo $ECHO_N "(cached) $ECHO_C" >&6
6631 LIBS
="$LIBS $SOCKLIB"
6632 if test "$cross_compiling" = yes; then
6633 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6634 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6635 { (exit 1); exit 1; }; }
6637 cat >conftest.
$ac_ext <<_ACEOF
6638 #line $LINENO "configure"
6639 #include "confdefs.h"
6641 #include <sys/types.h>
6642 #include <sys/socket.h>
6644 #include <sys/ioctl.h>
6645 #include <sys/file.h>
6653 int f, l = sizeof(x);
6654 f = socket(AF_INET, SOCK_DGRAM, 0);
6655 if (f >= 0 && !(fcntl(f, F_SETFL, O_NONBLOCK))) {
6656 signal(SIGALRM, alarmed);
6658 recvfrom(f, b, 12, 0, (struct sockaddr *)x, &l);
6667 rm -f conftest
$ac_exeext
6668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6669 (eval $ac_link) 2>&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); }; }; then
6678 ac_cv_nonblocking
=O_NONBLOCK
6680 echo "$as_me: program exited with status $ac_status" >&5
6681 echo "$as_me: failed program was:" >&5
6682 cat conftest.
$ac_ext >&5
6685 if test "$cross_compiling" = yes; then
6686 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6687 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6688 { (exit 1); exit 1; }; }
6690 cat >conftest.
$ac_ext <<_ACEOF
6691 #line $LINENO "configure"
6692 #include "confdefs.h"
6694 #include <sys/types.h>
6695 #include <sys/socket.h>
6697 #include <sys/ioctl.h>
6698 #include <sys/file.h>
6706 int f, l = sizeof(x);
6707 f = socket(AF_INET, SOCK_DGRAM, 0);
6708 if (f >= 0 && !(fcntl(f, F_SETFL, O_NDELAY))) {
6709 signal(SIGALRM, alarmed);
6711 recvfrom(f, b, 12, 0, (struct sockaddr *)x, &l);
6719 rm -f conftest
$ac_exeext
6720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6721 (eval $ac_link) 2>&5
6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); }; }; then
6730 ac_cv_nonblocking
=O_NDELAY
6732 echo "$as_me: program exited with status $ac_status" >&5
6733 echo "$as_me: failed program was:" >&5
6734 cat conftest.
$ac_ext >&5
6737 if test "$cross_compiling" = yes; then
6738 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6739 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6740 { (exit 1); exit 1; }; }
6742 cat >conftest.
$ac_ext <<_ACEOF
6743 #line $LINENO "configure"
6744 #include "confdefs.h"
6746 #include <sys/types.h>
6747 #include <sys/socket.h>
6749 #include <sys/ioctl.h>
6750 #include <sys/file.h>
6758 int f, l = sizeof(x);
6759 f = socket(AF_INET, SOCK_DGRAM, 0);
6760 if (f >= 0 && !(fcntl(f, F_SETFL, FIONBIO))) {
6761 signal(SIGALRM, alarmed);
6763 recvfrom(f, b, 12, 0, (struct sockaddr *)x, &l);
6771 rm -f conftest
$ac_exeext
6772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6773 (eval $ac_link) 2>&5
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; }; then
6782 ac_cv_nonblocking
=FIONBIO
6784 echo "$as_me: program exited with status $ac_status" >&5
6785 echo "$as_me: failed program was:" >&5
6786 cat conftest.
$ac_ext >&5
6788 ac_cv_nonblocking
=none
6790 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6793 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6796 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6799 echo "$as_me:$LINENO: result: $ac_cv_nonblocking" >&5
6800 echo "${ECHO_T}$ac_cv_nonblocking" >&6
6801 if test "$ac_cv_nonblocking" = "O_NONBLOCK"; then
6802 cat >>confdefs.h
<<\_ACEOF
6803 #define NBLOCK_POSIX 1
6806 elif test "$ac_cv_nonblocking" = "O_NDELAY"; then
6807 cat >>confdefs.h
<<\_ACEOF
6808 #define NBLOCK_BSD 1
6811 elif test "$ac_cv_nonblocking" = "FIONBIO"; then
6812 cat >>confdefs.h
<<\_ACEOF
6813 #define NBLOCK_SYSV 1
6818 if test $ac_cv_c_compiler_gnu = yes; then
6819 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
6820 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
6821 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
6822 echo $ECHO_N "(cached) $ECHO_C" >&6
6824 ac_pattern
="Autoconf.*'x'"
6825 cat >conftest.
$ac_ext <<_ACEOF
6826 #line $LINENO "configure"
6827 #include "confdefs.h"
6831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6832 egrep "$ac_pattern" >/dev
/null
2>&1; then
6833 ac_cv_prog_gcc_traditional
=yes
6835 ac_cv_prog_gcc_traditional
=no
6840 if test $ac_cv_prog_gcc_traditional = no
; then
6841 cat >conftest.
$ac_ext <<_ACEOF
6842 #line $LINENO "configure"
6843 #include "confdefs.h"
6847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6848 egrep "$ac_pattern" >/dev
/null
2>&1; then
6849 ac_cv_prog_gcc_traditional
=yes
6855 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
6856 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
6857 if test $ac_cv_prog_gcc_traditional = yes; then
6858 CC
="$CC -traditional"
6862 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
6863 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
6864 if test "${ac_cv_func_setpgrp_void+set}" = set; then
6865 echo $ECHO_N "(cached) $ECHO_C" >&6
6867 if test "$cross_compiling" = yes; then
6868 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
6869 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
6870 { (exit 1); exit 1; }; }
6872 cat >conftest.
$ac_ext <<_ACEOF
6873 #line $LINENO "configure"
6874 #include "confdefs.h"
6876 # include <unistd.h>
6879 #ifdef F77_DUMMY_MAIN
6883 int F77_DUMMY_MAIN() { return 1; }
6888 /* If this system has a BSD-style setpgrp which takes arguments,
6889 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
6890 exit successfully. */
6891 exit (setpgrp (1,1) == -1 ? 0 : 1);
6896 rm -f conftest
$ac_exeext
6897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6898 (eval $ac_link) 2>&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; }; then
6907 ac_cv_func_setpgrp_void
=no
6909 echo "$as_me: program exited with status $ac_status" >&5
6910 echo "$as_me: failed program was:" >&5
6911 cat conftest.
$ac_ext >&5
6913 ac_cv_func_setpgrp_void
=yes
6915 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6918 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
6919 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
6920 if test $ac_cv_func_setpgrp_void = yes; then
6922 cat >>confdefs.h
<<\_ACEOF
6923 #define SETPGRP_VOID 1
6928 echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
6929 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
6930 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
6931 echo $ECHO_N "(cached) $ECHO_C" >&6
6933 if test "$cross_compiling" = yes; then
6934 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6935 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6936 { (exit 1); exit 1; }; }
6938 cat >conftest.
$ac_ext <<_ACEOF
6939 #line $LINENO "configure"
6940 #include "confdefs.h"
6942 /* If setvbuf has the reversed format, exit 0. */
6946 /* This call has the arguments reversed.
6947 A reversed system may check and see that the address of main
6948 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
6949 if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
6952 exit(0); /* Non-reversed systems segv here. */
6955 rm -f conftest
$ac_exeext
6956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6957 (eval $ac_link) 2>&5
6959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); }; }; then
6966 ac_cv_func_setvbuf_reversed
=yes
6968 echo "$as_me: program exited with status $ac_status" >&5
6969 echo "$as_me: failed program was:" >&5
6970 cat conftest.
$ac_ext >&5
6972 ac_cv_func_setvbuf_reversed
=no
6974 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6976 rm -f core core.
* *.core
6978 echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
6979 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
6980 if test $ac_cv_func_setvbuf_reversed = yes; then
6982 cat >>confdefs.h
<<\_ACEOF
6983 #define SETVBUF_REVERSED 1
6989 for ac_func
in snprintf
6991 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6992 echo "$as_me:$LINENO: checking for $ac_func" >&5
6993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6994 if eval "test \"\${$as_ac_var+set}\" = set"; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 cat >conftest.
$ac_ext <<_ACEOF
6998 #line $LINENO "configure"
6999 #include "confdefs.h"
7000 /* System header to define __stub macros and hopefully few prototypes,
7001 which can conflict with char $ac_func (); below. */
7003 /* Override any gcc2 internal prototype to avoid an error. */
7007 /* We use char because int might match the return type of a gcc2
7008 builtin and then its argument prototype would still apply. */
7012 #ifdef F77_DUMMY_MAIN
7016 int F77_DUMMY_MAIN() { return 1; }
7021 /* The GNU C library defines this for functions which it implements
7022 to always fail with ENOSYS. Some functions are actually named
7023 something starting with __ and the normal name is an alias. */
7024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7034 rm -f conftest.
$ac_objext conftest
$ac_exeext
7035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7036 (eval $ac_link) 2>&5
7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039 (exit $ac_status); } &&
7040 { ac_try
='test -s conftest$ac_exeext'
7041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); }; }; then
7046 eval "$as_ac_var=yes"
7048 echo "$as_me: failed program was:" >&5
7049 cat conftest.
$ac_ext >&5
7050 eval "$as_ac_var=no"
7052 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7056 if test `eval echo '${'$as_ac_var'}'` = yes; then
7057 cat >>confdefs.h
<<_ACEOF
7058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7060 cat >>confdefs.h
<<\_ACEOF
7061 #define HAVE_SNPRINTF 1
7068 for ac_func
in vsnprintf
7070 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7071 echo "$as_me:$LINENO: checking for $ac_func" >&5
7072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7073 if eval "test \"\${$as_ac_var+set}\" = set"; then
7074 echo $ECHO_N "(cached) $ECHO_C" >&6
7076 cat >conftest.
$ac_ext <<_ACEOF
7077 #line $LINENO "configure"
7078 #include "confdefs.h"
7079 /* System header to define __stub macros and hopefully few prototypes,
7080 which can conflict with char $ac_func (); below. */
7082 /* Override any gcc2 internal prototype to avoid an error. */
7086 /* We use char because int might match the return type of a gcc2
7087 builtin and then its argument prototype would still apply. */
7091 #ifdef F77_DUMMY_MAIN
7095 int F77_DUMMY_MAIN() { return 1; }
7100 /* The GNU C library defines this for functions which it implements
7101 to always fail with ENOSYS. Some functions are actually named
7102 something starting with __ and the normal name is an alias. */
7103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7113 rm -f conftest.
$ac_objext conftest
$ac_exeext
7114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7115 (eval $ac_link) 2>&5
7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118 (exit $ac_status); } &&
7119 { ac_try
='test -s conftest$ac_exeext'
7120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); }; }; then
7125 eval "$as_ac_var=yes"
7127 echo "$as_me: failed program was:" >&5
7128 cat conftest.
$ac_ext >&5
7129 eval "$as_ac_var=no"
7131 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7135 if test `eval echo '${'$as_ac_var'}'` = yes; then
7136 cat >>confdefs.h
<<_ACEOF
7137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7139 cat >>confdefs.h
<<\_ACEOF
7140 #define HAVE_VSNPRINTF 1
7147 for ac_func
in strlcpy
7149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7150 echo "$as_me:$LINENO: checking for $ac_func" >&5
7151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7152 if eval "test \"\${$as_ac_var+set}\" = set"; then
7153 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 cat >conftest.
$ac_ext <<_ACEOF
7156 #line $LINENO "configure"
7157 #include "confdefs.h"
7158 /* System header to define __stub macros and hopefully few prototypes,
7159 which can conflict with char $ac_func (); below. */
7161 /* Override any gcc2 internal prototype to avoid an error. */
7165 /* We use char because int might match the return type of a gcc2
7166 builtin and then its argument prototype would still apply. */
7170 #ifdef F77_DUMMY_MAIN
7174 int F77_DUMMY_MAIN() { return 1; }
7179 /* The GNU C library defines this for functions which it implements
7180 to always fail with ENOSYS. Some functions are actually named
7181 something starting with __ and the normal name is an alias. */
7182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7192 rm -f conftest.
$ac_objext conftest
$ac_exeext
7193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7194 (eval $ac_link) 2>&5
7196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 (exit $ac_status); } &&
7198 { ac_try
='test -s conftest$ac_exeext'
7199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 (exit $ac_status); }; }; then
7204 eval "$as_ac_var=yes"
7206 echo "$as_me: failed program was:" >&5
7207 cat conftest.
$ac_ext >&5
7208 eval "$as_ac_var=no"
7210 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7214 if test `eval echo '${'$as_ac_var'}'` = yes; then
7215 cat >>confdefs.h
<<_ACEOF
7216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7218 cat >>confdefs.h
<<\_ACEOF
7219 #define HAVE_STRLCPY 1
7226 for ac_func
in strlcat
7228 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7229 echo "$as_me:$LINENO: checking for $ac_func" >&5
7230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7231 if eval "test \"\${$as_ac_var+set}\" = set"; then
7232 echo $ECHO_N "(cached) $ECHO_C" >&6
7234 cat >conftest.
$ac_ext <<_ACEOF
7235 #line $LINENO "configure"
7236 #include "confdefs.h"
7237 /* System header to define __stub macros and hopefully few prototypes,
7238 which can conflict with char $ac_func (); below. */
7240 /* Override any gcc2 internal prototype to avoid an error. */
7244 /* We use char because int might match the return type of a gcc2
7245 builtin and then its argument prototype would still apply. */
7249 #ifdef F77_DUMMY_MAIN
7253 int F77_DUMMY_MAIN() { return 1; }
7258 /* The GNU C library defines this for functions which it implements
7259 to always fail with ENOSYS. Some functions are actually named
7260 something starting with __ and the normal name is an alias. */
7261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7271 rm -f conftest.
$ac_objext conftest
$ac_exeext
7272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7273 (eval $ac_link) 2>&5
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); } &&
7277 { ac_try
='test -s conftest$ac_exeext'
7278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282 (exit $ac_status); }; }; then
7283 eval "$as_ac_var=yes"
7285 echo "$as_me: failed program was:" >&5
7286 cat conftest.
$ac_ext >&5
7287 eval "$as_ac_var=no"
7289 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7293 if test `eval echo '${'$as_ac_var'}'` = yes; then
7294 cat >>confdefs.h
<<_ACEOF
7295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7297 cat >>confdefs.h
<<\_ACEOF
7298 #define HAVE_STRLCAT 1
7305 for ac_func
in strlncat
7307 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7308 echo "$as_me:$LINENO: checking for $ac_func" >&5
7309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7310 if eval "test \"\${$as_ac_var+set}\" = set"; then
7311 echo $ECHO_N "(cached) $ECHO_C" >&6
7313 cat >conftest.
$ac_ext <<_ACEOF
7314 #line $LINENO "configure"
7315 #include "confdefs.h"
7316 /* System header to define __stub macros and hopefully few prototypes,
7317 which can conflict with char $ac_func (); below. */
7319 /* Override any gcc2 internal prototype to avoid an error. */
7323 /* We use char because int might match the return type of a gcc2
7324 builtin and then its argument prototype would still apply. */
7328 #ifdef F77_DUMMY_MAIN
7332 int F77_DUMMY_MAIN() { return 1; }
7337 /* The GNU C library defines this for functions which it implements
7338 to always fail with ENOSYS. Some functions are actually named
7339 something starting with __ and the normal name is an alias. */
7340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7350 rm -f conftest.
$ac_objext conftest
$ac_exeext
7351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7352 (eval $ac_link) 2>&5
7354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355 (exit $ac_status); } &&
7356 { ac_try
='test -s conftest$ac_exeext'
7357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7361 (exit $ac_status); }; }; then
7362 eval "$as_ac_var=yes"
7364 echo "$as_me: failed program was:" >&5
7365 cat conftest.
$ac_ext >&5
7366 eval "$as_ac_var=no"
7368 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7372 if test `eval echo '${'$as_ac_var'}'` = yes; then
7373 cat >>confdefs.h
<<_ACEOF
7374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7376 cat >>confdefs.h
<<\_ACEOF
7377 #define HAVE_STRLNCAT 1
7384 echo "$as_me:$LINENO: checking if we can set the core size to unlimited" >&5
7385 echo $ECHO_N "checking if we can set the core size to unlimited... $ECHO_C" >&6
7386 if test "${ac_cv_force_core+set}" = set; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7390 if test "$cross_compiling" = yes; then
7391 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
7392 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7393 { (exit 1); exit 1; }; }
7395 cat >conftest.
$ac_ext <<_ACEOF
7396 #line $LINENO "configure"
7397 #include "confdefs.h"
7399 #include <sys/time.h>
7400 #include <sys/resource.h>
7403 struct rlimit corelim;
7404 corelim.rlim_cur = corelim.rlim_max = RLIM_INFINITY;
7405 if (setrlimit(RLIMIT_CORE, &corelim))
7411 rm -f conftest
$ac_exeext
7412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7413 (eval $ac_link) 2>&5
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); }; }; then
7422 ac_cv_force_core
=yes
7424 echo "$as_me: program exited with status $ac_status" >&5
7425 echo "$as_me: failed program was:" >&5
7426 cat conftest.
$ac_ext >&5
7430 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7434 echo "$as_me:$LINENO: result: $ac_cv_force_core" >&5
7435 echo "${ECHO_T}$ac_cv_force_core" >&6
7436 if test "$ac_cv_force_core" = "yes"; then
7437 cat >>confdefs.h
<<\_ACEOF
7438 #define FORCE_CORE 1
7443 for ac_func
in vprintf
7445 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7446 echo "$as_me:$LINENO: checking for $ac_func" >&5
7447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7448 if eval "test \"\${$as_ac_var+set}\" = set"; then
7449 echo $ECHO_N "(cached) $ECHO_C" >&6
7451 cat >conftest.
$ac_ext <<_ACEOF
7452 #line $LINENO "configure"
7453 #include "confdefs.h"
7454 /* System header to define __stub macros and hopefully few prototypes,
7455 which can conflict with char $ac_func (); below. */
7457 /* Override any gcc2 internal prototype to avoid an error. */
7461 /* We use char because int might match the return type of a gcc2
7462 builtin and then its argument prototype would still apply. */
7466 #ifdef F77_DUMMY_MAIN
7470 int F77_DUMMY_MAIN() { return 1; }
7475 /* The GNU C library defines this for functions which it implements
7476 to always fail with ENOSYS. Some functions are actually named
7477 something starting with __ and the normal name is an alias. */
7478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7488 rm -f conftest.
$ac_objext conftest
$ac_exeext
7489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7490 (eval $ac_link) 2>&5
7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7493 (exit $ac_status); } &&
7494 { ac_try
='test -s conftest$ac_exeext'
7495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499 (exit $ac_status); }; }; then
7500 eval "$as_ac_var=yes"
7502 echo "$as_me: failed program was:" >&5
7503 cat conftest.
$ac_ext >&5
7504 eval "$as_ac_var=no"
7506 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7510 if test `eval echo '${'$as_ac_var'}'` = yes; then
7511 cat >>confdefs.h
<<_ACEOF
7512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7515 echo "$as_me:$LINENO: checking for _doprnt" >&5
7516 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
7517 if test "${ac_cv_func__doprnt+set}" = set; then
7518 echo $ECHO_N "(cached) $ECHO_C" >&6
7520 cat >conftest.
$ac_ext <<_ACEOF
7521 #line $LINENO "configure"
7522 #include "confdefs.h"
7523 /* System header to define __stub macros and hopefully few prototypes,
7524 which can conflict with char _doprnt (); below. */
7526 /* Override any gcc2 internal prototype to avoid an error. */
7530 /* We use char because int might match the return type of a gcc2
7531 builtin and then its argument prototype would still apply. */
7535 #ifdef F77_DUMMY_MAIN
7539 int F77_DUMMY_MAIN() { return 1; }
7544 /* The GNU C library defines this for functions which it implements
7545 to always fail with ENOSYS. Some functions are actually named
7546 something starting with __ and the normal name is an alias. */
7547 #if defined (__stub__doprnt) || defined (__stub____doprnt)
7557 rm -f conftest.
$ac_objext conftest
$ac_exeext
7558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7559 (eval $ac_link) 2>&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); } &&
7563 { ac_try
='test -s conftest$ac_exeext'
7564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); }; }; then
7569 ac_cv_func__doprnt
=yes
7571 echo "$as_me: failed program was:" >&5
7572 cat conftest.
$ac_ext >&5
7573 ac_cv_func__doprnt
=no
7575 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7577 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
7578 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
7579 if test $ac_cv_func__doprnt = yes; then
7581 cat >>confdefs.h
<<\_ACEOF
7582 #define HAVE_DOPRNT 1
7592 for ac_func
in gettimeofday
7594 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7595 echo "$as_me:$LINENO: checking for $ac_func" >&5
7596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7597 if eval "test \"\${$as_ac_var+set}\" = set"; then
7598 echo $ECHO_N "(cached) $ECHO_C" >&6
7600 cat >conftest.
$ac_ext <<_ACEOF
7601 #line $LINENO "configure"
7602 #include "confdefs.h"
7603 /* System header to define __stub macros and hopefully few prototypes,
7604 which can conflict with char $ac_func (); below. */
7606 /* Override any gcc2 internal prototype to avoid an error. */
7610 /* We use char because int might match the return type of a gcc2
7611 builtin and then its argument prototype would still apply. */
7615 #ifdef F77_DUMMY_MAIN
7619 int F77_DUMMY_MAIN() { return 1; }
7624 /* The GNU C library defines this for functions which it implements
7625 to always fail with ENOSYS. Some functions are actually named
7626 something starting with __ and the normal name is an alias. */
7627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7637 rm -f conftest.
$ac_objext conftest
$ac_exeext
7638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7639 (eval $ac_link) 2>&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } &&
7643 { ac_try
='test -s conftest$ac_exeext'
7644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 (exit $ac_status); }; }; then
7649 eval "$as_ac_var=yes"
7651 echo "$as_me: failed program was:" >&5
7652 cat conftest.
$ac_ext >&5
7653 eval "$as_ac_var=no"
7655 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7659 if test `eval echo '${'$as_ac_var'}'` = yes; then
7660 cat >>confdefs.h
<<_ACEOF
7661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7663 cat >>confdefs.h
<<\_ACEOF
7664 #define GETTIMEOFDAY 1
7669 for ac_func
in lrand48
7671 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7672 echo "$as_me:$LINENO: checking for $ac_func" >&5
7673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7674 if eval "test \"\${$as_ac_var+set}\" = set"; then
7675 echo $ECHO_N "(cached) $ECHO_C" >&6
7677 cat >conftest.
$ac_ext <<_ACEOF
7678 #line $LINENO "configure"
7679 #include "confdefs.h"
7680 /* System header to define __stub macros and hopefully few prototypes,
7681 which can conflict with char $ac_func (); below. */
7683 /* Override any gcc2 internal prototype to avoid an error. */
7687 /* We use char because int might match the return type of a gcc2
7688 builtin and then its argument prototype would still apply. */
7692 #ifdef F77_DUMMY_MAIN
7696 int F77_DUMMY_MAIN() { return 1; }
7701 /* The GNU C library defines this for functions which it implements
7702 to always fail with ENOSYS. Some functions are actually named
7703 something starting with __ and the normal name is an alias. */
7704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7714 rm -f conftest.
$ac_objext conftest
$ac_exeext
7715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7716 (eval $ac_link) 2>&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); } &&
7720 { ac_try
='test -s conftest$ac_exeext'
7721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; }; then
7726 eval "$as_ac_var=yes"
7728 echo "$as_me: failed program was:" >&5
7729 cat conftest.
$ac_ext >&5
7730 eval "$as_ac_var=no"
7732 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7736 if test `eval echo '${'$as_ac_var'}'` = yes; then
7737 cat >>confdefs.h
<<_ACEOF
7738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7740 cat >>confdefs.h
<<\_ACEOF
7751 for ac_func
in getrusage
7753 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7754 echo "$as_me:$LINENO: checking for $ac_func" >&5
7755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7756 if eval "test \"\${$as_ac_var+set}\" = set"; then
7757 echo $ECHO_N "(cached) $ECHO_C" >&6
7759 cat >conftest.
$ac_ext <<_ACEOF
7760 #line $LINENO "configure"
7761 #include "confdefs.h"
7762 /* System header to define __stub macros and hopefully few prototypes,
7763 which can conflict with char $ac_func (); below. */
7765 /* Override any gcc2 internal prototype to avoid an error. */
7769 /* We use char because int might match the return type of a gcc2
7770 builtin and then its argument prototype would still apply. */
7774 #ifdef F77_DUMMY_MAIN
7778 int F77_DUMMY_MAIN() { return 1; }
7783 /* The GNU C library defines this for functions which it implements
7784 to always fail with ENOSYS. Some functions are actually named
7785 something starting with __ and the normal name is an alias. */
7786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7796 rm -f conftest.
$ac_objext conftest
$ac_exeext
7797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7798 (eval $ac_link) 2>&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); } &&
7802 { ac_try
='test -s conftest$ac_exeext'
7803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807 (exit $ac_status); }; }; then
7808 eval "$as_ac_var=yes"
7810 echo "$as_me: failed program was:" >&5
7811 cat conftest.
$ac_ext >&5
7812 eval "$as_ac_var=no"
7814 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7818 if test `eval echo '${'$as_ac_var'}'` = yes; then
7819 cat >>confdefs.h
<<_ACEOF
7820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7822 cat >>confdefs.h
<<\_ACEOF
7823 #define GETRUSAGE_2 1
7828 for ac_func
in times
7830 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7831 echo "$as_me:$LINENO: checking for $ac_func" >&5
7832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7833 if eval "test \"\${$as_ac_var+set}\" = set"; then
7834 echo $ECHO_N "(cached) $ECHO_C" >&6
7836 cat >conftest.
$ac_ext <<_ACEOF
7837 #line $LINENO "configure"
7838 #include "confdefs.h"
7839 /* System header to define __stub macros and hopefully few prototypes,
7840 which can conflict with char $ac_func (); below. */
7842 /* Override any gcc2 internal prototype to avoid an error. */
7846 /* We use char because int might match the return type of a gcc2
7847 builtin and then its argument prototype would still apply. */
7851 #ifdef F77_DUMMY_MAIN
7855 int F77_DUMMY_MAIN() { return 1; }
7860 /* The GNU C library defines this for functions which it implements
7861 to always fail with ENOSYS. Some functions are actually named
7862 something starting with __ and the normal name is an alias. */
7863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7873 rm -f conftest.
$ac_objext conftest
$ac_exeext
7874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7875 (eval $ac_link) 2>&5
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); } &&
7879 { ac_try
='test -s conftest$ac_exeext'
7880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }; }; then
7885 eval "$as_ac_var=yes"
7887 echo "$as_me: failed program was:" >&5
7888 cat conftest.
$ac_ext >&5
7889 eval "$as_ac_var=no"
7891 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7895 if test `eval echo '${'$as_ac_var'}'` = yes; then
7896 cat >>confdefs.h
<<_ACEOF
7897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7899 cat >>confdefs.h
<<\_ACEOF
7910 for ac_func
in setproctitle
7912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7913 echo "$as_me:$LINENO: checking for $ac_func" >&5
7914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7915 if eval "test \"\${$as_ac_var+set}\" = set"; then
7916 echo $ECHO_N "(cached) $ECHO_C" >&6
7918 cat >conftest.
$ac_ext <<_ACEOF
7919 #line $LINENO "configure"
7920 #include "confdefs.h"
7921 /* System header to define __stub macros and hopefully few prototypes,
7922 which can conflict with char $ac_func (); below. */
7924 /* Override any gcc2 internal prototype to avoid an error. */
7928 /* We use char because int might match the return type of a gcc2
7929 builtin and then its argument prototype would still apply. */
7933 #ifdef F77_DUMMY_MAIN
7937 int F77_DUMMY_MAIN() { return 1; }
7942 /* The GNU C library defines this for functions which it implements
7943 to always fail with ENOSYS. Some functions are actually named
7944 something starting with __ and the normal name is an alias. */
7945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7955 rm -f conftest.
$ac_objext conftest
$ac_exeext
7956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7957 (eval $ac_link) 2>&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); } &&
7961 { ac_try
='test -s conftest$ac_exeext'
7962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966 (exit $ac_status); }; }; then
7967 eval "$as_ac_var=yes"
7969 echo "$as_me: failed program was:" >&5
7970 cat conftest.
$ac_ext >&5
7971 eval "$as_ac_var=no"
7973 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7977 if test `eval echo '${'$as_ac_var'}'` = yes; then
7978 cat >>confdefs.h
<<_ACEOF
7979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7981 cat >>confdefs.h
<<\_ACEOF
7982 #define HAVE_SETPROCTITLE 1
7987 echo "$as_me:$LINENO: checking for setproctitle in -lutil" >&5
7988 echo $ECHO_N "checking for setproctitle in -lutil... $ECHO_C" >&6
7989 if test "${ac_cv_lib_util_setproctitle+set}" = set; then
7990 echo $ECHO_N "(cached) $ECHO_C" >&6
7992 ac_check_lib_save_LIBS
=$LIBS
7994 cat >conftest.
$ac_ext <<_ACEOF
7995 #line $LINENO "configure"
7996 #include "confdefs.h"
7998 /* Override any gcc2 internal prototype to avoid an error. */
8002 /* We use char because int might match the return type of a gcc2
8003 builtin and then its argument prototype would still apply. */
8004 char setproctitle ();
8005 #ifdef F77_DUMMY_MAIN
8009 int F77_DUMMY_MAIN() { return 1; }
8019 rm -f conftest.
$ac_objext conftest
$ac_exeext
8020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8021 (eval $ac_link) 2>&5
8023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024 (exit $ac_status); } &&
8025 { ac_try
='test -s conftest$ac_exeext'
8026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); }; }; then
8031 ac_cv_lib_util_setproctitle
=yes
8033 echo "$as_me: failed program was:" >&5
8034 cat conftest.
$ac_ext >&5
8035 ac_cv_lib_util_setproctitle
=no
8037 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8038 LIBS
=$ac_check_lib_save_LIBS
8040 echo "$as_me:$LINENO: result: $ac_cv_lib_util_setproctitle" >&5
8041 echo "${ECHO_T}$ac_cv_lib_util_setproctitle" >&6
8042 if test $ac_cv_lib_util_setproctitle = yes; then
8043 cat >>confdefs.h
<<\_ACEOF
8044 #define HAVE_SETPROCTITLE 1
8046 IRCDLIBS
="$IRCDLIBS-lutil"
8049 cat >conftest.
$ac_ext <<_ACEOF
8050 #line $LINENO "configure"
8051 #include "confdefs.h"
8052 #include <sys/exec.h>
8055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8056 egrep "#define.*PS_STRINGS.*" >/dev
/null
2>&1; then
8057 cat >>confdefs.h
<<\_ACEOF
8058 #define HAVE_PSSTRINGS 1
8064 for ac_func
in pstat
8066 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8067 echo "$as_me:$LINENO: checking for $ac_func" >&5
8068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8069 if eval "test \"\${$as_ac_var+set}\" = set"; then
8070 echo $ECHO_N "(cached) $ECHO_C" >&6
8072 cat >conftest.
$ac_ext <<_ACEOF
8073 #line $LINENO "configure"
8074 #include "confdefs.h"
8075 /* System header to define __stub macros and hopefully few prototypes,
8076 which can conflict with char $ac_func (); below. */
8078 /* Override any gcc2 internal prototype to avoid an error. */
8082 /* We use char because int might match the return type of a gcc2
8083 builtin and then its argument prototype would still apply. */
8087 #ifdef F77_DUMMY_MAIN
8091 int F77_DUMMY_MAIN() { return 1; }
8096 /* The GNU C library defines this for functions which it implements
8097 to always fail with ENOSYS. Some functions are actually named
8098 something starting with __ and the normal name is an alias. */
8099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8109 rm -f conftest.
$ac_objext conftest
$ac_exeext
8110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8111 (eval $ac_link) 2>&5
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); } &&
8115 { ac_try
='test -s conftest$ac_exeext'
8116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); }; }; then
8121 eval "$as_ac_var=yes"
8123 echo "$as_me: failed program was:" >&5
8124 cat conftest.
$ac_ext >&5
8125 eval "$as_ac_var=no"
8127 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8131 if test `eval echo '${'$as_ac_var'}'` = yes; then
8132 cat >>confdefs.h
<<_ACEOF
8133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8135 cat >>confdefs.h
<<\_ACEOF
8136 #define HAVE_PSTAT 1
8153 echo "$as_me:$LINENO: checking what type of signals you have" >&5
8154 echo $ECHO_N "checking what type of signals you have... $ECHO_C" >&6
8155 if test "${ac_cv_sigtype+set}" = set; then
8156 echo $ECHO_N "(cached) $ECHO_C" >&6
8159 if test "$cross_compiling" = yes; then
8160 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
8161 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8162 { (exit 1); exit 1; }; }
8164 cat >conftest.
$ac_ext <<_ACEOF
8165 #line $LINENO "configure"
8166 #include "confdefs.h"
8170 sigaction(SIGTERM, (struct sigaction *)0L, (struct sigaction *)0L);
8174 rm -f conftest
$ac_exeext
8175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8176 (eval $ac_link) 2>&5
8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8179 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); }; }; then
8187 echo "$as_me: program exited with status $ac_status" >&5
8188 echo "$as_me: failed program was:" >&5
8189 cat conftest.
$ac_ext >&5
8192 if test "$cross_compiling" = yes; then
8193 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
8194 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8195 { (exit 1); exit 1; }; }
8197 cat >conftest.
$ac_ext <<_ACEOF
8198 #line $LINENO "configure"
8199 #include "confdefs.h"
8208 kill(getpid(), SIGTERM);
8213 signal(SIGTERM, handler);
8214 kill(getpid(), SIGTERM);
8219 rm -f conftest
$ac_exeext
8220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8221 (eval $ac_link) 2>&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); }; }; then
8232 echo "$as_me: program exited with status $ac_status" >&5
8233 echo "$as_me: failed program was:" >&5
8234 cat conftest.
$ac_ext >&5
8238 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8241 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8244 echo "$as_me:$LINENO: result: $ac_cv_sigtype" >&5
8245 echo "${ECHO_T}$ac_cv_sigtype" >&6
8247 if test "$ac_cv_sigtype" = "POSIX"; then
8248 cat >>confdefs.h
<<\_ACEOF
8249 #define POSIX_SIGNALS 1
8252 elif test "$ac_cv_sigtype" = "BSD"; then
8253 cat >>confdefs.h
<<\_ACEOF
8254 #define BSD_RELIABLE_SIGNALS 1
8258 cat >>confdefs.h
<<\_ACEOF
8259 #define SYSV_UNRELIABLE_SIGNALS 1
8264 for ac_func
in strtoken
8266 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8267 echo "$as_me:$LINENO: checking for $ac_func" >&5
8268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8269 if eval "test \"\${$as_ac_var+set}\" = set"; then
8270 echo $ECHO_N "(cached) $ECHO_C" >&6
8272 cat >conftest.
$ac_ext <<_ACEOF
8273 #line $LINENO "configure"
8274 #include "confdefs.h"
8275 /* System header to define __stub macros and hopefully few prototypes,
8276 which can conflict with char $ac_func (); below. */
8278 /* Override any gcc2 internal prototype to avoid an error. */
8282 /* We use char because int might match the return type of a gcc2
8283 builtin and then its argument prototype would still apply. */
8287 #ifdef F77_DUMMY_MAIN
8291 int F77_DUMMY_MAIN() { return 1; }
8296 /* The GNU C library defines this for functions which it implements
8297 to always fail with ENOSYS. Some functions are actually named
8298 something starting with __ and the normal name is an alias. */
8299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8309 rm -f conftest.
$ac_objext conftest
$ac_exeext
8310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8311 (eval $ac_link) 2>&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); } &&
8315 { ac_try
='test -s conftest$ac_exeext'
8316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8320 (exit $ac_status); }; }; then
8321 eval "$as_ac_var=yes"
8323 echo "$as_me: failed program was:" >&5
8324 cat conftest.
$ac_ext >&5
8325 eval "$as_ac_var=no"
8327 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8331 if test `eval echo '${'$as_ac_var'}'` = yes; then
8332 cat >>confdefs.h
<<_ACEOF
8333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8337 cat >>confdefs.h
<<\_ACEOF
8338 #define NEED_STRTOKEN 1
8345 for ac_func
in strtok
8347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8348 echo "$as_me:$LINENO: checking for $ac_func" >&5
8349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8350 if eval "test \"\${$as_ac_var+set}\" = set"; then
8351 echo $ECHO_N "(cached) $ECHO_C" >&6
8353 cat >conftest.
$ac_ext <<_ACEOF
8354 #line $LINENO "configure"
8355 #include "confdefs.h"
8356 /* System header to define __stub macros and hopefully few prototypes,
8357 which can conflict with char $ac_func (); below. */
8359 /* Override any gcc2 internal prototype to avoid an error. */
8363 /* We use char because int might match the return type of a gcc2
8364 builtin and then its argument prototype would still apply. */
8368 #ifdef F77_DUMMY_MAIN
8372 int F77_DUMMY_MAIN() { return 1; }
8377 /* The GNU C library defines this for functions which it implements
8378 to always fail with ENOSYS. Some functions are actually named
8379 something starting with __ and the normal name is an alias. */
8380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8390 rm -f conftest.
$ac_objext conftest
$ac_exeext
8391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8392 (eval $ac_link) 2>&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); } &&
8396 { ac_try
='test -s conftest$ac_exeext'
8397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); }; }; then
8402 eval "$as_ac_var=yes"
8404 echo "$as_me: failed program was:" >&5
8405 cat conftest.
$ac_ext >&5
8406 eval "$as_ac_var=no"
8408 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8412 if test `eval echo '${'$as_ac_var'}'` = yes; then
8413 cat >>confdefs.h
<<_ACEOF
8414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8418 cat >>confdefs.h
<<\_ACEOF
8419 #define NEED_STRTOK 1
8426 for ac_func
in strerror
8428 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8429 echo "$as_me:$LINENO: checking for $ac_func" >&5
8430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8431 if eval "test \"\${$as_ac_var+set}\" = set"; then
8432 echo $ECHO_N "(cached) $ECHO_C" >&6
8434 cat >conftest.
$ac_ext <<_ACEOF
8435 #line $LINENO "configure"
8436 #include "confdefs.h"
8437 /* System header to define __stub macros and hopefully few prototypes,
8438 which can conflict with char $ac_func (); below. */
8440 /* Override any gcc2 internal prototype to avoid an error. */
8444 /* We use char because int might match the return type of a gcc2
8445 builtin and then its argument prototype would still apply. */
8449 #ifdef F77_DUMMY_MAIN
8453 int F77_DUMMY_MAIN() { return 1; }
8458 /* The GNU C library defines this for functions which it implements
8459 to always fail with ENOSYS. Some functions are actually named
8460 something starting with __ and the normal name is an alias. */
8461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8471 rm -f conftest.
$ac_objext conftest
$ac_exeext
8472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8473 (eval $ac_link) 2>&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); } &&
8477 { ac_try
='test -s conftest$ac_exeext'
8478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); }; }; then
8483 eval "$as_ac_var=yes"
8485 echo "$as_me: failed program was:" >&5
8486 cat conftest.
$ac_ext >&5
8487 eval "$as_ac_var=no"
8489 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8493 if test `eval echo '${'$as_ac_var'}'` = yes; then
8494 cat >>confdefs.h
<<_ACEOF
8495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8499 cat >>confdefs.h
<<\_ACEOF
8500 #define NEED_STRERROR 1
8507 for ac_func
in index
8509 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8510 echo "$as_me:$LINENO: checking for $ac_func" >&5
8511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8512 if eval "test \"\${$as_ac_var+set}\" = set"; then
8513 echo $ECHO_N "(cached) $ECHO_C" >&6
8515 cat >conftest.
$ac_ext <<_ACEOF
8516 #line $LINENO "configure"
8517 #include "confdefs.h"
8518 /* System header to define __stub macros and hopefully few prototypes,
8519 which can conflict with char $ac_func (); below. */
8521 /* Override any gcc2 internal prototype to avoid an error. */
8525 /* We use char because int might match the return type of a gcc2
8526 builtin and then its argument prototype would still apply. */
8530 #ifdef F77_DUMMY_MAIN
8534 int F77_DUMMY_MAIN() { return 1; }
8539 /* The GNU C library defines this for functions which it implements
8540 to always fail with ENOSYS. Some functions are actually named
8541 something starting with __ and the normal name is an alias. */
8542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8552 rm -f conftest.
$ac_objext conftest
$ac_exeext
8553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8554 (eval $ac_link) 2>&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); } &&
8558 { ac_try
='test -s conftest$ac_exeext'
8559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); }; }; then
8564 eval "$as_ac_var=yes"
8566 echo "$as_me: failed program was:" >&5
8567 cat conftest.
$ac_ext >&5
8568 eval "$as_ac_var=no"
8570 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8574 if test `eval echo '${'$as_ac_var'}'` = yes; then
8575 cat >>confdefs.h
<<_ACEOF
8576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8580 cat >>confdefs.h
<<\_ACEOF
8588 for ac_func
in strtoul
8590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8591 echo "$as_me:$LINENO: checking for $ac_func" >&5
8592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8593 if eval "test \"\${$as_ac_var+set}\" = set"; then
8594 echo $ECHO_N "(cached) $ECHO_C" >&6
8596 cat >conftest.
$ac_ext <<_ACEOF
8597 #line $LINENO "configure"
8598 #include "confdefs.h"
8599 /* System header to define __stub macros and hopefully few prototypes,
8600 which can conflict with char $ac_func (); below. */
8602 /* Override any gcc2 internal prototype to avoid an error. */
8606 /* We use char because int might match the return type of a gcc2
8607 builtin and then its argument prototype would still apply. */
8611 #ifdef F77_DUMMY_MAIN
8615 int F77_DUMMY_MAIN() { return 1; }
8620 /* The GNU C library defines this for functions which it implements
8621 to always fail with ENOSYS. Some functions are actually named
8622 something starting with __ and the normal name is an alias. */
8623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8633 rm -f conftest.
$ac_objext conftest
$ac_exeext
8634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8635 (eval $ac_link) 2>&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); } &&
8639 { ac_try
='test -s conftest$ac_exeext'
8640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); }; }; then
8645 eval "$as_ac_var=yes"
8647 echo "$as_me: failed program was:" >&5
8648 cat conftest.
$ac_ext >&5
8649 eval "$as_ac_var=no"
8651 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8655 if test `eval echo '${'$as_ac_var'}'` = yes; then
8656 cat >>confdefs.h
<<_ACEOF
8657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8666 for ac_func
in bcopy
8668 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8669 echo "$as_me:$LINENO: checking for $ac_func" >&5
8670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8671 if eval "test \"\${$as_ac_var+set}\" = set"; then
8672 echo $ECHO_N "(cached) $ECHO_C" >&6
8674 cat >conftest.
$ac_ext <<_ACEOF
8675 #line $LINENO "configure"
8676 #include "confdefs.h"
8677 /* System header to define __stub macros and hopefully few prototypes,
8678 which can conflict with char $ac_func (); below. */
8680 /* Override any gcc2 internal prototype to avoid an error. */
8684 /* We use char because int might match the return type of a gcc2
8685 builtin and then its argument prototype would still apply. */
8689 #ifdef F77_DUMMY_MAIN
8693 int F77_DUMMY_MAIN() { return 1; }
8698 /* The GNU C library defines this for functions which it implements
8699 to always fail with ENOSYS. Some functions are actually named
8700 something starting with __ and the normal name is an alias. */
8701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8711 rm -f conftest.
$ac_objext conftest
$ac_exeext
8712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8713 (eval $ac_link) 2>&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } &&
8717 { ac_try
='test -s conftest$ac_exeext'
8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }; }; then
8723 eval "$as_ac_var=yes"
8725 echo "$as_me: failed program was:" >&5
8726 cat conftest.
$ac_ext >&5
8727 eval "$as_ac_var=no"
8729 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8733 if test `eval echo '${'$as_ac_var'}'` = yes; then
8734 cat >>confdefs.h
<<_ACEOF
8735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8739 cat >>confdefs.h
<<\_ACEOF
8740 #define NEED_BCOPY 1
8749 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8750 echo "$as_me:$LINENO: checking for $ac_func" >&5
8751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8752 if eval "test \"\${$as_ac_var+set}\" = set"; then
8753 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 cat >conftest.
$ac_ext <<_ACEOF
8756 #line $LINENO "configure"
8757 #include "confdefs.h"
8758 /* System header to define __stub macros and hopefully few prototypes,
8759 which can conflict with char $ac_func (); below. */
8761 /* Override any gcc2 internal prototype to avoid an error. */
8765 /* We use char because int might match the return type of a gcc2
8766 builtin and then its argument prototype would still apply. */
8770 #ifdef F77_DUMMY_MAIN
8774 int F77_DUMMY_MAIN() { return 1; }
8779 /* The GNU C library defines this for functions which it implements
8780 to always fail with ENOSYS. Some functions are actually named
8781 something starting with __ and the normal name is an alias. */
8782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8792 rm -f conftest.
$ac_objext conftest
$ac_exeext
8793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8794 (eval $ac_link) 2>&5
8796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797 (exit $ac_status); } &&
8798 { ac_try
='test -s conftest$ac_exeext'
8799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8803 (exit $ac_status); }; }; then
8804 eval "$as_ac_var=yes"
8806 echo "$as_me: failed program was:" >&5
8807 cat conftest.
$ac_ext >&5
8808 eval "$as_ac_var=no"
8810 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8814 if test `eval echo '${'$as_ac_var'}'` = yes; then
8815 cat >>confdefs.h
<<_ACEOF
8816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8820 cat >>confdefs.h
<<\_ACEOF
8828 for ac_func
in bzero
8830 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8831 echo "$as_me:$LINENO: checking for $ac_func" >&5
8832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8833 if eval "test \"\${$as_ac_var+set}\" = set"; then
8834 echo $ECHO_N "(cached) $ECHO_C" >&6
8836 cat >conftest.
$ac_ext <<_ACEOF
8837 #line $LINENO "configure"
8838 #include "confdefs.h"
8839 /* System header to define __stub macros and hopefully few prototypes,
8840 which can conflict with char $ac_func (); below. */
8842 /* Override any gcc2 internal prototype to avoid an error. */
8846 /* We use char because int might match the return type of a gcc2
8847 builtin and then its argument prototype would still apply. */
8851 #ifdef F77_DUMMY_MAIN
8855 int F77_DUMMY_MAIN() { return 1; }
8860 /* The GNU C library defines this for functions which it implements
8861 to always fail with ENOSYS. Some functions are actually named
8862 something starting with __ and the normal name is an alias. */
8863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8873 rm -f conftest.
$ac_objext conftest
$ac_exeext
8874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8875 (eval $ac_link) 2>&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); } &&
8879 { ac_try
='test -s conftest$ac_exeext'
8880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); }; }; then
8885 eval "$as_ac_var=yes"
8887 echo "$as_me: failed program was:" >&5
8888 cat conftest.
$ac_ext >&5
8889 eval "$as_ac_var=no"
8891 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8895 if test `eval echo '${'$as_ac_var'}'` = yes; then
8896 cat >>confdefs.h
<<_ACEOF
8897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8901 cat >>confdefs.h
<<\_ACEOF
8902 #define NEED_BZERO 1
8909 for ac_func
in strcasecmp
8911 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8912 echo "$as_me:$LINENO: checking for $ac_func" >&5
8913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8914 if eval "test \"\${$as_ac_var+set}\" = set"; then
8915 echo $ECHO_N "(cached) $ECHO_C" >&6
8917 cat >conftest.
$ac_ext <<_ACEOF
8918 #line $LINENO "configure"
8919 #include "confdefs.h"
8920 /* System header to define __stub macros and hopefully few prototypes,
8921 which can conflict with char $ac_func (); below. */
8923 /* Override any gcc2 internal prototype to avoid an error. */
8927 /* We use char because int might match the return type of a gcc2
8928 builtin and then its argument prototype would still apply. */
8932 #ifdef F77_DUMMY_MAIN
8936 int F77_DUMMY_MAIN() { return 1; }
8941 /* The GNU C library defines this for functions which it implements
8942 to always fail with ENOSYS. Some functions are actually named
8943 something starting with __ and the normal name is an alias. */
8944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8954 rm -f conftest.
$ac_objext conftest
$ac_exeext
8955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8956 (eval $ac_link) 2>&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); } &&
8960 { ac_try
='test -s conftest$ac_exeext'
8961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); }; }; then
8966 eval "$as_ac_var=yes"
8968 echo "$as_me: failed program was:" >&5
8969 cat conftest.
$ac_ext >&5
8970 eval "$as_ac_var=no"
8972 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8976 if test `eval echo '${'$as_ac_var'}'` = yes; then
8977 cat >>confdefs.h
<<_ACEOF
8978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8980 cat >>confdefs.h
<<\_ACEOF
8981 #define GOT_STRCASECMP 1
8988 LIBS
="$LIBS $SOCKLIB $INETLIB"
8990 for ac_func
in inet_addr
8992 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8993 echo "$as_me:$LINENO: checking for $ac_func" >&5
8994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8995 if eval "test \"\${$as_ac_var+set}\" = set"; then
8996 echo $ECHO_N "(cached) $ECHO_C" >&6
8998 cat >conftest.
$ac_ext <<_ACEOF
8999 #line $LINENO "configure"
9000 #include "confdefs.h"
9001 /* System header to define __stub macros and hopefully few prototypes,
9002 which can conflict with char $ac_func (); below. */
9004 /* Override any gcc2 internal prototype to avoid an error. */
9008 /* We use char because int might match the return type of a gcc2
9009 builtin and then its argument prototype would still apply. */
9013 #ifdef F77_DUMMY_MAIN
9017 int F77_DUMMY_MAIN() { return 1; }
9022 /* The GNU C library defines this for functions which it implements
9023 to always fail with ENOSYS. Some functions are actually named
9024 something starting with __ and the normal name is an alias. */
9025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9035 rm -f conftest.
$ac_objext conftest
$ac_exeext
9036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9037 (eval $ac_link) 2>&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); } &&
9041 { ac_try
='test -s conftest$ac_exeext'
9042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); }; }; then
9047 eval "$as_ac_var=yes"
9049 echo "$as_me: failed program was:" >&5
9050 cat conftest.
$ac_ext >&5
9051 eval "$as_ac_var=no"
9053 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9057 if test `eval echo '${'$as_ac_var'}'` = yes; then
9058 cat >>confdefs.h
<<_ACEOF
9059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9063 cat >>confdefs.h
<<\_ACEOF
9064 #define NEED_INET_ADDR 1
9071 for ac_func
in inet_ntoa
9073 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9074 echo "$as_me:$LINENO: checking for $ac_func" >&5
9075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9076 if eval "test \"\${$as_ac_var+set}\" = set"; then
9077 echo $ECHO_N "(cached) $ECHO_C" >&6
9079 cat >conftest.
$ac_ext <<_ACEOF
9080 #line $LINENO "configure"
9081 #include "confdefs.h"
9082 /* System header to define __stub macros and hopefully few prototypes,
9083 which can conflict with char $ac_func (); below. */
9085 /* Override any gcc2 internal prototype to avoid an error. */
9089 /* We use char because int might match the return type of a gcc2
9090 builtin and then its argument prototype would still apply. */
9094 #ifdef F77_DUMMY_MAIN
9098 int F77_DUMMY_MAIN() { return 1; }
9103 /* The GNU C library defines this for functions which it implements
9104 to always fail with ENOSYS. Some functions are actually named
9105 something starting with __ and the normal name is an alias. */
9106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9116 rm -f conftest.
$ac_objext conftest
$ac_exeext
9117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9118 (eval $ac_link) 2>&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); } &&
9122 { ac_try
='test -s conftest$ac_exeext'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; }; then
9128 eval "$as_ac_var=yes"
9130 echo "$as_me: failed program was:" >&5
9131 cat conftest.
$ac_ext >&5
9132 eval "$as_ac_var=no"
9134 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9138 if test `eval echo '${'$as_ac_var'}'` = yes; then
9139 cat >>confdefs.h
<<_ACEOF
9140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9144 cat >>confdefs.h
<<\_ACEOF
9145 #define NEED_INET_NTOA 1
9152 for ac_func
in inet_netof
9154 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9155 echo "$as_me:$LINENO: checking for $ac_func" >&5
9156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9157 if eval "test \"\${$as_ac_var+set}\" = set"; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 cat >conftest.
$ac_ext <<_ACEOF
9161 #line $LINENO "configure"
9162 #include "confdefs.h"
9163 /* System header to define __stub macros and hopefully few prototypes,
9164 which can conflict with char $ac_func (); below. */
9166 /* Override any gcc2 internal prototype to avoid an error. */
9170 /* We use char because int might match the return type of a gcc2
9171 builtin and then its argument prototype would still apply. */
9175 #ifdef F77_DUMMY_MAIN
9179 int F77_DUMMY_MAIN() { return 1; }
9184 /* The GNU C library defines this for functions which it implements
9185 to always fail with ENOSYS. Some functions are actually named
9186 something starting with __ and the normal name is an alias. */
9187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9197 rm -f conftest.
$ac_objext conftest
$ac_exeext
9198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9199 (eval $ac_link) 2>&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } &&
9203 { ac_try
='test -s conftest$ac_exeext'
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }; }; then
9209 eval "$as_ac_var=yes"
9211 echo "$as_me: failed program was:" >&5
9212 cat conftest.
$ac_ext >&5
9213 eval "$as_ac_var=no"
9215 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9219 if test `eval echo '${'$as_ac_var'}'` = yes; then
9220 cat >>confdefs.h
<<_ACEOF
9221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9225 cat >>confdefs.h
<<\_ACEOF
9226 #define NEED_INET_NETOF 1
9234 for ac_func
in syslog
9236 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9237 echo "$as_me:$LINENO: checking for $ac_func" >&5
9238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9239 if eval "test \"\${$as_ac_var+set}\" = set"; then
9240 echo $ECHO_N "(cached) $ECHO_C" >&6
9242 cat >conftest.
$ac_ext <<_ACEOF
9243 #line $LINENO "configure"
9244 #include "confdefs.h"
9245 /* System header to define __stub macros and hopefully few prototypes,
9246 which can conflict with char $ac_func (); below. */
9248 /* Override any gcc2 internal prototype to avoid an error. */
9252 /* We use char because int might match the return type of a gcc2
9253 builtin and then its argument prototype would still apply. */
9257 #ifdef F77_DUMMY_MAIN
9261 int F77_DUMMY_MAIN() { return 1; }
9266 /* The GNU C library defines this for functions which it implements
9267 to always fail with ENOSYS. Some functions are actually named
9268 something starting with __ and the normal name is an alias. */
9269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9279 rm -f conftest.
$ac_objext conftest
$ac_exeext
9280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9281 (eval $ac_link) 2>&5
9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 (exit $ac_status); } &&
9285 { ac_try
='test -s conftest$ac_exeext'
9286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9290 (exit $ac_status); }; }; then
9291 eval "$as_ac_var=yes"
9293 echo "$as_me: failed program was:" >&5
9294 cat conftest.
$ac_ext >&5
9295 eval "$as_ac_var=no"
9297 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9301 if test `eval echo '${'$as_ac_var'}'` = yes; then
9302 cat >>confdefs.h
<<_ACEOF
9303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9305 cat >>confdefs.h
<<\_ACEOF
9306 #define HAVE_SYSLOG 1
9313 for ac_func
in vsyslog
9315 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9316 echo "$as_me:$LINENO: checking for $ac_func" >&5
9317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9318 if eval "test \"\${$as_ac_var+set}\" = set"; then
9319 echo $ECHO_N "(cached) $ECHO_C" >&6
9321 cat >conftest.
$ac_ext <<_ACEOF
9322 #line $LINENO "configure"
9323 #include "confdefs.h"
9324 /* System header to define __stub macros and hopefully few prototypes,
9325 which can conflict with char $ac_func (); below. */
9327 /* Override any gcc2 internal prototype to avoid an error. */
9331 /* We use char because int might match the return type of a gcc2
9332 builtin and then its argument prototype would still apply. */
9336 #ifdef F77_DUMMY_MAIN
9340 int F77_DUMMY_MAIN() { return 1; }
9345 /* The GNU C library defines this for functions which it implements
9346 to always fail with ENOSYS. Some functions are actually named
9347 something starting with __ and the normal name is an alias. */
9348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9358 rm -f conftest.
$ac_objext conftest
$ac_exeext
9359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9360 (eval $ac_link) 2>&5
9362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363 (exit $ac_status); } &&
9364 { ac_try
='test -s conftest$ac_exeext'
9365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); }; }; then
9370 eval "$as_ac_var=yes"
9372 echo "$as_me: failed program was:" >&5
9373 cat conftest.
$ac_ext >&5
9374 eval "$as_ac_var=no"
9376 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9380 if test `eval echo '${'$as_ac_var'}'` = yes; then
9381 cat >>confdefs.h
<<_ACEOF
9382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9384 cat >>confdefs.h
<<\_ACEOF
9385 #define HAVE_VSYSLOG 1
9395 # Check whether --with-listen or --without-listen was given.
9396 if test "${with_listen+set}" = set; then
9397 withval
="$with_listen"
9398 cat >>confdefs.h
<<_ACEOF
9399 #define LISTEN_SIZE $withval
9403 cat >>confdefs.h
<<\_ACEOF
9404 #define LISTEN_SIZE 5
9409 # Check whether --with-nick-history or --without-nick-history was given.
9410 if test "${with_nick_history+set}" = set; then
9411 withval
="$with_nick_history"
9412 cat >>confdefs.h
<<_ACEOF
9413 #define NICKNAMEHISTORYLENGTH $withval
9417 cat >>confdefs.h
<<\_ACEOF
9418 #define NICKNAMEHISTORYLENGTH 2000
9423 # Check whether --with-sendq or --without-sendq was given.
9424 if test "${with_sendq+set}" = set; then
9425 withval
="$with_sendq"
9426 cat >>confdefs.h
<<_ACEOF
9427 #define MAXSENDQLENGTH $withval
9431 cat >>confdefs.h
<<\_ACEOF
9432 #define MAXSENDQLENGTH 3000000
9437 # Check whether --with-bufferpool or --without-bufferpool was given.
9438 if test "${with_bufferpool+set}" = set; then
9439 withval
="$with_bufferpool"
9440 cat >>confdefs.h
<<_ACEOF
9441 #define BUFFERPOOL ($withval * MAXSENDQLENGTH)
9445 cat >>confdefs.h
<<\_ACEOF
9446 #define BUFFERPOOL (18 * MAXSENDQLENGTH)
9451 # Check whether --with-hostname or --without-hostname was given.
9452 if test "${with_hostname+set}" = set; then
9453 withval
="$with_hostname"
9454 cat >>confdefs.h
<<_ACEOF
9455 #define DOMAINNAME "$withval"
9459 cat >>confdefs.h
<<_ACEOF
9460 #define DOMAINNAME "`hostname`"
9464 cat >>confdefs.h
<<_ACEOF
9465 #define MYOSNAME "`uname -a`"
9469 # Check whether --with-permissions or --without-permissions was given.
9470 if test "${with_permissions+set}" = set; then
9471 withval
="$with_permissions"
9472 cat >>confdefs.h
<<_ACEOF
9473 #define DEFAULT_PERMISSIONS $withval
9477 cat >>confdefs.h
<<\_ACEOF
9478 #define DEFAULT_PERMISSIONS 0600
9483 # Check whether --with-dpath or --without-dpath was given.
9484 if test "${with_dpath+set}" = set; then
9485 withval
="$with_dpath"
9486 cat >>confdefs.h
<<_ACEOF
9487 #define DPATH "$withval"
9489 IRCDDIR
="$withval"; mkdir $withval/tmp
9491 cat >>confdefs.h
<<_ACEOF
9492 #define DPATH "`pwd`"
9494 IRCDDIR
="`pwd`" mkdir `pwd`/tmp
9497 # Check whether --with-fd-setsize or --without-fd-setsize was given.
9498 if test "${with_fd_setsize+set}" = set; then
9499 withval
="$with_fd_setsize"
9504 cat >>confdefs.h
<<_ACEOF
9505 #define MAXCONNECTIONS $ac_fd
9509 # Check whether --with-spath or --without-spath was given.
9510 if test "${with_spath+set}" = set; then
9511 withval
="$with_spath"
9512 cat >>confdefs.h
<<_ACEOF
9513 #define SPATH "$withval"
9517 cat >>confdefs.h
<<_ACEOF
9518 #define SPATH "`pwd`/src/ircd"
9520 BINDIR
="`pwd`/src/ircd"
9522 # Check whether --enable-nospoof or --disable-nospoof was given.
9523 if test "${enable_nospoof+set}" = set; then
9524 enableval
="$enable_nospoof"
9525 cat >>confdefs.h
<<\_ACEOF
9530 # Check whether --enable-prefixaq or --disable-prefixaq was given.
9531 if test "${enable_prefixaq+set}" = set; then
9532 enableval
="$enable_prefixaq"
9533 cat >>confdefs.h
<<\_ACEOF
9538 # Check whether --enable-hub or --disable-hub was given.
9539 if test "${enable_hub+set}" = set; then
9540 enableval
="$enable_hub"
9541 cat >>confdefs.h
<<\_ACEOF
9547 # Check whether --enable-ssl or --disable-ssl was given.
9548 if test "${enable_ssl+set}" = set; then
9549 enableval
="$enable_ssl"
9551 echo "$as_me:$LINENO: checking for openssl" >&5
9552 echo $ECHO_N "checking for openssl... $ECHO_C" >&6
9553 for dir
in $enableval /usr
/local
/ssl
/usr
/lib
/ssl
/usr
/ssl
/usr
/pkg
/usr
/local /usr
; do
9555 if test -f "$dir/include/openssl/ssl.h"; then
9556 echo "$as_me:$LINENO: result: found in $ssldir/include/openssl" >&5
9557 echo "${ECHO_T}found in $ssldir/include/openssl" >&6
9559 if test ! "$ssldir" = "/usr" ; then
9560 CFLAGS
="$CFLAGS -I$ssldir/include";
9564 if test -f "$dir/include/ssl.h"; then
9565 echo "$as_me:$LINENO: result: found in $ssldir/include" >&5
9566 echo "${ECHO_T}found in $ssldir/include" >&6
9568 if test ! "$ssldir" = "/usr" ; then
9569 CFLAGS
="$CFLAGS -I$ssldir/include";
9574 if test x_
$found_ssl != x_yes
; then
9575 echo "$as_me:$LINENO: result: not found" >&5
9576 echo "${ECHO_T}not found" >&6
9577 { echo "$as_me:$LINENO: WARNING: disabling ssl support" >&5
9578 echo "$as_me: WARNING: disabling ssl support" >&2;}
9580 CRYPTOLIB
="-lssl -lcrypto";
9581 if test ! "$ssldir" = "/usr" ; then
9582 LDFLAGS
="$LDFLAGS -L$ssldir/lib";
9584 cat >>confdefs.h
<<\_ACEOF
9593 # Check whether --enable-ziplinks or --disable-ziplinks was given.
9594 if test "${enable_ziplinks+set}" = set; then
9595 enableval
="$enable_ziplinks"
9597 echo "$as_me:$LINENO: checking for zlib" >&5
9598 echo $ECHO_N "checking for zlib... $ECHO_C" >&6
9599 for dir
in $enableval /usr
/local /usr
/usr
/pkg
; do
9601 if test -f "$dir/include/zlib.h"; then
9602 echo "$as_me:$LINENO: result: found in $zlibdir" >&5
9603 echo "${ECHO_T}found in $zlibdir" >&6
9605 if test "$zlibdir" = "/usr" ; then
9606 CFLAGS
="$CFLAGS -DZIP_LINKS";
9608 CFLAGS
="$CFLAGS -I$zlibdir/include -DZIP_LINKS";
9613 if test x_
$found_zlib != x_yes
; then
9614 echo "$as_me:$LINENO: result: not found" >&5
9615 echo "${ECHO_T}not found" >&6
9616 { echo "$as_me:$LINENO: WARNING: disabling ziplink support" >&5
9617 echo "$as_me: WARNING: disabling ziplink support" >&2;}
9619 IRCDLIBS
="$IRCDLIBS -lz";
9620 if test "$zlibdir" != "/usr" ; then
9621 LDFLAGS
="$LDFLAGS -L$zlibdir/lib";
9630 # Check whether --enable-libcurl or --disable-libcurl was given.
9631 if test "${enable_libcurl+set}" = set; then
9632 enableval
="$enable_libcurl"
9634 CURLCFLAG
=`$enableval/bin/curl-config --cflags`
9635 CFLAGS
="$CFLAGS $CURLCFLAG -DUSE_LIBCURL"
9636 CURLLIBS
=`$enableval/bin/curl-config --libs`
9638 if test "x`echo $CURLLIBS |grep .*ares.*`" = x
; then
9639 CURLLIBS
="$CURLLIBS -lares"
9641 IRCDLIBS
="$IRCDLIBS $CURLLIBS"
9647 # Check whether --enable-dynamic-linking or --disable-dynamic-linking was given.
9648 if test "${enable_dynamic_linking+set}" = set; then
9649 enableval
="$enable_dynamic_linking"
9651 echo "$as_me:$LINENO: checking for dlopen" >&5
9652 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9653 if test "${ac_cv_func_dlopen+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9656 cat >conftest.
$ac_ext <<_ACEOF
9657 #line $LINENO "configure"
9658 #include "confdefs.h"
9659 /* System header to define __stub macros and hopefully few prototypes
9661 which can conflict with char dlopen (); below. */
9663 /* Override any gcc2 internal prototype to avoid an error. */
9667 /* We use char because int might match the return type of a gcc2
9668 builtin and then its argument prototype would still apply. */
9672 #ifdef F77_DUMMY_MAIN
9676 int F77_DUMMY_MAIN() { return 1; }
9681 /* The GNU C library defines this for functions which it implements
9682 to always fail with ENOSYS. Some functions are actually named
9683 something starting with __ and the normal name is an alias. */
9684 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9694 rm -f conftest.
$ac_objext conftest
$ac_exeext
9695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9696 (eval $ac_link) 2>&5
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 (exit $ac_status); } &&
9700 { ac_try
='test -s conftest$ac_exeext'
9701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); }; }; then
9706 ac_cv_func_dlopen
=yes
9708 echo "$as_me: failed program was:" >&5
9709 cat conftest.
$ac_ext >&5
9710 ac_cv_func_dlopen
=no
9712 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9714 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9715 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9716 if test $ac_cv_func_dlopen = yes; then
9719 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9720 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9721 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9724 ac_check_lib_save_LIBS
=$LIBS
9726 cat >conftest.
$ac_ext <<_ACEOF
9727 #line $LINENO "configure"
9728 #include "confdefs.h"
9730 /* Override any gcc2 internal prototype to avoid an error. */
9734 /* We use char because int might match the return type of a gcc2
9735 builtin and then its argument prototype would still apply. */
9737 #ifdef F77_DUMMY_MAIN
9741 int F77_DUMMY_MAIN() { return 1; }
9751 rm -f conftest.
$ac_objext conftest
$ac_exeext
9752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9753 (eval $ac_link) 2>&5
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); } &&
9757 { ac_try
='test -s conftest$ac_exeext'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; }; then
9763 ac_cv_lib_dl_dlopen
=yes
9765 echo "$as_me: failed program was:" >&5
9766 cat conftest.
$ac_ext >&5
9767 ac_cv_lib_dl_dlopen
=no
9769 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9770 LIBS
=$ac_check_lib_save_LIBS
9772 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9773 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9774 if test $ac_cv_lib_dl_dlopen = yes; then
9775 IRCDLIBS
="$IRCDLIBS -ldl"
9778 { echo "$as_me:$LINENO: WARNING: Dynamic linking is not enabled because dlopen was not found" >&5
9779 echo "$as_me: WARNING: Dynamic linking is not enabled because dlopen was not found" >&2;}
9780 cat >>confdefs.h
<<\_ACEOF
9781 #define STATIC_LINKING 1
9791 CFLAGS
="$CFLAGS -export-dynamic"
9792 echo "$as_me:$LINENO: checking if we need the -export-dynamic flag" >&5
9793 echo $ECHO_N "checking if we need the -export-dynamic flag... $ECHO_C" >&6
9794 if test "${ac_cv_export_dynamic+set}" = set; then
9795 echo $ECHO_N "(cached) $ECHO_C" >&6
9798 cat >conftest.
$ac_ext <<_ACEOF
9799 #line $LINENO "configure"
9800 #include "confdefs.h"
9802 #ifdef F77_DUMMY_MAIN
9806 int F77_DUMMY_MAIN() { return 1; }
9816 rm -f conftest.
$ac_objext conftest
$ac_exeext
9817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9818 (eval $ac_link) 2>&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } &&
9822 { ac_try
='test -s conftest$ac_exeext'
9823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); }; }; then
9828 ac_cv_export_dynamic
=yes
9830 echo "$as_me: failed program was:" >&5
9831 cat conftest.
$ac_ext >&5
9832 ac_cv_export_dynamic
=no
9834 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9836 echo "$as_me:$LINENO: result: $ac_cv_export_dynamic" >&5
9837 echo "${ECHO_T}$ac_cv_export_dynamic" >&6
9838 if test "$ac_cv_export_dynamic" = "no"; then
9842 echo "$as_me:$LINENO: checking for compiler option to produce PIC" >&5
9843 echo $ECHO_N "checking for compiler option to produce PIC... $ECHO_C" >&6
9844 if test "${ac_cv_pic+set}" = set; then
9845 echo $ECHO_N "(cached) $ECHO_C" >&6
9848 if test "$ac_cv_c_compiler_gnu" = "yes"; then
9849 ac_cv_pic
="-fPIC -DPIC -shared"
9852 ac_cv_pic
="-bundle -flat_namespace -undefined suppress"
9858 ac_cv_pic
="-KPIC -DPIC -G"
9864 echo "$as_me:$LINENO: result: $ac_cv_pic" >&5
9865 echo "${ECHO_T}$ac_cv_pic" >&6
9866 echo "$as_me:$LINENO: checking if your system prepends an underscore on symbols" >&5
9867 echo $ECHO_N "checking if your system prepends an underscore on symbols... $ECHO_C" >&6
9868 if test "${ac_cv_underscore+set}" = set; then
9869 echo $ECHO_N "(cached) $ECHO_C" >&6
9872 cat >uscore.c
<< __EOF__
9877 $CC -o uscore
$CFLAGS uscore.c
1>&5
9878 if test -z "`strings -a uscore |grep '^_main$'`"; then
9881 ac_cv_underscore
=yes
9883 rm -f uscore uscore.c
9886 echo "$as_me:$LINENO: result: $ac_cv_underscore" >&5
9887 echo "${ECHO_T}$ac_cv_underscore" >&6
9888 if test "$ac_cv_underscore" = "yes"; then
9889 cat >>confdefs.h
<<\_ACEOF
9890 #define UNDERSCORE 1
9895 MODULEFLAGS
=$ac_cv_pic
9896 cat >>confdefs.h
<<\_ACEOF
9897 #define DYNAMIC_LINKING 1
9902 # Check whether --enable-inet6 or --disable-inet6 was given.
9903 if test "${enable_inet6+set}" = set; then
9904 enableval
="$enable_inet6"
9906 echo "$as_me:$LINENO: checking if your system has IPv6 support" >&5
9907 echo $ECHO_N "checking if your system has IPv6 support... $ECHO_C" >&6
9908 if test "${ac_cv_ip6+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9913 LIBS
="$LIBS $SOCKLIB"
9914 if test "$cross_compiling" = yes; then
9915 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
9916 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9917 { (exit 1); exit 1; }; }
9919 cat >conftest.
$ac_ext <<_ACEOF
9920 #line $LINENO "configure"
9921 #include "confdefs.h"
9923 #include <sys/types.h>
9924 #include <sys/socket.h>
9926 if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
9932 rm -f conftest
$ac_exeext
9933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9934 (eval $ac_link) 2>&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); }; }; then
9945 echo "$as_me: program exited with status $ac_status" >&5
9946 echo "$as_me: failed program was:" >&5
9947 cat conftest.
$ac_ext >&5
9951 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9955 echo "$as_me:$LINENO: result: $ac_cv_ip6" >&5
9956 echo "${ECHO_T}$ac_cv_ip6" >&6
9957 if test "$ac_cv_ip6" = "no"; then
9958 { echo "$as_me:$LINENO: WARNING: Your system does not support IPv6 so it will not be enabled" >&5
9959 echo "$as_me: WARNING: Your system does not support IPv6 so it will not be enabled" >&2;}
9961 cat >>confdefs.h
<<\_ACEOF
9971 echo "$as_me:$LINENO: checking if FD_SETSIZE is large enough to allow $ac_fd file descriptors" >&5
9972 echo $ECHO_N "checking if FD_SETSIZE is large enough to allow $ac_fd file descriptors... $ECHO_C" >&6
9973 if test "$cross_compiling" = yes; then
9974 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
9975 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9976 { (exit 1); exit 1; }; }
9978 cat >conftest.
$ac_ext <<_ACEOF
9979 #line $LINENO "configure"
9980 #include "confdefs.h"
9982 #include <sys/types.h>
9983 #include <sys/time.h>
9985 if (FD_SETSIZE >= $ac_fd)
9991 rm -f conftest
$ac_exeext
9992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9993 (eval $ac_link) 2>&5
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); }; }; then
10002 echo "$as_me:$LINENO: result: yes" >&5
10003 echo "${ECHO_T}yes" >&6
10005 echo "$as_me: program exited with status $ac_status" >&5
10006 echo "$as_me: failed program was:" >&5
10007 cat conftest.
$ac_ext >&5
10008 ( exit $ac_status )
10010 FD_SETSIZE
="-DFD_SETSIZE=$ac_fd"
10011 echo "$as_me:$LINENO: result: no" >&5
10012 echo "${ECHO_T}no" >&6
10015 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10020 CFLAGS
="$CFLAGS -D_SOLARIS"
10021 IRCDLIBS
="$IRCDLIBS -lresolv "
10024 CFLAGS
="$CFLAGS -D_SOLARIS"
10025 IRCDLIBS
="$IRCDLIBS -lresolv "
10029 tre_version
="0.6.6"
10030 echo "$as_me:$LINENO: result: extracting TRE regex library" >&5
10031 echo "${ECHO_T}extracting TRE regex library" >&6
10034 rm -rf tre
-$tre_version
10035 if test "x$ac_cv_path_GUNZIP" = "x" ; then
10038 cp tre.
tar.gz tre.
tar.gz.bak
10039 gunzip
-f tre.
tar.gz
10040 cp tre.
tar.gz.bak tre.
tar.gz
10043 echo "$as_me:$LINENO: result: configuring TRE regex library" >&5
10044 echo "${ECHO_T}configuring TRE regex library" >&6
10045 cd tre
-$tre_version
10046 .
/configure
--disable-agrep --disable-shared --disable-system-abi --disable-wchar --disable-multibyte --prefix=$cur_dir/extras
/regexp
10047 echo "$as_me:$LINENO: result: compiling TRE regex library" >&5
10048 echo "${ECHO_T}compiling TRE regex library" >&6
10050 echo "$as_me:$LINENO: result: installing TRE regex library" >&5
10051 echo "${ECHO_T}installing TRE regex library" >&6
10052 $ac_cv_prog_MAKER install
10053 TREINCDIR
="$cur_dir/extras/regexp/include"
10055 if test "x$ac_cv_path_PKGCONFIG" = "x" ; then
10056 TRELIBS
="-L../extras/regexp/lib -ltre"
10058 TRELIBS
=`$ac_cv_path_PKGCONFIG --libs tre.pc`
10062 ac_config_files
="$ac_config_files Makefile src/modules/Makefile unreal ircdcron/ircdchk"
10063 cat >confcache
<<\_ACEOF
10064 # This file is a shell script that caches the results of configure
10065 # tests run on this system so they can be shared between configure
10066 # scripts and configure runs, see configure's option --config-cache.
10067 # It is not useful on other systems. If it contains results you don't
10068 # want to keep, you may remove or edit it.
10070 # config.status only pays attention to the cache file if you give it
10071 # the --recheck option to rerun configure.
10073 # `ac_cv_env_foo' variables (set or unset) will be overriden when
10074 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10075 # following values.
10079 # The following way of writing the cache mishandles newlines in values,
10080 # but we know of no workaround that is simple, portable, and efficient.
10081 # So, don't put newlines in cache variables' values.
10082 # Ultrix sh set writes to stderr and can't be redirected directly,
10083 # and sets the high bit in the cache file unless we assign to the vars.
10086 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10088 # `set' does not quote correctly, so add quotes (double-quote
10089 # substitution turns \\\\ into \\, and sed turns \\ into \).
10092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10095 # `set' quotes correctly as required by POSIX, so do not add quotes.
10097 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10104 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10106 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10108 if cmp -s $cache_file confcache
; then :; else
10109 if test -w $cache_file; then
10110 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10111 cat confcache
>$cache_file
10113 echo "not updating unwritable cache $cache_file"
10118 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10119 # Let make expand exec_prefix.
10120 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10122 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10123 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10124 # trailing colons and then remove the whole line if VPATH becomes empty
10125 # (actually we leave an empty line to preserve line numbers).
10126 if test "x$srcdir" = x.
; then
10127 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10128 s/:*\$(srcdir):*/:/;
10129 s/:*\${srcdir}:*/:/;
10131 s/^\([^=]*=[ ]*\):*/\1/;
10137 DEFS
=-DHAVE_CONFIG_H
10140 : ${CONFIG_STATUS=./config.status}
10141 ac_clean_files_save
=$ac_clean_files
10142 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10143 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10144 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10145 cat >$CONFIG_STATUS <<_ACEOF
10147 # Generated by $as_me.
10148 # Run this file to recreate the current configuration.
10149 # Compiler output produced by configure, useful for debugging
10150 # configure, is in config.log if it exists.
10153 SHELL=\${CONFIG_SHELL-$SHELL}
10156 cat >>$CONFIG_STATUS <<\_ACEOF
10158 ## --------------------- ##
10159 ## M4sh Initialization. ##
10160 ## --------------------- ##
10162 # Be Bourne compatible
10163 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10166 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
10171 # Support unset when possible.
10172 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
10178 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
10179 { $as_unset LANG
|| test "${LANG+set}" != set; } ||
10180 { LANG
=C
; export LANG
; }
10181 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
10182 { $as_unset LC_ALL
|| test "${LC_ALL+set}" != set; } ||
10183 { LC_ALL
=C
; export LC_ALL
; }
10184 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
10185 { $as_unset LC_TIME
|| test "${LC_TIME+set}" != set; } ||
10186 { LC_TIME
=C
; export LC_TIME
; }
10187 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
10188 { $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set; } ||
10189 { LC_CTYPE
=C
; export LC_CTYPE
; }
10190 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
10191 { $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set; } ||
10192 { LANGUAGE
=C
; export LANGUAGE
; }
10193 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
10194 { $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set; } ||
10195 { LC_COLLATE
=C
; export LC_COLLATE
; }
10196 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
10197 { $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set; } ||
10198 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
10199 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
10200 { $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set; } ||
10201 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
10204 # Name of the executable.
10205 as_me
=`(basename "$0") 2>/dev/null ||
10206 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10207 X"$0" : 'X\(//\)$' \| \
10208 X"$0" : 'X\(/\)$' \| \
10209 . : '\(.\)' 2>/dev/null ||
10211 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10212 /^X\/\(\/\/\)$/{ s//\1/; q; }
10213 /^X\/\(\/\).*/{ s//\1/; q; }
10216 # PATH needs CR, and LINENO needs CR and PATH.
10217 # Avoid depending upon Character Ranges.
10218 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10219 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10220 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10221 as_cr_digits
='0123456789'
10222 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10224 # The user is always right.
10225 if test "${PATH_SEPARATOR+set}" != set; then
10226 echo "#! /bin/sh" >conftest.sh
10227 echo "exit 0" >>conftest.sh
10228 chmod +x conftest.sh
10229 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
10238 as_lineno_1
=$LINENO
10239 as_lineno_2
=$LINENO
10240 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
10241 test "x$as_lineno_1" != "x$as_lineno_2" &&
10242 test "x$as_lineno_3" = "x$as_lineno_2" || {
10243 # Find who we are. Look in the path if we contain no path at all
10246 *[\\/]* ) as_myself
=$0 ;;
10247 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10248 for as_dir
in $PATH
10251 test -z "$as_dir" && as_dir
=.
10252 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10257 # We did not find ourselves, most probably we were run as `sh COMMAND'
10258 # in which case we are not to be found in the path.
10259 if test "x$as_myself" = x
; then
10262 if test ! -f "$as_myself"; then
10263 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10264 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10265 { (exit 1); exit 1; }; }
10267 case $CONFIG_SHELL in
10269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10270 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
10273 test -z "$as_dir" && as_dir
=.
10274 for as_base
in sh bash ksh sh5
; do
10277 if ("$as_dir/$as_base" -c '
10278 as_lineno_1=$LINENO
10279 as_lineno_2=$LINENO
10280 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10281 test "x$as_lineno_1" != "x$as_lineno_2" &&
10282 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
10283 CONFIG_SHELL
=$as_dir/$as_base
10284 export CONFIG_SHELL
10285 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10293 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10294 # uniformly replaced by the line number. The first 'sed' inserts a
10295 # line-number line before each line; the second 'sed' does the real
10296 # work. The second script uses 'N' to pair each line-number line
10297 # with the numbered line, and appends trailing '-' during
10298 # substitution so that $LINENO is not a special case at line end.
10299 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10300 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10301 sed '=' <$as_myself |
10306 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10309 s,^['$as_cr_digits']*\n,,
10310 ' >$as_me.lineno
&&
10311 chmod +x
$as_me.lineno
||
10312 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10313 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10314 { (exit 1); exit 1; }; }
10316 # Don't try to exec as it changes $[0], causing all sort of problems
10317 # (the dirname of $[0] is not the place where we might find the
10318 # original and so on. Autoconf is especially sensible to this).
10320 # Exit status is that of the last command.
10325 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10326 *c
*,-n*) ECHO_N
= ECHO_C
='
10328 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
10329 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
10332 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10338 rm -f conf$$ conf$$.exe conf$$.
file
10340 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10341 # We could just check for DJGPP; but this test a) works b) is more generic
10342 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10343 if test -f conf$$.exe
; then
10344 # Don't use ln at all; we don't have any links
10349 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10354 rm -f conf$$ conf$$.exe conf$$.
file
10356 as_executable_p
="test -f"
10358 # Sed expression to map a string onto a valid CPP name.
10359 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
10361 # Sed expression to map a string onto a valid variable name.
10362 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
10366 # We need space, tab and new line, in precisely that order.
10372 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
10376 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10377 # report actual input values of CONFIG_FILES etc. instead of their
10378 # values after options handling. Logging --version etc. is OK.
10382 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10383 ## Running $as_me. ##
10388 This file was extended by $as_me, which was
10389 generated by GNU Autoconf 2.53. Invocation command line was
10391 CONFIG_FILES = $CONFIG_FILES
10392 CONFIG_HEADERS = $CONFIG_HEADERS
10393 CONFIG_LINKS = $CONFIG_LINKS
10394 CONFIG_COMMANDS = $CONFIG_COMMANDS
10398 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10402 # Files that config.status was made for.
10403 if test -n "$ac_config_files"; then
10404 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10407 if test -n "$ac_config_headers"; then
10408 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10411 if test -n "$ac_config_links"; then
10412 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10415 if test -n "$ac_config_commands"; then
10416 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10419 cat >>$CONFIG_STATUS <<\_ACEOF
10422 \`$as_me' instantiates files from templates according to the
10423 current configuration.
10425 Usage: $0 [OPTIONS] [FILE]...
10427 -h, --help print this help, then exit
10428 -V, --version print version number, then exit
10429 -d, --debug don't remove temporary files
10430 --recheck update $as_me by reconfiguring in the same conditions
10431 --file=FILE[:TEMPLATE]
10432 instantiate the configuration file FILE
10433 --header=FILE[:TEMPLATE]
10434 instantiate the configuration header FILE
10436 Configuration files:
10439 Configuration headers:
10442 Report bugs to <bug-autoconf@gnu.org>."
10445 cat >>$CONFIG_STATUS <<_ACEOF
10448 configured by $0, generated by GNU Autoconf 2.53,
10449 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10451 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
10452 Free Software Foundation, Inc.
10453 This config.status script is free software; the Free Software Foundation
10454 gives unlimited permission to copy, distribute and modify it."
10458 cat >>$CONFIG_STATUS <<\_ACEOF
10459 # If no file are specified by the user, then we need to provide default
10460 # value. By we need to know if files were specified by the user.
10466 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10467 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10469 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
10473 *) # This is not an option, so the user has probably given explicit
10475 ac_need_defaults
=false
;;
10479 # Handling of the options.
10481 cat >>$CONFIG_STATUS <<_ACEOF
10482 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10483 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
10484 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
10486 cat >>$CONFIG_STATUS <<\_ACEOF
10487 --version | --vers* | -V )
10488 echo "$ac_cs_version"; exit 0 ;;
10490 # Conflict between --help and --header
10491 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10492 Try \`$0 --help' for more information." >&5
10493 echo "$as_me: error: ambiguous option: $1
10494 Try \`$0 --help' for more information." >&2;}
10495 { (exit 1); exit 1; }; };;
10496 --help | --hel | -h )
10497 echo "$ac_cs_usage"; exit 0 ;;
10498 --debug | --d* | -d )
10500 --file | --fil | --fi | --f )
10502 CONFIG_FILES
="$CONFIG_FILES $1"
10503 ac_need_defaults
=false
;;
10504 --header | --heade | --head | --hea )
10506 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
10507 ac_need_defaults
=false
;;
10509 # This is an error.
10510 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10511 Try \`$0 --help' for more information." >&5
10512 echo "$as_me: error: unrecognized option: $1
10513 Try \`$0 --help' for more information." >&2;}
10514 { (exit 1); exit 1; }; } ;;
10516 *) ac_config_targets
="$ac_config_targets $1" ;;
10528 cat >>$CONFIG_STATUS <<\_ACEOF
10529 for ac_config_target
in $ac_config_targets
10531 case "$ac_config_target" in
10532 # Handling of arguments.
10533 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10534 "src/modules/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/modules/Makefile" ;;
10535 "unreal" ) CONFIG_FILES
="$CONFIG_FILES unreal" ;;
10536 "ircdcron/ircdchk" ) CONFIG_FILES
="$CONFIG_FILES ircdcron/ircdchk" ;;
10537 "include/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/setup.h" ;;
10538 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10539 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10540 { (exit 1); exit 1; }; };;
10544 # If the user did not use the arguments to specify the items to instantiate,
10545 # then the envvar interface is used. Set only those that are not.
10546 # We use the long form for the default assignment because of an extremely
10547 # bizarre bug on SunOS 4.1.3.
10548 if $ac_need_defaults; then
10549 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10550 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10553 # Create a temporary directory, and hook for its removal unless debugging.
10556 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10557 trap '{ (exit 1); exit 1; }' 1 2 13 15
10560 # Create a (secure) tmp directory for tmp files.
10563 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
10564 test -n "$tmp" && test -d "$tmp"
10567 tmp
=$TMPDIR/cs$$
-$RANDOM
10568 (umask 077 && mkdir $tmp)
10571 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
10572 { (exit 1); exit 1; }
10577 cat >>$CONFIG_STATUS <<_ACEOF
10580 # CONFIG_FILES section.
10583 # No need to generate the scripts if there are no CONFIG_FILES.
10584 # This happens for instance when ./config.status config.h
10585 if test -n "\$CONFIG_FILES"; then
10586 # Protect against being on the right side of a sed subst in config.status.
10587 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10588 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10589 s,@SHELL@,$SHELL,;t t
10590 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10591 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10592 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10593 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10594 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10595 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10596 s,@exec_prefix@,$exec_prefix,;t t
10597 s,@prefix@,$prefix,;t t
10598 s,@program_transform_name@,$program_transform_name,;t t
10599 s,@bindir@,$bindir,;t t
10600 s,@sbindir@,$sbindir,;t t
10601 s,@libexecdir@,$libexecdir,;t t
10602 s,@datadir@,$datadir,;t t
10603 s,@sysconfdir@,$sysconfdir,;t t
10604 s,@sharedstatedir@,$sharedstatedir,;t t
10605 s,@localstatedir@,$localstatedir,;t t
10606 s,@libdir@,$libdir,;t t
10607 s,@includedir@,$includedir,;t t
10608 s,@oldincludedir@,$oldincludedir,;t t
10609 s,@infodir@,$infodir,;t t
10610 s,@mandir@,$mandir,;t t
10611 s,@build_alias@,$build_alias,;t t
10612 s,@host_alias@,$host_alias,;t t
10613 s,@target_alias@,$target_alias,;t t
10614 s,@DEFS@,$DEFS,;t t
10615 s,@ECHO_C@,$ECHO_C,;t t
10616 s,@ECHO_N@,$ECHO_N,;t t
10617 s,@ECHO_T@,$ECHO_T,;t t
10618 s,@LIBS@,$LIBS,;t t
10620 s,@CFLAGS@,$CFLAGS,;t t
10621 s,@LDFLAGS@,$LDFLAGS,;t t
10622 s,@CPPFLAGS@,$CPPFLAGS,;t t
10623 s,@ac_ct_CC@,$ac_ct_CC,;t t
10624 s,@EXEEXT@,$EXEEXT,;t t
10625 s,@OBJEXT@,$OBJEXT,;t t
10628 s,@TOUCH@,$TOUCH,;t t
10629 s,@OPENSSLPATH@,$OPENSSLPATH,;t t
10630 s,@INSTALL@,$INSTALL,;t t
10631 s,@MAKER@,$MAKER,;t t
10632 s,@GMAKE@,$GMAKE,;t t
10633 s,@GUNZIP@,$GUNZIP,;t t
10634 s,@PKGCONFIG@,$PKGCONFIG,;t t
10635 s,@IRCDLIBS@,$IRCDLIBS,;t t
10636 s,@MKPASSWDLIBS@,$MKPASSWDLIBS,;t t
10638 s,@STRTOUL@,$STRTOUL,;t t
10639 s,@CRYPTOLIB@,$CRYPTOLIB,;t t
10640 s,@MODULEFLAGS@,$MODULEFLAGS,;t t
10641 s,@HAVE_ZLIB@,$HAVE_ZLIB,;t t
10643 s,@IRCDDIR@,$IRCDDIR,;t t
10644 s,@BINDIR@,$BINDIR,;t t
10645 s,@FD_SETSIZE@,$FD_SETSIZE,;t t
10646 s,@TREINCDIR@,$TREINCDIR,;t t
10647 s,@TRELIBS@,$TRELIBS,;t t
10652 cat >>$CONFIG_STATUS <<\_ACEOF
10653 # Split the substitutions into bite-sized pieces for seds with
10654 # small command number limits, like on Digital OSF/1 and HP-UX.
10655 ac_max_sed_lines
=48
10656 ac_sed_frag
=1 # Number of current file.
10657 ac_beg
=1 # First line for current file.
10658 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10661 while $ac_more_lines; do
10662 if test $ac_beg -gt 1; then
10663 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10665 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10667 if test ! -s $tmp/subs.frag
; then
10668 ac_more_lines
=false
10670 # The purpose of the label and of the branching condition is to
10671 # speed up the sed processing (if there are no `@' at all, there
10672 # is no need to browse any of the substitutions).
10673 # These are the two extra sed commands mentioned above.
10675 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
10676 if test -z "$ac_sed_cmds"; then
10677 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10679 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10681 ac_sed_frag
=`expr $ac_sed_frag + 1`
10683 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10686 if test -z "$ac_sed_cmds"; then
10689 fi # test -n "$CONFIG_FILES"
10692 cat >>$CONFIG_STATUS <<\_ACEOF
10693 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10694 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10696 - | *:- | *:-:* ) # input from stdin
10698 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10699 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10700 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10701 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10702 * ) ac_file_in
=$ac_file.
in ;;
10705 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10706 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10707 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10708 X"$ac_file" : 'X\(//\)[^/]' \| \
10709 X"$ac_file" : 'X\(//\)$' \| \
10710 X"$ac_file" : 'X\(/\)' \| \
10711 . : '\(.\)' 2>/dev/null ||
10713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10714 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10715 /^X\(\/\/\)$/{ s//\1/; q; }
10716 /^X\(\/\).*/{ s//\1/; q; }
10718 { case "$ac_dir" in
10719 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
10723 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
10724 case $as_mkdir_dir in
10725 # Skip DOS drivespec
10726 ?
:) as_incr_dir
=$as_mkdir_dir ;;
10728 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
10729 test -d "$as_incr_dir" ||
10730 mkdir "$as_incr_dir" ||
10731 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
10732 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
10733 { (exit 1); exit 1; }; }
10740 if test "$ac_dir" != .
; then
10741 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10742 # A "../" for each directory in $ac_dir_suffix.
10743 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10745 ac_dir_suffix
= ac_top_builddir
=
10749 .
) # No --srcdir option. We are building in place.
10751 if test -z "$ac_top_builddir"; then
10754 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10756 [\\/]* | ?
:[\\/]* ) # Absolute path.
10757 ac_srcdir
=$srcdir$ac_dir_suffix;
10758 ac_top_srcdir
=$srcdir ;;
10759 *) # Relative path.
10760 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10761 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10763 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10765 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
10766 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
10767 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10768 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10772 if test x
"$ac_file" != x
-; then
10773 { echo "$as_me:$LINENO: creating $ac_file" >&5
10774 echo "$as_me: creating $ac_file" >&6;}
10777 # Let's still pretend it is `configure' which instantiates (i.e., don't
10778 # use $as_me), people would be surprised to read:
10779 # /* config.h. Generated by config.status. */
10780 if test x
"$ac_file" = x
-; then
10783 configure_input
="$ac_file. "
10785 configure_input
=$configure_input"Generated from `echo $ac_file_in |
10786 sed 's,.*/,,'` by configure."
10788 # First look for the input files in the build tree, otherwise in the
10790 ac_file_inputs
=`IFS=:
10791 for f in $ac_file_in; do
10793 -) echo $tmp/stdin ;;
10795 # Absolute (can't be DOS-style, as IFS=:)
10796 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10797 echo "$as_me: error: cannot find input file: $f" >&2;}
10798 { (exit 1); exit 1; }; }
10801 if test -f "$f"; then
10804 elif test -f "$srcdir/$f"; then
10809 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10810 echo "$as_me: error: cannot find input file: $f" >&2;}
10811 { (exit 1); exit 1; }; }
10814 done` || { (exit 1); exit 1; }
10816 cat >>$CONFIG_STATUS <<_ACEOF
10820 cat >>$CONFIG_STATUS <<\_ACEOF
10822 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
10823 s
,@configure_input@
,$configure_input,;t t
10824 s
,@srcdir@
,$ac_srcdir,;t t
10825 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
10826 s
,@top_srcdir@
,$ac_top_srcdir,;t t
10827 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
10828 s
,@builddir@
,$ac_builddir,;t t
10829 s
,@abs_builddir@
,$ac_abs_builddir,;t t
10830 s
,@top_builddir@
,$ac_top_builddir,;t t
10831 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
10832 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10834 if test x"$ac_file" != x-; then
10835 mv $tmp/out $ac_file
10843 cat >>$CONFIG_STATUS <<\_ACEOF
10846 # CONFIG_HEADER section.
10849 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
10850 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10852 # ac_d sets the value in "#define NAME VALUE" lines.
10853 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10854 ac_dB
='[ ].*$,\1#\2'
10857 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10858 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10859 ac_uB
='$,\1#\2define\3'
10863 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
10864 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10866 - | *:- | *:-:* ) # input from stdin
10868 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10869 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10870 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10871 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10872 * ) ac_file_in
=$ac_file.
in ;;
10875 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10876 echo "$as_me: creating $ac_file" >&6;}
10878 # First look for the input files in the build tree, otherwise in the
10880 ac_file_inputs
=`IFS=:
10881 for f in $ac_file_in; do
10883 -) echo $tmp/stdin ;;
10885 # Absolute (can't be DOS-style, as IFS=:)
10886 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10887 echo "$as_me: error: cannot find input file: $f" >&2;}
10888 { (exit 1); exit 1; }; }
10891 if test -f "$f"; then
10894 elif test -f "$srcdir/$f"; then
10899 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10900 echo "$as_me: error: cannot find input file: $f" >&2;}
10901 { (exit 1); exit 1; }; }
10904 done` || { (exit 1); exit 1; }
10905 # Remove the trailing spaces.
10906 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10910 # Transform confdefs.h into two sed scripts, `conftest.defines' and
10911 # `conftest.undefs', that substitutes the proper values into
10912 # config.h.in to produce config.h. The first handles `#define'
10913 # templates, and the second `#undef' templates.
10914 # And first: Protect against being on the right side of a sed subst in
10915 # config.status. Protect against being in an unquoted here document
10916 # in config.status.
10917 rm -f conftest.defines conftest.undefs
10918 # Using a here document instead of a string reduces the quoting nightmare.
10919 # Putting comments in sed scripts is not portable.
10921 # `end' is used to avoid that the second main sed command (meant for
10922 # 0-ary CPP macros) applies to n-ary macro definitions.
10923 # See the Autoconf documentation for `clear'.
10924 cat >confdef2sed.
sed <<\_ACEOF
10929 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10931 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10934 # If some macros were called several times there might be several times
10935 # the same #defines, which is useless. Nevertheless, we may not want to
10936 # sort them, since we want the *last* AC-DEFINE to be honored.
10937 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10938 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10939 rm -f confdef2sed.sed
10941 # This sed command replaces #undef with comments. This is necessary, for
10942 # example, in the case of _POSIX_SOURCE, which is predefined and required
10943 # on some systems where configure will not decide to define it.
10944 cat >>conftest.undefs <<\_ACEOF
10945 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10948 # Break up conftest.defines because some shells have a limit on the size
10949 # of here documents, and old seds have small limits too (100 cmds).
10950 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10951 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10952 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10953 echo ' :' >>$CONFIG_STATUS
10954 rm -f conftest.tail
10955 while grep . conftest.defines >/dev/null
10957 # Write a limited-size here document to $tmp/defines.sed.
10958 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10959 # Speed up: don't consider the non `#define' lines.
10960 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10961 # Work around the forget-to-reset-the-flag bug.
10962 echo 't clr' >>$CONFIG_STATUS
10963 echo ': clr' >>$CONFIG_STATUS
10964 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
10966 sed -f $tmp/defines.sed $tmp/in >$tmp/out
10968 mv $tmp/out $tmp/in
10970 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
10971 rm -f conftest.defines
10972 mv conftest.
tail conftest.defines
10974 rm -f conftest.defines
10975 echo ' fi # egrep' >>$CONFIG_STATUS
10976 echo >>$CONFIG_STATUS
10978 # Break up conftest.undefs because some shells have a limit on the size
10979 # of here documents, and old seds have small limits too (100 cmds).
10980 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10981 rm -f conftest.
tail
10982 while grep . conftest.undefs
>/dev
/null
10984 # Write a limited-size here document to $tmp/undefs.sed.
10985 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10986 # Speed up: don't consider the non
`#undef'
10987 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10988 # Work around the forget-to-reset-the-flag bug.
10989 echo 't clr' >>$CONFIG_STATUS
10990 echo ': clr' >>$CONFIG_STATUS
10991 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10993 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10995 mv $tmp/out $tmp/in
10997 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10998 rm -f conftest.undefs
10999 mv conftest.tail conftest.undefs
11001 rm -f conftest.undefs
11003 cat >>$CONFIG_STATUS <<\_ACEOF
11004 # Let's still pretend it is `configure
' which instantiates (i.e., don't
11005 # use $as_me), people would be surprised to read:
11006 # /* config.h. Generated by config.status. */
11007 if test x
"$ac_file" = x
-; then
11008 echo "/* Generated by configure. */" >$tmp/config.h
11010 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11012 cat $tmp/in >>$tmp/config.h
11014 if test x
"$ac_file" != x
-; then
11015 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
11016 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11017 echo "$as_me: $ac_file is unchanged" >&6;}
11019 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11020 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11021 X"$ac_file" : 'X\(//\)[^/]' \| \
11022 X"$ac_file" : 'X\(//\)$' \| \
11023 X"$ac_file" : 'X\(/\)' \| \
11024 . : '\(.\)' 2>/dev/null ||
11026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11028 /^X\(\/\/\)$/{ s//\1/; q; }
11029 /^X\(\/\).*/{ s//\1/; q; }
11031 { case "$ac_dir" in
11032 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
11036 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
11037 case $as_mkdir_dir in
11038 # Skip DOS drivespec
11039 ?
:) as_incr_dir
=$as_mkdir_dir ;;
11041 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
11042 test -d "$as_incr_dir" ||
11043 mkdir "$as_incr_dir" ||
11044 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
11045 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
11046 { (exit 1); exit 1; }; }
11052 mv $tmp/config.h
$ac_file
11056 rm -f $tmp/config.h
11061 cat >>$CONFIG_STATUS <<\_ACEOF
11063 { (exit 0); exit 0; }
11065 chmod +x
$CONFIG_STATUS
11066 ac_clean_files
=$ac_clean_files_save
11069 # configure is writing to config.log, and then calls config.status.
11070 # config.status does its own redirection, appending to config.log.
11071 # Unfortunately, on DOS this fails, as config.log is still kept open
11072 # by configure, so config.status won't be able to write to it; its
11073 # output is simply discarded. So we exec the FD to /dev/null,
11074 # effectively closing config.log, so it can be properly (re)opened and
11075 # appended to by config.status. When coming back to configure, we
11076 # need to make the FD available again.
11077 if test "$no_create" != yes; then
11080 $SHELL $CONFIG_STATUS || ac_cs_success
=false
11082 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11083 # would make configure fail if this is the last instruction.
11084 $ac_cs_success || { (exit 1); exit 1; }
11088 chmod 0700 ircdcron
/ircdchk