2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 # Avoid depending upon Character Ranges.
11 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14 as_cr_digits
='0123456789'
15 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17 # Sed expression to map a string onto a valid variable name.
18 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20 # Sed expression to map a string onto a valid CPP name.
21 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
31 # Name of the executable.
32 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
34 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40 rm -f conf$$ conf$$.exe conf$$.
file
42 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
43 # We could just check for DJGPP; but this test a) works b) is more generic
44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45 if test -f conf$$.exe
; then
46 # Don't use ln at all; we don't have any links
51 elif ln conf$$.
file conf$$
2>/dev
/null
; then
56 rm -f conf$$ conf$$.exe conf$$.
file
58 as_executable_p
="test -f"
60 # Support unset when possible.
61 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
68 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
69 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
70 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
71 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
72 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
73 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
74 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
75 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
78 # We need space, tab and new line, in precisely that order.
84 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too.
89 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
96 ac_default_prefix
=/usr
/local
100 SHELL
=${CONFIG_SHELL-/bin/sh}
102 # Maximum number of lines to put in a shell here document.
103 # This variable seems obsolete. It should probably be removed, and
104 # only ac_max_sed_lines should be used.
105 : ${ac_max_here_lines=38}
107 ac_unique_file
="opercmd.h"
108 # Factoring default headers for most tests.
109 ac_includes_default
="\
112 # include <sys/types.h>
115 # include <sys/stat.h>
126 # if !STDC_HEADERS && HAVE_MEMORY_H
132 # include <strings.h>
135 # include <inttypes.h>
145 # Initialize some variables set by options.
147 ac_init_version
=false
148 # The variables have the same names as the options, with
149 # dashes changed to underlines.
157 program_transform_name
=s
,x
,x
,
165 # Installation directory options.
166 # These are left unexpanded so users can "make install exec_prefix=/foo"
167 # and all the variables that are supposed to be based on exec_prefix
168 # by default will actually change.
169 # Use braces instead of parens because sh, perl, etc. also accept them.
170 bindir
='${exec_prefix}/bin'
171 sbindir
='${exec_prefix}/sbin'
172 libexecdir
='${exec_prefix}/libexec'
173 datadir
='${prefix}/share'
174 sysconfdir
='${prefix}/etc'
175 sharedstatedir
='${prefix}/com'
176 localstatedir
='${prefix}/var'
177 libdir
='${exec_prefix}/lib'
178 includedir
='${prefix}/include'
179 oldincludedir
='/usr/include'
180 infodir
='${prefix}/info'
181 mandir
='${prefix}/man'
183 # Identity of this package.
193 # If the previous option needs an argument, assign it.
194 if test -n "$ac_prev"; then
195 eval "$ac_prev=\$ac_option"
200 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
202 # Accept the important Cygnus configure options, so we can diagnose typos.
206 -bindir | --bindir | --bindi | --bind | --bin | --bi)
208 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
211 -build | --build | --buil | --bui | --bu)
212 ac_prev
=build_alias
;;
213 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
214 build_alias
=$ac_optarg ;;
216 -cache-file | --cache-file | --cache-fil | --cache-fi \
217 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
218 ac_prev
=cache_file
;;
219 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
220 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
221 cache_file
=$ac_optarg ;;
224 cache_file
=config.cache
;;
226 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
228 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
230 datadir
=$ac_optarg ;;
232 -disable-* | --disable-*)
233 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
234 # Reject names that are not valid shell variable names.
235 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
236 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
237 { (exit 1); exit 1; }; }
238 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
239 eval "enable_$ac_feature=no" ;;
241 -enable-* | --enable-*)
242 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
243 # Reject names that are not valid shell variable names.
244 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
245 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
246 { (exit 1); exit 1; }; }
247 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
249 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
252 eval "enable_$ac_feature='$ac_optarg'" ;;
254 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
255 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
256 | --exec | --exe | --ex)
257 ac_prev
=exec_prefix
;;
258 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
259 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
260 | --exec=* | --exe=* | --ex=*)
261 exec_prefix
=$ac_optarg ;;
263 -gas | --gas | --ga | --g)
264 # Obsolete; use --with-gas.
267 -help | --help | --hel | --he | -h)
269 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
270 ac_init_help
=recursive
;;
271 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
272 ac_init_help
=short
;;
274 -host | --host | --hos | --ho)
275 ac_prev
=host_alias
;;
276 -host=* | --host=* | --hos=* | --ho=*)
277 host_alias
=$ac_optarg ;;
279 -includedir | --includedir | --includedi | --included | --include \
280 | --includ | --inclu | --incl | --inc)
281 ac_prev
=includedir
;;
282 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
283 | --includ=* | --inclu=* | --incl=* | --inc=*)
284 includedir
=$ac_optarg ;;
286 -infodir | --infodir | --infodi | --infod | --info | --inf)
288 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
289 infodir
=$ac_optarg ;;
291 -libdir | --libdir | --libdi | --libd)
293 -libdir=* | --libdir=* | --libdi=* | --libd=*)
296 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
297 | --libexe | --libex | --libe)
298 ac_prev
=libexecdir
;;
299 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
300 | --libexe=* | --libex=* | --libe=*)
301 libexecdir
=$ac_optarg ;;
303 -localstatedir | --localstatedir | --localstatedi | --localstated \
304 | --localstate | --localstat | --localsta | --localst \
305 | --locals | --local | --loca | --loc | --lo)
306 ac_prev
=localstatedir
;;
307 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
308 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
309 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
310 localstatedir
=$ac_optarg ;;
312 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
314 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
318 # Obsolete; use --without-fp.
321 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
325 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
326 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
329 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
330 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
331 | --oldin | --oldi | --old | --ol | --o)
332 ac_prev
=oldincludedir
;;
333 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
334 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
335 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
336 oldincludedir
=$ac_optarg ;;
338 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
340 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
343 -program-prefix | --program-prefix | --program-prefi | --program-pref \
344 | --program-pre | --program-pr | --program-p)
345 ac_prev
=program_prefix
;;
346 -program-prefix=* | --program-prefix=* | --program-prefi=* \
347 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
348 program_prefix
=$ac_optarg ;;
350 -program-suffix | --program-suffix | --program-suffi | --program-suff \
351 | --program-suf | --program-su | --program-s)
352 ac_prev
=program_suffix
;;
353 -program-suffix=* | --program-suffix=* | --program-suffi=* \
354 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
355 program_suffix
=$ac_optarg ;;
357 -program-transform-name | --program-transform-name \
358 | --program-transform-nam | --program-transform-na \
359 | --program-transform-n | --program-transform- \
360 | --program-transform | --program-transfor \
361 | --program-transfo | --program-transf \
362 | --program-trans | --program-tran \
363 | --progr-tra | --program-tr | --program-t)
364 ac_prev
=program_transform_name
;;
365 -program-transform-name=* | --program-transform-name=* \
366 | --program-transform-nam=* | --program-transform-na=* \
367 | --program-transform-n=* | --program-transform-=* \
368 | --program-transform=* | --program-transfor=* \
369 | --program-transfo=* | --program-transf=* \
370 | --program-trans=* | --program-tran=* \
371 | --progr-tra=* | --program-tr=* | --program-t=*)
372 program_transform_name
=$ac_optarg ;;
374 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
375 | -silent | --silent | --silen | --sile | --sil)
378 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
380 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
382 sbindir
=$ac_optarg ;;
384 -sharedstatedir | --sharedstatedir | --sharedstatedi \
385 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
386 | --sharedst | --shareds | --shared | --share | --shar \
388 ac_prev
=sharedstatedir
;;
389 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
390 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
391 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
393 sharedstatedir
=$ac_optarg ;;
395 -site | --site | --sit)
397 -site=* | --site=* | --sit=*)
400 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
402 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
405 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
406 | --syscon | --sysco | --sysc | --sys | --sy)
407 ac_prev
=sysconfdir
;;
408 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
409 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
410 sysconfdir
=$ac_optarg ;;
412 -target | --target | --targe | --targ | --tar | --ta | --t)
413 ac_prev
=target_alias
;;
414 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
415 target_alias
=$ac_optarg ;;
417 -v | -verbose | --verbose | --verbos | --verbo | --verb)
420 -version | --version | --versio | --versi | --vers | -V)
424 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
425 # Reject names that are not valid shell variable names.
426 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
427 { echo "$as_me: error: invalid package name: $ac_package" >&2
428 { (exit 1); exit 1; }; }
429 ac_package
=`echo $ac_package| sed 's/-/_/g'`
431 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
434 eval "with_$ac_package='$ac_optarg'" ;;
436 -without-* | --without-*)
437 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
438 # Reject names that are not valid shell variable names.
439 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
440 { echo "$as_me: error: invalid package name: $ac_package" >&2
441 { (exit 1); exit 1; }; }
442 ac_package
=`echo $ac_package | sed 's/-/_/g'`
443 eval "with_$ac_package=no" ;;
446 # Obsolete; use --with-x.
449 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
450 | --x-incl | --x-inc | --x-in | --x-i)
451 ac_prev
=x_includes
;;
452 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
453 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
454 x_includes
=$ac_optarg ;;
456 -x-libraries | --x-libraries | --x-librarie | --x-librari \
457 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
458 ac_prev
=x_libraries
;;
459 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
460 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
461 x_libraries
=$ac_optarg ;;
463 -*) { echo "$as_me: error: unrecognized option: $ac_option
464 Try \`$0 --help' for more information." >&2
465 { (exit 1); exit 1; }; }
469 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
470 # Reject names that are not valid shell variable names.
471 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
472 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
473 { (exit 1); exit 1; }; }
474 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
475 eval "$ac_envvar='$ac_optarg'"
479 # FIXME: should be removed in autoconf 3.0.
480 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
481 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
482 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
483 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
489 if test -n "$ac_prev"; then
490 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
491 { echo "$as_me: error: missing argument to $ac_option" >&2
492 { (exit 1); exit 1; }; }
495 # Be sure to have absolute paths.
496 for ac_var
in exec_prefix prefix
498 eval ac_val
=$
`echo $ac_var`
500 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
501 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
502 { (exit 1); exit 1; }; };;
506 # Be sure to have absolute paths.
507 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
508 localstatedir libdir includedir oldincludedir infodir mandir
510 eval ac_val
=$
`echo $ac_var`
512 [\\/$
]* | ?
:[\\/]* ) ;;
513 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
514 { (exit 1); exit 1; }; };;
518 # There might be people who depend on the old broken behavior: `$host'
519 # used to hold the argument of --host etc.
524 # FIXME: should be removed in autoconf 3.0.
525 if test "x$host_alias" != x
; then
526 if test "x$build_alias" = x
; then
527 cross_compiling
=maybe
528 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
529 If a cross compiler is detected then cross compile mode will be used." >&2
530 elif test "x$build_alias" != "x$host_alias"; then
536 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
538 test "$silent" = yes && exec 6>/dev
/null
540 # Find the source files, if location was not specified.
541 if test -z "$srcdir"; then
542 ac_srcdir_defaulted
=yes
543 # Try the directory containing this script, then its parent.
545 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
548 if test ! -r $srcdir/$ac_unique_file; then
552 ac_srcdir_defaulted
=no
554 if test ! -r $srcdir/$ac_unique_file; then
555 if test "$ac_srcdir_defaulted" = yes; then
556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
557 { (exit 1); exit 1; }; }
559 { echo "$as_me: error: cannot find sources in $srcdir" >&2
560 { (exit 1); exit 1; }; }
563 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
564 ac_env_build_alias_set
=${build_alias+set}
565 ac_env_build_alias_value
=$build_alias
566 ac_cv_env_build_alias_set
=${build_alias+set}
567 ac_cv_env_build_alias_value
=$build_alias
568 ac_env_host_alias_set
=${host_alias+set}
569 ac_env_host_alias_value
=$host_alias
570 ac_cv_env_host_alias_set
=${host_alias+set}
571 ac_cv_env_host_alias_value
=$host_alias
572 ac_env_target_alias_set
=${target_alias+set}
573 ac_env_target_alias_value
=$target_alias
574 ac_cv_env_target_alias_set
=${target_alias+set}
575 ac_cv_env_target_alias_value
=$target_alias
576 ac_env_CC_set
=${CC+set}
578 ac_cv_env_CC_set
=${CC+set}
579 ac_cv_env_CC_value
=$CC
580 ac_env_CFLAGS_set
=${CFLAGS+set}
581 ac_env_CFLAGS_value
=$CFLAGS
582 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
583 ac_cv_env_CFLAGS_value
=$CFLAGS
584 ac_env_LDFLAGS_set
=${LDFLAGS+set}
585 ac_env_LDFLAGS_value
=$LDFLAGS
586 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
587 ac_cv_env_LDFLAGS_value
=$LDFLAGS
588 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
589 ac_env_CPPFLAGS_value
=$CPPFLAGS
590 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
591 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
592 ac_env_CPP_set
=${CPP+set}
593 ac_env_CPP_value
=$CPP
594 ac_cv_env_CPP_set
=${CPP+set}
595 ac_cv_env_CPP_value
=$CPP
598 # Report the --help message.
600 if test "$ac_init_help" = "long"; then
601 # Omit some internal or obsolete options to make the list less imposing.
602 # This message is too long to be a string in the A/UX 3.1 sh.
604 \`configure' configures this package to adapt to many kinds of systems.
606 Usage: $0 [OPTION]... [VAR=VALUE]...
608 To assign environment variables (e.g., CC, CFLAGS...), specify them as
609 VAR=VALUE. See below for descriptions of some of the useful variables.
611 Defaults for the options are specified in brackets.
614 -h, --help display this help and exit
615 --help=short display options specific to this package
616 --help=recursive display the short help of all the included packages
617 -V, --version display version information and exit
618 -q, --quiet, --silent do not print \`checking...' messages
619 --cache-file=FILE cache test results in FILE [disabled]
620 -C, --config-cache alias for \`--cache-file=config.cache'
621 -n, --no-create do not create output files
622 --srcdir=DIR find the sources in DIR [configure dir or \`..']
627 Installation directories:
628 --prefix=PREFIX install architecture-independent files in PREFIX
630 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
633 By default, \`make install' will install all the files in
634 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
635 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
636 for instance \`--prefix=\$HOME'.
638 For better control, use the options below.
640 Fine tuning of the installation directories:
641 --bindir=DIR user executables [EPREFIX/bin]
642 --sbindir=DIR system admin executables [EPREFIX/sbin]
643 --libexecdir=DIR program executables [EPREFIX/libexec]
644 --datadir=DIR read-only architecture-independent data [PREFIX/share]
645 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
646 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
647 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
648 --libdir=DIR object code libraries [EPREFIX/lib]
649 --includedir=DIR C header files [PREFIX/include]
650 --oldincludedir=DIR C header files for non-gcc [/usr/include]
651 --infodir=DIR info documentation [PREFIX/info]
652 --mandir=DIR man documentation [PREFIX/man]
659 if test -n "$ac_init_help"; then
664 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
665 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
667 --with-select use
select() instead of poll
()
669 --with-unreal you need this
if you are using Unreal ircd
(any version
)
671 Some influential environment variables
:
672 CC C compiler
command
673 CFLAGS C compiler flags
674 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
675 nonstandard directory
<lib dir
>
676 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
677 headers
in a nonstandard directory
<include dir
>
680 Use these variables to override the choices made by
`configure' or to help
681 it to find libraries and programs with nonstandard names/locations.
686 if test "$ac_init_help" = "recursive"; then
687 # If there are subdirs, report their specific --help.
689 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
691 # A "../" for each directory in /$ac_subdir.
692 ac_dots=`echo $ac_subdir |
693 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
696 .) # No --srcdir option. We are building in place.
697 ac_sub_srcdir=$srcdir ;;
698 [\\/]* | ?:[\\/]* ) # Absolute path.
699 ac_sub_srcdir=$srcdir/$ac_subdir ;;
701 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
704 # Check for guested configure; otherwise get Cygnus style configure.
705 if test -f $ac_sub_srcdir/configure.gnu; then
707 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
708 elif test -f $ac_sub_srcdir/configure; then
710 $SHELL $ac_sub_srcdir/configure --help=recursive
711 elif test -f $ac_sub_srcdir/configure.ac ||
712 test -f $ac_sub_srcdir/configure.in; then
716 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
722 test -n "$ac_init_help" && exit 0
723 if $ac_init_version; then
726 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
727 Free Software Foundation, Inc.
728 This configure script is free software; the Free Software Foundation
729 gives unlimited permission to copy, distribute and modify it.
735 This file contains any messages produced by compilers while
736 running configure, to aid debugging if configure makes a mistake.
738 It was created by $as_me, which was
739 generated by GNU Autoconf 2.52. Invocation command line was
750 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
751 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
752 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
753 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
754 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
756 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
757 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
759 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
760 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
761 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
762 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
763 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
764 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
765 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
779 # Keep a trace of the command line.
780 # Strip out --no-create and --no-recursion so they do not pile up.
781 # Also quote any args containing shell meta-characters.
787 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
788 | --no-cr | --no-c) ;;
789 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
790 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
791 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
792 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
793 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
795 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
798 # Get rid of the leading space.
801 # When interrupted or exit'd, cleanup temporary files, and complete
802 # config.log. We remove comments because anyway the quotes in there
803 # would cause problems or look ugly.
805 # Save into config.log some information that might help in debugging.
807 echo "## ----------------- ##" >&5
808 echo "## Cache variables. ##" >&5
809 echo "## ----------------- ##" >&5
811 # The following way of writing the cache mishandles newlines in values,
814 case `(ac_space
='"'"' '"'"'; set | grep ac_space
) 2>&1` in
817 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
818 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
822 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
826 sed "/^$/d" confdefs.h >conftest.log
827 if test -s conftest.log; then
829 echo "## ------------ ##" >&5
830 echo "## confdefs.h. ##" >&5
831 echo "## ------------ ##" >&5
836 test "$ac_signal" != 0 &&
837 echo "$as_me: caught signal $ac_signal" >&5
838 echo "$as_me: exit $exit_status" >&5
839 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
842 for ac_signal in 1 2 13 15; do
843 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
847 # confdefs.h avoids OS command line length limits that DEFS can exceed.
848 rm -rf conftest* confdefs.h
849 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
852 # Let the site file select an alternate cache file if it wants to.
853 # Prefer explicitly selected file to automatically selected ones.
854 if test -z "$CONFIG_SITE"; then
855 if test "x$prefix" != xNONE; then
856 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
858 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
861 for ac_site_file in $CONFIG_SITE; do
862 if test -r "$ac_site_file"; then
863 { echo "$as_me:863: loading site script $ac_site_file" >&5
864 echo "$as_me: loading site script $ac_site_file" >&6;}
865 cat "$ac_site_file" >&5
870 if test -r "$cache_file"; then
871 # Some versions of bash will fail to source /dev/null (special
872 # files actually), so we avoid doing that.
873 if test -f "$cache_file"; then
874 { echo "$as_me:874: loading cache $cache_file" >&5
875 echo "$as_me: loading cache $cache_file" >&6;}
877 [\\/]* | ?:[\\/]* ) . $cache_file;;
882 { echo "$as_me:882: creating cache $cache_file" >&5
883 echo "$as_me: creating cache $cache_file" >&6;}
887 # Check that the precious variables saved in the cache have kept the same
889 ac_cache_corrupted=false
890 for ac_var in `(set) 2>&1 |
891 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
892 eval ac_old_set=\$ac_cv_env_${ac_var}_set
893 eval ac_new_set=\$ac_env_${ac_var}_set
894 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
895 eval ac_new_val="\$ac_env_${ac_var}_value"
896 case $ac_old_set,$ac_new_set in
898 { echo "$as_me:898: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
899 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
900 ac_cache_corrupted=: ;;
902 { echo "$as_me:902: error: \`$ac_var' was not
set in the previous run
" >&5
903 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
904 ac_cache_corrupted=: ;;
907 if test "x$ac_old_val" != "x$ac_new_val"; then
908 { echo "$as_me:908: error: \`$ac_var' has changed since the previous run:" >&5
909 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
910 { echo "$as_me:910: former value
: $ac_old_val" >&5
911 echo "$as_me: former value
: $ac_old_val" >&2;}
912 { echo "$as_me:912: current value
: $ac_new_val" >&5
913 echo "$as_me: current value
: $ac_new_val" >&2;}
917 # Pass precious variables to config.status. It doesn't matter if
918 # we pass some twice (in addition to the command line arguments).
919 if test "$ac_new_set" = set; then
921 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
922 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"`
923 ac_configure_args="$ac_configure_args '$ac_arg'"
925 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
930 if $ac_cache_corrupted; then
931 { echo "$as_me:931: error
: changes
in the environment can compromise the build
" >&5
932 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
933 { { echo "$as_me:933: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
934 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
935 { (exit 1); exit 1; }; }
939 ac_cpp='$CPP $CPPFLAGS'
940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
944 case `echo "testing\c"; echo 1,2,3`,`echo -n testing
; echo 1,2,3` in
945 *c*,-n*) ECHO_N= ECHO_C='
947 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
948 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
950 echo "#! $SHELL" >conftest.sh
951 echo "exit 0" >>conftest.sh
953 if { (echo "$as_me:953: PATH=\".;.\"; conftest.sh") >&5
954 (PATH=".;."; conftest.sh) 2>&5
956 echo "$as_me:956: \$? = $ac_status" >&5
957 (exit $ac_status); }; then
958 ac_path_separator=';'
962 PATH_SEPARATOR="$ac_path_separator"
965 ac_config_headers="$ac_config_headers setup.h"
967 # Check whether --with-select or --without-select was given.
968 if test "${with_select+set}" = set; then
969 withval="$with_select"
975 # Check whether --with-unreal or --without-unreal was given.
976 if test "${with_unreal+set}" = set; then
977 withval="$with_unreal"
984 ac_cpp='$CPP $CPPFLAGS'
985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
988 if test -n "$ac_tool_prefix"; then
989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
990 set dummy ${ac_tool_prefix}gcc; ac_word=$2
991 echo "$as_me:991: checking for $ac_word" >&5
992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
993 if test "${ac_cv_prog_CC+set}" = set; then
994 echo $ECHO_N "(cached) $ECHO_C" >&6
996 if test -n "$CC"; then
997 ac_cv_prog_CC="$CC" # Let the user override the test.
999 ac_save_IFS=$IFS; IFS=$ac_path_separator
1001 for ac_dir in $ac_dummy; do
1003 test -z "$ac_dir" && ac_dir=.
1004 $as_executable_p "$ac_dir/$ac_word" || continue
1005 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1006 echo "$as_me:1006: found $ac_dir/$ac_word" >&5
1013 if test -n "$CC"; then
1014 echo "$as_me:1014: result: $CC" >&5
1015 echo "${ECHO_T}$CC" >&6
1017 echo "$as_me:1017: result: no" >&5
1018 echo "${ECHO_T}no" >&6
1022 if test -z "$ac_cv_prog_CC"; then
1024 # Extract the first word of "gcc", so it can be a program name with args.
1025 set dummy gcc; ac_word=$2
1026 echo "$as_me:1026: checking for $ac_word" >&5
1027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1028 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1029 echo $ECHO_N "(cached) $ECHO_C" >&6
1031 if test -n "$ac_ct_CC"; then
1032 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1034 ac_save_IFS=$IFS; IFS=$ac_path_separator
1036 for ac_dir in $ac_dummy; do
1038 test -z "$ac_dir" && ac_dir=.
1039 $as_executable_p "$ac_dir/$ac_word" || continue
1040 ac_cv_prog_ac_ct_CC="gcc"
1041 echo "$as_me:1041: found $ac_dir/$ac_word" >&5
1047 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1048 if test -n "$ac_ct_CC"; then
1049 echo "$as_me:1049: result: $ac_ct_CC" >&5
1050 echo "${ECHO_T}$ac_ct_CC" >&6
1052 echo "$as_me:1052: result: no" >&5
1053 echo "${ECHO_T}no" >&6
1061 if test -z "$CC"; then
1062 if test -n "$ac_tool_prefix"; then
1063 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1064 set dummy ${ac_tool_prefix}cc; ac_word=$2
1065 echo "$as_me:1065: checking for $ac_word" >&5
1066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1067 if test "${ac_cv_prog_CC+set}" = set; then
1068 echo $ECHO_N "(cached) $ECHO_C" >&6
1070 if test -n "$CC"; then
1071 ac_cv_prog_CC="$CC" # Let the user override the test.
1073 ac_save_IFS=$IFS; IFS=$ac_path_separator
1075 for ac_dir in $ac_dummy; do
1077 test -z "$ac_dir" && ac_dir=.
1078 $as_executable_p "$ac_dir/$ac_word" || continue
1079 ac_cv_prog_CC="${ac_tool_prefix}cc"
1080 echo "$as_me:1080: found $ac_dir/$ac_word" >&5
1087 if test -n "$CC"; then
1088 echo "$as_me:1088: result: $CC" >&5
1089 echo "${ECHO_T}$CC" >&6
1091 echo "$as_me:1091: result: no" >&5
1092 echo "${ECHO_T}no" >&6
1096 if test -z "$ac_cv_prog_CC"; then
1098 # Extract the first word of "cc", so it can be a program name with args.
1099 set dummy cc; ac_word=$2
1100 echo "$as_me:1100: checking for $ac_word" >&5
1101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1102 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1103 echo $ECHO_N "(cached) $ECHO_C" >&6
1105 if test -n "$ac_ct_CC"; then
1106 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1108 ac_save_IFS=$IFS; IFS=$ac_path_separator
1110 for ac_dir in $ac_dummy; do
1112 test -z "$ac_dir" && ac_dir=.
1113 $as_executable_p "$ac_dir/$ac_word" || continue
1114 ac_cv_prog_ac_ct_CC="cc"
1115 echo "$as_me:1115: found $ac_dir/$ac_word" >&5
1121 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1122 if test -n "$ac_ct_CC"; then
1123 echo "$as_me:1123: result: $ac_ct_CC" >&5
1124 echo "${ECHO_T}$ac_ct_CC" >&6
1126 echo "$as_me:1126: result: no" >&5
1127 echo "${ECHO_T}no" >&6
1136 if test -z "$CC"; then
1137 # Extract the first word of "cc", so it can be a program name with args.
1138 set dummy cc; ac_word=$2
1139 echo "$as_me:1139: checking for $ac_word" >&5
1140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1141 if test "${ac_cv_prog_CC+set}" = set; then
1142 echo $ECHO_N "(cached) $ECHO_C" >&6
1144 if test -n "$CC"; then
1145 ac_cv_prog_CC="$CC" # Let the user override the test.
1148 ac_save_IFS=$IFS; IFS=$ac_path_separator
1150 for ac_dir in $ac_dummy; do
1152 test -z "$ac_dir" && ac_dir=.
1153 $as_executable_p "$ac_dir/$ac_word" || continue
1154 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1155 ac_prog_rejected=yes
1159 echo "$as_me:1159: found $ac_dir/$ac_word" >&5
1163 if test $ac_prog_rejected = yes; then
1164 # We found a bogon in the path, so make sure we never use it.
1165 set dummy $ac_cv_prog_CC
1167 if test $# != 0; then
1168 # We chose a different compiler from the bogus one.
1169 # However, it has the same basename, so the bogon will be chosen
1170 # first if we set CC to just the basename; use the full file name.
1172 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1180 if test -n "$CC"; then
1181 echo "$as_me:1181: result: $CC" >&5
1182 echo "${ECHO_T}$CC" >&6
1184 echo "$as_me:1184: result: no" >&5
1185 echo "${ECHO_T}no" >&6
1189 if test -z "$CC"; then
1190 if test -n "$ac_tool_prefix"; then
1193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1194 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1195 echo "$as_me:1195: checking for $ac_word" >&5
1196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1197 if test "${ac_cv_prog_CC+set}" = set; then
1198 echo $ECHO_N "(cached) $ECHO_C" >&6
1200 if test -n "$CC"; then
1201 ac_cv_prog_CC="$CC" # Let the user override the test.
1203 ac_save_IFS=$IFS; IFS=$ac_path_separator
1205 for ac_dir in $ac_dummy; do
1207 test -z "$ac_dir" && ac_dir=.
1208 $as_executable_p "$ac_dir/$ac_word" || continue
1209 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1210 echo "$as_me:1210: found $ac_dir/$ac_word" >&5
1217 if test -n "$CC"; then
1218 echo "$as_me:1218: result: $CC" >&5
1219 echo "${ECHO_T}$CC" >&6
1221 echo "$as_me:1221: result: no" >&5
1222 echo "${ECHO_T}no" >&6
1225 test -n "$CC" && break
1228 if test -z "$CC"; then
1232 # Extract the first word of "$ac_prog", so it can be a program name with args.
1233 set dummy $ac_prog; ac_word=$2
1234 echo "$as_me:1234: checking for $ac_word" >&5
1235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1236 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1237 echo $ECHO_N "(cached) $ECHO_C" >&6
1239 if test -n "$ac_ct_CC"; then
1240 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1242 ac_save_IFS=$IFS; IFS=$ac_path_separator
1244 for ac_dir in $ac_dummy; do
1246 test -z "$ac_dir" && ac_dir=.
1247 $as_executable_p "$ac_dir/$ac_word" || continue
1248 ac_cv_prog_ac_ct_CC="$ac_prog"
1249 echo "$as_me:1249: found $ac_dir/$ac_word" >&5
1255 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1256 if test -n "$ac_ct_CC"; then
1257 echo "$as_me:1257: result: $ac_ct_CC" >&5
1258 echo "${ECHO_T}$ac_ct_CC" >&6
1260 echo "$as_me:1260: result: no" >&5
1261 echo "${ECHO_T}no" >&6
1264 test -n "$ac_ct_CC" && break
1272 test -z "$CC" && { { echo "$as_me:1272: error: no acceptable cc found in \$PATH" >&5
1273 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1274 { (exit 1); exit 1; }; }
1276 # Provide some information about the compiler.
1277 echo "$as_me:1277:" \
1278 "checking for C compiler version" >&5
1279 ac_compiler=`set X
$ac_compile; echo $2`
1280 { (eval echo "$as_me:1280: \"$ac_compiler --version </dev/null >&5\"") >&5
1281 (eval $ac_compiler --version </dev/null >&5) 2>&5
1283 echo "$as_me:1283: \$? = $ac_status" >&5
1284 (exit $ac_status); }
1285 { (eval echo "$as_me:1285: \"$ac_compiler -v </dev/null >&5\"") >&5
1286 (eval $ac_compiler -v </dev/null >&5) 2>&5
1288 echo "$as_me:1288: \$? = $ac_status" >&5
1289 (exit $ac_status); }
1290 { (eval echo "$as_me:1290: \"$ac_compiler -V </dev/null >&5\"") >&5
1291 (eval $ac_compiler -V </dev/null >&5) 2>&5
1293 echo "$as_me:1293: \$? = $ac_status" >&5
1294 (exit $ac_status); }
1296 cat >conftest.$ac_ext <<_ACEOF
1297 #line 1297 "configure"
1298 #include "confdefs.h"
1308 ac_clean_files_save=$ac_clean_files
1309 ac_clean_files="$ac_clean_files a.out a.exe"
1310 # Try to create an executable without -o first, disregard a.out.
1311 # It will help us diagnose broken compilers, and finding out an intuition
1313 echo "$as_me:1313: checking for C compiler default output" >&5
1314 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1315 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1316 if { (eval echo "$as_me:1316: \"$ac_link_default\"") >&5
1317 (eval $ac_link_default) 2>&5
1319 echo "$as_me:1319: \$? = $ac_status" >&5
1320 (exit $ac_status); }; then
1321 # Find the output, starting from the most likely. This scheme is
1322 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1324 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1325 ls a.out conftest 2>/dev/null;
1326 ls a.* conftest.* 2>/dev/null`; do
1328 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1329 a.out ) # We found the default executable, but exeext='' is most
1332 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.
]*\
(\..
*\
)'`
1333 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1340 echo "$as_me: failed program was:" >&5
1341 cat conftest.$ac_ext >&5
1342 { { echo "$as_me:1342: error: C compiler cannot create executables" >&5
1343 echo "$as_me: error: C compiler cannot create executables" >&2;}
1344 { (exit 77); exit 77; }; }
1347 ac_exeext=$ac_cv_exeext
1348 echo "$as_me:1348: result: $ac_file" >&5
1349 echo "${ECHO_T}$ac_file" >&6
1351 # Check the compiler produces executables we can run. If not, either
1352 # the compiler is broken, or we cross compile.
1353 echo "$as_me:1353: checking whether the C compiler works" >&5
1354 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1355 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1356 # If not cross compiling, check that we can run a simple program.
1357 if test "$cross_compiling" != yes; then
1358 if { ac_try='.
/$ac_file'
1359 { (eval echo "$as_me:1359: \"$ac_try\"") >&5
1362 echo "$as_me:1362: \$? = $ac_status" >&5
1363 (exit $ac_status); }; }; then
1366 if test "$cross_compiling" = maybe; then
1369 { { echo "$as_me:1369: error: cannot run C compiled programs.
1370 If you meant to cross compile, use \`--host'.
" >&5
1371 echo "$as_me: error
: cannot run C compiled programs.
1372 If you meant to cross compile
, use \
`--host'." >&2;}
1373 { (exit 1); exit 1; }; }
1377 echo "$as_me:1377: result: yes" >&5
1378 echo "${ECHO_T}yes" >&6
1380 rm -f a.out a.exe conftest$ac_cv_exeext
1381 ac_clean_files=$ac_clean_files_save
1382 # Check the compiler produces executables we can run. If not, either
1383 # the compiler is broken, or we cross compile.
1384 echo "$as_me:1384: checking whether we are cross compiling" >&5
1385 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1386 echo "$as_me:1386: result: $cross_compiling" >&5
1387 echo "${ECHO_T}$cross_compiling" >&6
1389 echo "$as_me:1389: checking for executable suffix" >&5
1390 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1391 if { (eval echo "$as_me:1391: \"$ac_link\"") >&5
1392 (eval $ac_link) 2>&5
1394 echo "$as_me:1394: \$? = $ac_status" >&5
1395 (exit $ac_status); }; then
1396 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1397 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1398 # work properly (i.e., refer to `conftest.exe'), while it won't with
1400 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1402 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1403 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1410 { { echo "$as_me:1410: error: cannot compute EXEEXT: cannot compile and link" >&5
1411 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1412 { (exit 1); exit 1; }; }
1415 rm -f conftest
$ac_cv_exeext
1416 echo "$as_me:1416: result: $ac_cv_exeext" >&5
1417 echo "${ECHO_T}$ac_cv_exeext" >&6
1419 rm -f conftest.
$ac_ext
1420 EXEEXT
=$ac_cv_exeext
1422 echo "$as_me:1422: checking for object suffix" >&5
1423 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1424 if test "${ac_cv_objext+set}" = set; then
1425 echo $ECHO_N "(cached) $ECHO_C" >&6
1427 cat >conftest.
$ac_ext <<_ACEOF
1428 #line 1428 "configure"
1429 #include "confdefs.h"
1439 rm -f conftest.o conftest.obj
1440 if { (eval echo "$as_me:1440: \"$ac_compile\"") >&5
1441 (eval $ac_compile) 2>&5
1443 echo "$as_me:1443: \$? = $ac_status" >&5
1444 (exit $ac_status); }; then
1445 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1447 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
1448 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1453 echo "$as_me: failed program was:" >&5
1454 cat conftest.
$ac_ext >&5
1455 { { echo "$as_me:1455: error: cannot compute OBJEXT: cannot compile" >&5
1456 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1457 { (exit 1); exit 1; }; }
1460 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1462 echo "$as_me:1462: result: $ac_cv_objext" >&5
1463 echo "${ECHO_T}$ac_cv_objext" >&6
1464 OBJEXT
=$ac_cv_objext
1466 echo "$as_me:1466: checking whether we are using the GNU C compiler" >&5
1467 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1468 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 cat >conftest.
$ac_ext <<_ACEOF
1472 #line 1472 "configure"
1473 #include "confdefs.h"
1486 rm -f conftest.
$ac_objext
1487 if { (eval echo "$as_me:1487: \"$ac_compile\"") >&5
1488 (eval $ac_compile) 2>&5
1490 echo "$as_me:1490: \$? = $ac_status" >&5
1491 (exit $ac_status); } &&
1492 { ac_try
='test -s conftest.$ac_objext'
1493 { (eval echo "$as_me:1493: \"$ac_try\"") >&5
1496 echo "$as_me:1496: \$? = $ac_status" >&5
1497 (exit $ac_status); }; }; then
1500 echo "$as_me: failed program was:" >&5
1501 cat conftest.
$ac_ext >&5
1504 rm -f conftest.
$ac_objext conftest.
$ac_ext
1505 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1508 echo "$as_me:1508: result: $ac_cv_c_compiler_gnu" >&5
1509 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1510 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1511 ac_test_CFLAGS
=${CFLAGS+set}
1512 ac_save_CFLAGS
=$CFLAGS
1514 echo "$as_me:1514: checking whether $CC accepts -g" >&5
1515 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1516 if test "${ac_cv_prog_cc_g+set}" = set; then
1517 echo $ECHO_N "(cached) $ECHO_C" >&6
1519 cat >conftest.
$ac_ext <<_ACEOF
1520 #line 1520 "configure"
1521 #include "confdefs.h"
1531 rm -f conftest.
$ac_objext
1532 if { (eval echo "$as_me:1532: \"$ac_compile\"") >&5
1533 (eval $ac_compile) 2>&5
1535 echo "$as_me:1535: \$? = $ac_status" >&5
1536 (exit $ac_status); } &&
1537 { ac_try
='test -s conftest.$ac_objext'
1538 { (eval echo "$as_me:1538: \"$ac_try\"") >&5
1541 echo "$as_me:1541: \$? = $ac_status" >&5
1542 (exit $ac_status); }; }; then
1545 echo "$as_me: failed program was:" >&5
1546 cat conftest.
$ac_ext >&5
1549 rm -f conftest.
$ac_objext conftest.
$ac_ext
1551 echo "$as_me:1551: result: $ac_cv_prog_cc_g" >&5
1552 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1553 if test "$ac_test_CFLAGS" = set; then
1554 CFLAGS
=$ac_save_CFLAGS
1555 elif test $ac_cv_prog_cc_g = yes; then
1556 if test "$GCC" = yes; then
1562 if test "$GCC" = yes; then
1568 # Some people use a C++ compiler to compile C. Since we use `exit',
1569 # in C++ we need to declare it. In case someone uses the same compiler
1570 # for both compiling C and C++ we need to have the C++ compiler decide
1571 # the declaration of exit, since it's the most demanding environment.
1572 cat >conftest.
$ac_ext <<_ACEOF
1577 rm -f conftest.
$ac_objext
1578 if { (eval echo "$as_me:1578: \"$ac_compile\"") >&5
1579 (eval $ac_compile) 2>&5
1581 echo "$as_me:1581: \$? = $ac_status" >&5
1582 (exit $ac_status); } &&
1583 { ac_try
='test -s conftest.$ac_objext'
1584 { (eval echo "$as_me:1584: \"$ac_try\"") >&5
1587 echo "$as_me:1587: \$? = $ac_status" >&5
1588 (exit $ac_status); }; }; then
1589 for ac_declaration
in \
1591 '#include <stdlib.h>' \
1592 'extern "C" void std::exit (int) throw (); using std::exit;' \
1593 'extern "C" void std::exit (int); using std::exit;' \
1594 'extern "C" void exit (int) throw ();' \
1595 'extern "C" void exit (int);' \
1598 cat >conftest.
$ac_ext <<_ACEOF
1599 #line 1599 "configure"
1600 #include "confdefs.h"
1611 rm -f conftest.
$ac_objext
1612 if { (eval echo "$as_me:1612: \"$ac_compile\"") >&5
1613 (eval $ac_compile) 2>&5
1615 echo "$as_me:1615: \$? = $ac_status" >&5
1616 (exit $ac_status); } &&
1617 { ac_try
='test -s conftest.$ac_objext'
1618 { (eval echo "$as_me:1618: \"$ac_try\"") >&5
1621 echo "$as_me:1621: \$? = $ac_status" >&5
1622 (exit $ac_status); }; }; then
1625 echo "$as_me: failed program was:" >&5
1626 cat conftest.
$ac_ext >&5
1629 rm -f conftest.
$ac_objext conftest.
$ac_ext
1630 cat >conftest.
$ac_ext <<_ACEOF
1631 #line 1631 "configure"
1632 #include "confdefs.h"
1642 rm -f conftest.
$ac_objext
1643 if { (eval echo "$as_me:1643: \"$ac_compile\"") >&5
1644 (eval $ac_compile) 2>&5
1646 echo "$as_me:1646: \$? = $ac_status" >&5
1647 (exit $ac_status); } &&
1648 { ac_try
='test -s conftest.$ac_objext'
1649 { (eval echo "$as_me:1649: \"$ac_try\"") >&5
1652 echo "$as_me:1652: \$? = $ac_status" >&5
1653 (exit $ac_status); }; }; then
1656 echo "$as_me: failed program was:" >&5
1657 cat conftest.
$ac_ext >&5
1659 rm -f conftest.
$ac_objext conftest.
$ac_ext
1662 if test -n "$ac_declaration"; then
1663 echo '#ifdef __cplusplus' >>confdefs.h
1664 echo $ac_declaration >>confdefs.h
1665 echo '#endif' >>confdefs.h
1669 echo "$as_me: failed program was:" >&5
1670 cat conftest.
$ac_ext >&5
1672 rm -f conftest.
$ac_objext conftest.
$ac_ext
1674 ac_cpp
='$CPP $CPPFLAGS'
1675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1680 ac_cpp
='$CPP $CPPFLAGS'
1681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1684 echo "$as_me:1684: checking how to run the C preprocessor" >&5
1685 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1686 # On Suns, sometimes $CPP names a directory.
1687 if test -n "$CPP" && test -d "$CPP"; then
1690 if test -z "$CPP"; then
1691 if test "${ac_cv_prog_CPP+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1694 # Double quotes because CPP needs to be expanded
1695 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1698 for ac_c_preproc_warn_flag
in '' yes
1700 # Use a header file that comes with gcc, so configuring glibc
1701 # with a fresh cross-compiler works.
1702 # On the NeXT, cc -E runs the code through the compiler's parser,
1703 # not just through cpp. "Syntax error" is here to catch this case.
1704 cat >conftest.
$ac_ext <<_ACEOF
1705 #line 1705 "configure"
1706 #include "confdefs.h"
1710 if { (eval echo "$as_me:1710: \"$ac_cpp conftest.$ac_ext\"") >&5
1711 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1713 egrep -v '^ *\+' conftest.er1
>conftest.err
1715 cat conftest.err
>&5
1716 echo "$as_me:1716: \$? = $ac_status" >&5
1717 (exit $ac_status); } >/dev
/null
; then
1718 if test -s conftest.err
; then
1719 ac_cpp_err
=$ac_c_preproc_warn_flag
1726 if test -z "$ac_cpp_err"; then
1729 echo "$as_me: failed program was:" >&5
1730 cat conftest.
$ac_ext >&5
1731 # Broken: fails on valid input.
1734 rm -f conftest.err conftest.
$ac_ext
1736 # OK, works on sane cases. Now check whether non-existent headers
1737 # can be detected and how.
1738 cat >conftest.
$ac_ext <<_ACEOF
1739 #line 1739 "configure"
1740 #include "confdefs.h"
1741 #include <ac_nonexistent.h>
1743 if { (eval echo "$as_me:1743: \"$ac_cpp conftest.$ac_ext\"") >&5
1744 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1746 egrep -v '^ *\+' conftest.er1
>conftest.err
1748 cat conftest.err
>&5
1749 echo "$as_me:1749: \$? = $ac_status" >&5
1750 (exit $ac_status); } >/dev
/null
; then
1751 if test -s conftest.err
; then
1752 ac_cpp_err
=$ac_c_preproc_warn_flag
1759 if test -z "$ac_cpp_err"; then
1760 # Broken: success on invalid input.
1763 echo "$as_me: failed program was:" >&5
1764 cat conftest.
$ac_ext >&5
1765 # Passes both tests.
1769 rm -f conftest.err conftest.
$ac_ext
1772 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1773 rm -f conftest.err conftest.
$ac_ext
1774 if $ac_preproc_ok; then
1786 echo "$as_me:1786: result: $CPP" >&5
1787 echo "${ECHO_T}$CPP" >&6
1789 for ac_c_preproc_warn_flag
in '' yes
1791 # Use a header file that comes with gcc, so configuring glibc
1792 # with a fresh cross-compiler works.
1793 # On the NeXT, cc -E runs the code through the compiler's parser,
1794 # not just through cpp. "Syntax error" is here to catch this case.
1795 cat >conftest.
$ac_ext <<_ACEOF
1796 #line 1796 "configure"
1797 #include "confdefs.h"
1801 if { (eval echo "$as_me:1801: \"$ac_cpp conftest.$ac_ext\"") >&5
1802 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1804 egrep -v '^ *\+' conftest.er1
>conftest.err
1806 cat conftest.err
>&5
1807 echo "$as_me:1807: \$? = $ac_status" >&5
1808 (exit $ac_status); } >/dev
/null
; then
1809 if test -s conftest.err
; then
1810 ac_cpp_err
=$ac_c_preproc_warn_flag
1817 if test -z "$ac_cpp_err"; then
1820 echo "$as_me: failed program was:" >&5
1821 cat conftest.
$ac_ext >&5
1822 # Broken: fails on valid input.
1825 rm -f conftest.err conftest.
$ac_ext
1827 # OK, works on sane cases. Now check whether non-existent headers
1828 # can be detected and how.
1829 cat >conftest.
$ac_ext <<_ACEOF
1830 #line 1830 "configure"
1831 #include "confdefs.h"
1832 #include <ac_nonexistent.h>
1834 if { (eval echo "$as_me:1834: \"$ac_cpp conftest.$ac_ext\"") >&5
1835 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1837 egrep -v '^ *\+' conftest.er1
>conftest.err
1839 cat conftest.err
>&5
1840 echo "$as_me:1840: \$? = $ac_status" >&5
1841 (exit $ac_status); } >/dev
/null
; then
1842 if test -s conftest.err
; then
1843 ac_cpp_err
=$ac_c_preproc_warn_flag
1850 if test -z "$ac_cpp_err"; then
1851 # Broken: success on invalid input.
1854 echo "$as_me: failed program was:" >&5
1855 cat conftest.
$ac_ext >&5
1856 # Passes both tests.
1860 rm -f conftest.err conftest.
$ac_ext
1863 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1864 rm -f conftest.err conftest.
$ac_ext
1865 if $ac_preproc_ok; then
1868 { { echo "$as_me:1868: error: C preprocessor \"$CPP\" fails sanity check" >&5
1869 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
1870 { (exit 1); exit 1; }; }
1874 ac_cpp
='$CPP $CPPFLAGS'
1875 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1876 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1877 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1879 echo "$as_me:1879: checking for ANSI C header files" >&5
1880 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
1881 if test "${ac_cv_header_stdc+set}" = set; then
1882 echo $ECHO_N "(cached) $ECHO_C" >&6
1884 cat >conftest.
$ac_ext <<_ACEOF
1885 #line 1885 "configure"
1886 #include "confdefs.h"
1893 if { (eval echo "$as_me:1893: \"$ac_cpp conftest.$ac_ext\"") >&5
1894 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1896 egrep -v '^ *\+' conftest.er1
>conftest.err
1898 cat conftest.err
>&5
1899 echo "$as_me:1899: \$? = $ac_status" >&5
1900 (exit $ac_status); } >/dev
/null
; then
1901 if test -s conftest.err
; then
1902 ac_cpp_err
=$ac_c_preproc_warn_flag
1909 if test -z "$ac_cpp_err"; then
1910 ac_cv_header_stdc
=yes
1912 echo "$as_me: failed program was:" >&5
1913 cat conftest.
$ac_ext >&5
1914 ac_cv_header_stdc
=no
1916 rm -f conftest.err conftest.
$ac_ext
1918 if test $ac_cv_header_stdc = yes; then
1919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1920 cat >conftest.
$ac_ext <<_ACEOF
1921 #line 1921 "configure"
1922 #include "confdefs.h"
1926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1927 egrep "memchr" >/dev
/null
2>&1; then
1930 ac_cv_header_stdc
=no
1936 if test $ac_cv_header_stdc = yes; then
1937 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1938 cat >conftest.
$ac_ext <<_ACEOF
1939 #line 1939 "configure"
1940 #include "confdefs.h"
1944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1945 egrep "free" >/dev
/null
2>&1; then
1948 ac_cv_header_stdc
=no
1954 if test $ac_cv_header_stdc = yes; then
1955 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1956 if test "$cross_compiling" = yes; then
1959 cat >conftest.
$ac_ext <<_ACEOF
1960 #line 1960 "configure"
1961 #include "confdefs.h"
1963 #if ((' ' & 0x0FF) == 0x020)
1964 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1965 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1967 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
1968 || ('j' <= (c) && (c) <= 'r') \
1969 || ('s' <= (c) && (c) <= 'z'))
1970 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1973 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1978 for (i = 0; i < 256; i++)
1979 if (XOR (islower (i), ISLOWER (i))
1980 || toupper (i) != TOUPPER (i))
1985 rm -f conftest
$ac_exeext
1986 if { (eval echo "$as_me:1986: \"$ac_link\"") >&5
1987 (eval $ac_link) 2>&5
1989 echo "$as_me:1989: \$? = $ac_status" >&5
1990 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
1991 { (eval echo "$as_me:1991: \"$ac_try\"") >&5
1994 echo "$as_me:1994: \$? = $ac_status" >&5
1995 (exit $ac_status); }; }; then
1998 echo "$as_me: program exited with status $ac_status" >&5
1999 echo "$as_me: failed program was:" >&5
2000 cat conftest.
$ac_ext >&5
2001 ac_cv_header_stdc
=no
2003 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2007 echo "$as_me:2007: result: $ac_cv_header_stdc" >&5
2008 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2009 if test $ac_cv_header_stdc = yes; then
2011 cat >>confdefs.h
<<\EOF
2012 #define STDC_HEADERS 1
2017 if test "$with_select" = "yes"; then
2018 echo "use of select() forced, skipping poll() checks..."
2020 cat >>confdefs.h
<<\EOF
2021 #define WITH_SELECT 1
2026 for ac_header
in sys
/poll.h
2028 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2029 echo "$as_me:2029: checking for $ac_header" >&5
2030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2032 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 cat >conftest.
$ac_ext <<_ACEOF
2035 #line 2035 "configure"
2036 #include "confdefs.h"
2037 #include <$ac_header>
2039 if { (eval echo "$as_me:2039: \"$ac_cpp conftest.$ac_ext\"") >&5
2040 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2042 egrep -v '^ *\+' conftest.er1
>conftest.err
2044 cat conftest.err
>&5
2045 echo "$as_me:2045: \$? = $ac_status" >&5
2046 (exit $ac_status); } >/dev
/null
; then
2047 if test -s conftest.err
; then
2048 ac_cpp_err
=$ac_c_preproc_warn_flag
2055 if test -z "$ac_cpp_err"; then
2056 eval "$as_ac_Header=yes"
2058 echo "$as_me: failed program was:" >&5
2059 cat conftest.
$ac_ext >&5
2060 eval "$as_ac_Header=no"
2062 rm -f conftest.err conftest.
$ac_ext
2064 echo "$as_me:2064: result: `eval echo '${'$as_ac_Header'}'`" >&5
2065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2067 cat >>confdefs.h
<<EOF
2068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2078 if test "$with_unreal" = "yes"; then
2079 echo "configuring for Unreal ircd"
2081 cat >>confdefs.h
<<\EOF
2082 #define WITH_UNREAL 1
2087 for ac_header
in fcntl.h sys
/time.h unistd.h
strings.h
2089 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2090 echo "$as_me:2090: checking for $ac_header" >&5
2091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 cat >conftest.
$ac_ext <<_ACEOF
2096 #line 2096 "configure"
2097 #include "confdefs.h"
2098 #include <$ac_header>
2100 if { (eval echo "$as_me:2100: \"$ac_cpp conftest.$ac_ext\"") >&5
2101 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2103 egrep -v '^ *\+' conftest.er1
>conftest.err
2105 cat conftest.err
>&5
2106 echo "$as_me:2106: \$? = $ac_status" >&5
2107 (exit $ac_status); } >/dev
/null
; then
2108 if test -s conftest.err
; then
2109 ac_cpp_err
=$ac_c_preproc_warn_flag
2116 if test -z "$ac_cpp_err"; then
2117 eval "$as_ac_Header=yes"
2119 echo "$as_me: failed program was:" >&5
2120 cat conftest.
$ac_ext >&5
2121 eval "$as_ac_Header=no"
2123 rm -f conftest.err conftest.
$ac_ext
2125 echo "$as_me:2125: result: `eval echo '${'$as_ac_Header'}'`" >&5
2126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2128 cat >>confdefs.h
<<EOF
2129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2135 echo "$as_me:2135: checking for $CC option to accept ANSI C" >&5
2136 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2137 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 ac_cv_prog_cc_stdc
=no
2142 cat >conftest.
$ac_ext <<_ACEOF
2143 #line 2143 "configure"
2144 #include "confdefs.h"
2147 #include <sys/types.h>
2148 #include <sys/stat.h>
2149 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2150 struct buf { int x; };
2151 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2152 static char *e (p, i)
2158 static char *f (char * (*g) (char **, int), char **p, ...)
2163 s = g (p, va_arg (v,int));
2167 int test (int i, double x);
2168 struct s1 {int (*f) (int a);};
2169 struct s2 {int (*f) (double a);};
2170 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2176 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2181 # Don't try gcc -ansi; that turns off useful extensions and
2182 # breaks some systems' header files.
2183 # AIX -qlanglvl=ansi
2184 # Ultrix and OSF/1 -std1
2185 # HP-UX 10.20 and later -Ae
2186 # HP-UX older versions -Aa -D_HPUX_SOURCE
2187 # SVR4 -Xc -D__EXTENSIONS__
2188 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2190 CC
="$ac_save_CC $ac_arg"
2191 rm -f conftest.
$ac_objext
2192 if { (eval echo "$as_me:2192: \"$ac_compile\"") >&5
2193 (eval $ac_compile) 2>&5
2195 echo "$as_me:2195: \$? = $ac_status" >&5
2196 (exit $ac_status); } &&
2197 { ac_try
='test -s conftest.$ac_objext'
2198 { (eval echo "$as_me:2198: \"$ac_try\"") >&5
2201 echo "$as_me:2201: \$? = $ac_status" >&5
2202 (exit $ac_status); }; }; then
2203 ac_cv_prog_cc_stdc
=$ac_arg
2206 echo "$as_me: failed program was:" >&5
2207 cat conftest.
$ac_ext >&5
2209 rm -f conftest.
$ac_objext
2211 rm -f conftest.
$ac_ext conftest.
$ac_objext
2216 case "x$ac_cv_prog_cc_stdc" in
2218 echo "$as_me:2218: result: none needed" >&5
2219 echo "${ECHO_T}none needed" >&6 ;;
2221 echo "$as_me:2221: result: $ac_cv_prog_cc_stdc" >&5
2222 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2223 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2226 echo "$as_me:2226: checking for an ANSI C-conforming const" >&5
2227 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2228 if test "${ac_cv_c_const+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2231 cat >conftest.
$ac_ext <<_ACEOF
2232 #line 2232 "configure"
2233 #include "confdefs.h"
2238 /* FIXME: Include the comments suggested by Paul. */
2240 /* Ultrix mips cc rejects this. */
2241 typedef int charset[2];
2243 /* SunOS 4.1.1 cc rejects this. */
2244 char const *const *ccp;
2246 /* NEC SVR4.0.2 mips cc rejects this. */
2247 struct point {int x, y;};
2248 static struct point const zero = {0,0};
2249 /* AIX XL C 1.02.0.0 rejects this.
2250 It does not let you subtract one const X* pointer from another in
2251 an arm of an if-expression whose if-part is not a constant
2253 const char *g = "string";
2254 ccp = &g + (g ? g-g : 0);
2255 /* HPUX 7.0 cc rejects these. */
2258 ccp = (char const *const *) p;
2259 { /* SCO 3.2v4 cc rejects this. */
2261 char const *s = 0 ? (char *) 0 : (char const *) 0;
2265 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2267 const int *foo = &x[0];
2270 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2271 typedef const int *iptr;
2275 { /* AIX XL C 1.02.0.0 rejects this saying
2276 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2277 struct s { int j; const int *ap[3]; };
2278 struct s *b; b->j = 5;
2280 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2289 rm -f conftest.
$ac_objext
2290 if { (eval echo "$as_me:2290: \"$ac_compile\"") >&5
2291 (eval $ac_compile) 2>&5
2293 echo "$as_me:2293: \$? = $ac_status" >&5
2294 (exit $ac_status); } &&
2295 { ac_try
='test -s conftest.$ac_objext'
2296 { (eval echo "$as_me:2296: \"$ac_try\"") >&5
2299 echo "$as_me:2299: \$? = $ac_status" >&5
2300 (exit $ac_status); }; }; then
2303 echo "$as_me: failed program was:" >&5
2304 cat conftest.
$ac_ext >&5
2307 rm -f conftest.
$ac_objext conftest.
$ac_ext
2309 echo "$as_me:2309: result: $ac_cv_c_const" >&5
2310 echo "${ECHO_T}$ac_cv_c_const" >&6
2311 if test $ac_cv_c_const = no
; then
2313 cat >>confdefs.h
<<\EOF
2319 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2321 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2322 inttypes.h stdint.h unistd.h
2324 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2325 echo "$as_me:2325: checking for $ac_header" >&5
2326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2330 cat >conftest.
$ac_ext <<_ACEOF
2331 #line 2331 "configure"
2332 #include "confdefs.h"
2333 $ac_includes_default
2334 #include <$ac_header>
2336 rm -f conftest.
$ac_objext
2337 if { (eval echo "$as_me:2337: \"$ac_compile\"") >&5
2338 (eval $ac_compile) 2>&5
2340 echo "$as_me:2340: \$? = $ac_status" >&5
2341 (exit $ac_status); } &&
2342 { ac_try
='test -s conftest.$ac_objext'
2343 { (eval echo "$as_me:2343: \"$ac_try\"") >&5
2346 echo "$as_me:2346: \$? = $ac_status" >&5
2347 (exit $ac_status); }; }; then
2348 eval "$as_ac_Header=yes"
2350 echo "$as_me: failed program was:" >&5
2351 cat conftest.
$ac_ext >&5
2352 eval "$as_ac_Header=no"
2354 rm -f conftest.
$ac_objext conftest.
$ac_ext
2356 echo "$as_me:2356: result: `eval echo '${'$as_ac_Header'}'`" >&5
2357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2358 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2359 cat >>confdefs.h
<<EOF
2360 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2366 echo "$as_me:2366: checking for size_t" >&5
2367 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
2368 if test "${ac_cv_type_size_t+set}" = set; then
2369 echo $ECHO_N "(cached) $ECHO_C" >&6
2371 cat >conftest.
$ac_ext <<_ACEOF
2372 #line 2372 "configure"
2373 #include "confdefs.h"
2374 $ac_includes_default
2380 if (sizeof (size_t))
2386 rm -f conftest.
$ac_objext
2387 if { (eval echo "$as_me:2387: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>&5
2390 echo "$as_me:2390: \$? = $ac_status" >&5
2391 (exit $ac_status); } &&
2392 { ac_try
='test -s conftest.$ac_objext'
2393 { (eval echo "$as_me:2393: \"$ac_try\"") >&5
2396 echo "$as_me:2396: \$? = $ac_status" >&5
2397 (exit $ac_status); }; }; then
2398 ac_cv_type_size_t
=yes
2400 echo "$as_me: failed program was:" >&5
2401 cat conftest.
$ac_ext >&5
2402 ac_cv_type_size_t
=no
2404 rm -f conftest.
$ac_objext conftest.
$ac_ext
2406 echo "$as_me:2406: result: $ac_cv_type_size_t" >&5
2407 echo "${ECHO_T}$ac_cv_type_size_t" >&6
2408 if test $ac_cv_type_size_t = yes; then
2412 cat >>confdefs.h
<<EOF
2413 #define size_t unsigned
2418 echo "$as_me:2418: checking whether time.h and sys/time.h may both be included" >&5
2419 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
2420 if test "${ac_cv_header_time+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 cat >conftest.
$ac_ext <<_ACEOF
2424 #line 2424 "configure"
2425 #include "confdefs.h"
2426 #include <sys/types.h>
2427 #include <sys/time.h>
2433 if ((struct tm *) 0)
2439 rm -f conftest.
$ac_objext
2440 if { (eval echo "$as_me:2440: \"$ac_compile\"") >&5
2441 (eval $ac_compile) 2>&5
2443 echo "$as_me:2443: \$? = $ac_status" >&5
2444 (exit $ac_status); } &&
2445 { ac_try
='test -s conftest.$ac_objext'
2446 { (eval echo "$as_me:2446: \"$ac_try\"") >&5
2449 echo "$as_me:2449: \$? = $ac_status" >&5
2450 (exit $ac_status); }; }; then
2451 ac_cv_header_time
=yes
2453 echo "$as_me: failed program was:" >&5
2454 cat conftest.
$ac_ext >&5
2455 ac_cv_header_time
=no
2457 rm -f conftest.
$ac_objext conftest.
$ac_ext
2459 echo "$as_me:2459: result: $ac_cv_header_time" >&5
2460 echo "${ECHO_T}$ac_cv_header_time" >&6
2461 if test $ac_cv_header_time = yes; then
2463 cat >>confdefs.h
<<\EOF
2464 #define TIME_WITH_SYS_TIME 1
2469 echo "$as_me:2469: checking whether struct tm is in sys/time.h or time.h" >&5
2470 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
2471 if test "${ac_cv_struct_tm+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2474 cat >conftest.
$ac_ext <<_ACEOF
2475 #line 2475 "configure"
2476 #include "confdefs.h"
2477 #include <sys/types.h>
2483 struct tm *tp; tp->tm_sec;
2488 rm -f conftest.
$ac_objext
2489 if { (eval echo "$as_me:2489: \"$ac_compile\"") >&5
2490 (eval $ac_compile) 2>&5
2492 echo "$as_me:2492: \$? = $ac_status" >&5
2493 (exit $ac_status); } &&
2494 { ac_try
='test -s conftest.$ac_objext'
2495 { (eval echo "$as_me:2495: \"$ac_try\"") >&5
2498 echo "$as_me:2498: \$? = $ac_status" >&5
2499 (exit $ac_status); }; }; then
2500 ac_cv_struct_tm
=time.h
2502 echo "$as_me: failed program was:" >&5
2503 cat conftest.
$ac_ext >&5
2504 ac_cv_struct_tm
=sys
/time.h
2506 rm -f conftest.
$ac_objext conftest.
$ac_ext
2508 echo "$as_me:2508: result: $ac_cv_struct_tm" >&5
2509 echo "${ECHO_T}$ac_cv_struct_tm" >&6
2510 if test $ac_cv_struct_tm = sys
/time.h
; then
2512 cat >>confdefs.h
<<\EOF
2513 #define TM_IN_SYS_TIME 1
2518 echo "$as_me:2518: checking return type of signal handlers" >&5
2519 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
2520 if test "${ac_cv_type_signal+set}" = set; then
2521 echo $ECHO_N "(cached) $ECHO_C" >&6
2523 cat >conftest.
$ac_ext <<_ACEOF
2524 #line 2524 "configure"
2525 #include "confdefs.h"
2526 #include <sys/types.h>
2532 extern "C" void (*signal (int, void (*)(int)))(int);
2534 void (*signal ()) ();
2545 rm -f conftest.
$ac_objext
2546 if { (eval echo "$as_me:2546: \"$ac_compile\"") >&5
2547 (eval $ac_compile) 2>&5
2549 echo "$as_me:2549: \$? = $ac_status" >&5
2550 (exit $ac_status); } &&
2551 { ac_try
='test -s conftest.$ac_objext'
2552 { (eval echo "$as_me:2552: \"$ac_try\"") >&5
2555 echo "$as_me:2555: \$? = $ac_status" >&5
2556 (exit $ac_status); }; }; then
2557 ac_cv_type_signal
=void
2559 echo "$as_me: failed program was:" >&5
2560 cat conftest.
$ac_ext >&5
2561 ac_cv_type_signal
=int
2563 rm -f conftest.
$ac_objext conftest.
$ac_ext
2565 echo "$as_me:2565: result: $ac_cv_type_signal" >&5
2566 echo "${ECHO_T}$ac_cv_type_signal" >&6
2568 cat >>confdefs.h
<<EOF
2569 #define RETSIGTYPE $ac_cv_type_signal
2572 for ac_func
in strftime
2574 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2575 echo "$as_me:2575: checking for $ac_func" >&5
2576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2577 if eval "test \"\${$as_ac_var+set}\" = set"; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2580 cat >conftest.
$ac_ext <<_ACEOF
2581 #line 2581 "configure"
2582 #include "confdefs.h"
2583 /* System header to define __stub macros and hopefully few prototypes,
2584 which can conflict with char $ac_func (); below. */
2586 /* Override any gcc2 internal prototype to avoid an error. */
2590 /* We use char because int might match the return type of a gcc2
2591 builtin and then its argument prototype would still apply. */
2598 /* The GNU C library defines this for functions which it implements
2599 to always fail with ENOSYS. Some functions are actually named
2600 something starting with __ and the normal name is an alias. */
2601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2611 rm -f conftest.
$ac_objext conftest
$ac_exeext
2612 if { (eval echo "$as_me:2612: \"$ac_link\"") >&5
2613 (eval $ac_link) 2>&5
2615 echo "$as_me:2615: \$? = $ac_status" >&5
2616 (exit $ac_status); } &&
2617 { ac_try
='test -s conftest$ac_exeext'
2618 { (eval echo "$as_me:2618: \"$ac_try\"") >&5
2621 echo "$as_me:2621: \$? = $ac_status" >&5
2622 (exit $ac_status); }; }; then
2623 eval "$as_ac_var=yes"
2625 echo "$as_me: failed program was:" >&5
2626 cat conftest.
$ac_ext >&5
2627 eval "$as_ac_var=no"
2629 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2631 echo "$as_me:2631: result: `eval echo '${'$as_ac_var'}'`" >&5
2632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2633 if test `eval echo '${'$as_ac_var'}'` = yes; then
2634 cat >>confdefs.h
<<EOF
2635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2639 # strftime is in -lintl on SCO UNIX.
2640 echo "$as_me:2640: checking for strftime in -lintl" >&5
2641 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
2642 if test "${ac_cv_lib_intl_strftime+set}" = set; then
2643 echo $ECHO_N "(cached) $ECHO_C" >&6
2645 ac_check_lib_save_LIBS
=$LIBS
2647 cat >conftest.
$ac_ext <<_ACEOF
2648 #line 2648 "configure"
2649 #include "confdefs.h"
2651 /* Override any gcc2 internal prototype to avoid an error. */
2655 /* We use char because int might match the return type of a gcc2
2656 builtin and then its argument prototype would still apply. */
2666 rm -f conftest.
$ac_objext conftest
$ac_exeext
2667 if { (eval echo "$as_me:2667: \"$ac_link\"") >&5
2668 (eval $ac_link) 2>&5
2670 echo "$as_me:2670: \$? = $ac_status" >&5
2671 (exit $ac_status); } &&
2672 { ac_try
='test -s conftest$ac_exeext'
2673 { (eval echo "$as_me:2673: \"$ac_try\"") >&5
2676 echo "$as_me:2676: \$? = $ac_status" >&5
2677 (exit $ac_status); }; }; then
2678 ac_cv_lib_intl_strftime
=yes
2680 echo "$as_me: failed program was:" >&5
2681 cat conftest.
$ac_ext >&5
2682 ac_cv_lib_intl_strftime
=no
2684 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2685 LIBS
=$ac_check_lib_save_LIBS
2687 echo "$as_me:2687: result: $ac_cv_lib_intl_strftime" >&5
2688 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
2689 if test $ac_cv_lib_intl_strftime = yes; then
2690 cat >>confdefs.h
<<\EOF
2691 #define HAVE_STRFTIME 1
2700 if test "$with_select" = "yes" || test "$have_sys_poll_h" = "no"; then
2702 for ac_func
in select
2704 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2705 echo "$as_me:2705: checking for $ac_func" >&5
2706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2707 if eval "test \"\${$as_ac_var+set}\" = set"; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 cat >conftest.
$ac_ext <<_ACEOF
2711 #line 2711 "configure"
2712 #include "confdefs.h"
2713 /* System header to define __stub macros and hopefully few prototypes,
2714 which can conflict with char $ac_func (); below. */
2716 /* Override any gcc2 internal prototype to avoid an error. */
2720 /* We use char because int might match the return type of a gcc2
2721 builtin and then its argument prototype would still apply. */
2728 /* The GNU C library defines this for functions which it implements
2729 to always fail with ENOSYS. Some functions are actually named
2730 something starting with __ and the normal name is an alias. */
2731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2741 rm -f conftest.
$ac_objext conftest
$ac_exeext
2742 if { (eval echo "$as_me:2742: \"$ac_link\"") >&5
2743 (eval $ac_link) 2>&5
2745 echo "$as_me:2745: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try
='test -s conftest$ac_exeext'
2748 { (eval echo "$as_me:2748: \"$ac_try\"") >&5
2751 echo "$as_me:2751: \$? = $ac_status" >&5
2752 (exit $ac_status); }; }; then
2753 eval "$as_ac_var=yes"
2755 echo "$as_me: failed program was:" >&5
2756 cat conftest.
$ac_ext >&5
2757 eval "$as_ac_var=no"
2759 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2761 echo "$as_me:2761: result: `eval echo '${'$as_ac_var'}'`" >&5
2762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2763 if test `eval echo '${'$as_ac_var'}'` = yes; then
2764 cat >>confdefs.h
<<EOF
2765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2773 if test "$have_select" = "no"; then
2774 { { echo "$as_me:2774: error: No select() implementation found" >&5
2775 echo "$as_me: error: No select() implementation found" >&2;}
2776 { (exit 1); exit 1; }; }
2780 for ac_func
in inet_aton socket strdup strstr
2782 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2783 echo "$as_me:2783: checking for $ac_func" >&5
2784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2785 if eval "test \"\${$as_ac_var+set}\" = set"; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 cat >conftest.
$ac_ext <<_ACEOF
2789 #line 2789 "configure"
2790 #include "confdefs.h"
2791 /* System header to define __stub macros and hopefully few prototypes,
2792 which can conflict with char $ac_func (); below. */
2794 /* Override any gcc2 internal prototype to avoid an error. */
2798 /* We use char because int might match the return type of a gcc2
2799 builtin and then its argument prototype would still apply. */
2806 /* The GNU C library defines this for functions which it implements
2807 to always fail with ENOSYS. Some functions are actually named
2808 something starting with __ and the normal name is an alias. */
2809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2819 rm -f conftest.
$ac_objext conftest
$ac_exeext
2820 if { (eval echo "$as_me:2820: \"$ac_link\"") >&5
2821 (eval $ac_link) 2>&5
2823 echo "$as_me:2823: \$? = $ac_status" >&5
2824 (exit $ac_status); } &&
2825 { ac_try
='test -s conftest$ac_exeext'
2826 { (eval echo "$as_me:2826: \"$ac_try\"") >&5
2829 echo "$as_me:2829: \$? = $ac_status" >&5
2830 (exit $ac_status); }; }; then
2831 eval "$as_ac_var=yes"
2833 echo "$as_me: failed program was:" >&5
2834 cat conftest.
$ac_ext >&5
2835 eval "$as_ac_var=no"
2837 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2839 echo "$as_me:2839: result: `eval echo '${'$as_ac_var'}'`" >&5
2840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2841 if test `eval echo '${'$as_ac_var'}'` = yes; then
2842 cat >>confdefs.h
<<EOF
2843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2849 echo "$as_me:2849: checking whether byte ordering is bigendian" >&5
2850 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2851 if test "${ac_cv_c_bigendian+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 ac_cv_c_bigendian
=unknown
2855 # See if sys/param.h defines the BYTE_ORDER macro.
2856 cat >conftest.
$ac_ext <<_ACEOF
2857 #line 2857 "configure"
2858 #include "confdefs.h"
2859 #include <sys/types.h>
2860 #include <sys/param.h>
2865 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2873 rm -f conftest.
$ac_objext
2874 if { (eval echo "$as_me:2874: \"$ac_compile\"") >&5
2875 (eval $ac_compile) 2>&5
2877 echo "$as_me:2877: \$? = $ac_status" >&5
2878 (exit $ac_status); } &&
2879 { ac_try
='test -s conftest.$ac_objext'
2880 { (eval echo "$as_me:2880: \"$ac_try\"") >&5
2883 echo "$as_me:2883: \$? = $ac_status" >&5
2884 (exit $ac_status); }; }; then
2885 # It does; now see whether it defined to BIG_ENDIAN or not.
2886 cat >conftest.
$ac_ext <<_ACEOF
2887 #line 2887 "configure"
2888 #include "confdefs.h"
2889 #include <sys/types.h>
2890 #include <sys/param.h>
2895 #if BYTE_ORDER != BIG_ENDIAN
2903 rm -f conftest.
$ac_objext
2904 if { (eval echo "$as_me:2904: \"$ac_compile\"") >&5
2905 (eval $ac_compile) 2>&5
2907 echo "$as_me:2907: \$? = $ac_status" >&5
2908 (exit $ac_status); } &&
2909 { ac_try
='test -s conftest.$ac_objext'
2910 { (eval echo "$as_me:2910: \"$ac_try\"") >&5
2913 echo "$as_me:2913: \$? = $ac_status" >&5
2914 (exit $ac_status); }; }; then
2915 ac_cv_c_bigendian
=yes
2917 echo "$as_me: failed program was:" >&5
2918 cat conftest.
$ac_ext >&5
2919 ac_cv_c_bigendian
=no
2921 rm -f conftest.
$ac_objext conftest.
$ac_ext
2923 echo "$as_me: failed program was:" >&5
2924 cat conftest.
$ac_ext >&5
2926 rm -f conftest.
$ac_objext conftest.
$ac_ext
2927 if test $ac_cv_c_bigendian = unknown
; then
2928 if test "$cross_compiling" = yes; then
2929 { { echo "$as_me:2929: error: cannot run test program while cross compiling" >&5
2930 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
2931 { (exit 1); exit 1; }; }
2933 cat >conftest.
$ac_ext <<_ACEOF
2934 #line 2934 "configure"
2935 #include "confdefs.h"
2939 /* Are we little or big endian? From Harbison&Steele. */
2943 char c[sizeof (long)];
2946 exit (u.c[sizeof (long) - 1] == 1);
2949 rm -f conftest
$ac_exeext
2950 if { (eval echo "$as_me:2950: \"$ac_link\"") >&5
2951 (eval $ac_link) 2>&5
2953 echo "$as_me:2953: \$? = $ac_status" >&5
2954 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2955 { (eval echo "$as_me:2955: \"$ac_try\"") >&5
2958 echo "$as_me:2958: \$? = $ac_status" >&5
2959 (exit $ac_status); }; }; then
2960 ac_cv_c_bigendian
=no
2962 echo "$as_me: program exited with status $ac_status" >&5
2963 echo "$as_me: failed program was:" >&5
2964 cat conftest.
$ac_ext >&5
2965 ac_cv_c_bigendian
=yes
2967 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2971 echo "$as_me:2971: result: $ac_cv_c_bigendian" >&5
2972 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2973 if test $ac_cv_c_bigendian = yes; then
2975 cat >>confdefs.h
<<\EOF
2976 #define WORDS_BIGENDIAN 1
2981 echo "$as_me:2981: checking for socket in -lsocket" >&5
2982 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
2983 if test "${ac_cv_lib_socket_socket+set}" = set; then
2984 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 ac_check_lib_save_LIBS
=$LIBS
2987 LIBS
="-lsocket $LIBS"
2988 cat >conftest.
$ac_ext <<_ACEOF
2989 #line 2989 "configure"
2990 #include "confdefs.h"
2992 /* Override any gcc2 internal prototype to avoid an error. */
2996 /* We use char because int might match the return type of a gcc2
2997 builtin and then its argument prototype would still apply. */
3007 rm -f conftest.
$ac_objext conftest
$ac_exeext
3008 if { (eval echo "$as_me:3008: \"$ac_link\"") >&5
3009 (eval $ac_link) 2>&5
3011 echo "$as_me:3011: \$? = $ac_status" >&5
3012 (exit $ac_status); } &&
3013 { ac_try
='test -s conftest$ac_exeext'
3014 { (eval echo "$as_me:3014: \"$ac_try\"") >&5
3017 echo "$as_me:3017: \$? = $ac_status" >&5
3018 (exit $ac_status); }; }; then
3019 ac_cv_lib_socket_socket
=yes
3021 echo "$as_me: failed program was:" >&5
3022 cat conftest.
$ac_ext >&5
3023 ac_cv_lib_socket_socket
=no
3025 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3026 LIBS
=$ac_check_lib_save_LIBS
3028 echo "$as_me:3028: result: $ac_cv_lib_socket_socket" >&5
3029 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3030 if test $ac_cv_lib_socket_socket = yes; then
3035 echo "$as_me:3035: checking for gethostbyname in -lnsl" >&5
3036 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3037 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 ac_check_lib_save_LIBS
=$LIBS
3042 cat >conftest.
$ac_ext <<_ACEOF
3043 #line 3043 "configure"
3044 #include "confdefs.h"
3046 /* Override any gcc2 internal prototype to avoid an error. */
3050 /* We use char because int might match the return type of a gcc2
3051 builtin and then its argument prototype would still apply. */
3052 char gethostbyname ();
3061 rm -f conftest.
$ac_objext conftest
$ac_exeext
3062 if { (eval echo "$as_me:3062: \"$ac_link\"") >&5
3063 (eval $ac_link) 2>&5
3065 echo "$as_me:3065: \$? = $ac_status" >&5
3066 (exit $ac_status); } &&
3067 { ac_try
='test -s conftest$ac_exeext'
3068 { (eval echo "$as_me:3068: \"$ac_try\"") >&5
3071 echo "$as_me:3071: \$? = $ac_status" >&5
3072 (exit $ac_status); }; }; then
3073 ac_cv_lib_nsl_gethostbyname
=yes
3075 echo "$as_me: failed program was:" >&5
3076 cat conftest.
$ac_ext >&5
3077 ac_cv_lib_nsl_gethostbyname
=no
3079 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3080 LIBS
=$ac_check_lib_save_LIBS
3082 echo "$as_me:3082: result: $ac_cv_lib_nsl_gethostbyname" >&5
3083 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3084 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3089 echo $ECHO_N "checking for POSIX-compliant goat $ECHO_C"
3090 for bleh
in 1 2 3; do
3094 echo "$as_me:3094: result: http://www.blitzed.org/goat_winter_2001.phtml" >&5
3095 echo "${ECHO_T} http://www.blitzed.org/goat_winter_2001.phtml" >&6
3097 ac_config_files
="$ac_config_files Makefile"
3098 cat >confcache
<<\_ACEOF
3099 # This file is a shell script that caches the results of configure
3100 # tests run on this system so they can be shared between configure
3101 # scripts and configure runs, see configure's option --config-cache.
3102 # It is not useful on other systems. If it contains results you don't
3103 # want to keep, you may remove or edit it.
3105 # config.status only pays attention to the cache file if you give it
3106 # the --recheck option to rerun configure.
3108 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3109 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3114 # The following way of writing the cache mishandles newlines in values,
3115 # but we know of no workaround that is simple, portable, and efficient.
3116 # So, don't put newlines in cache variables' values.
3117 # Ultrix sh set writes to stderr and can't be redirected directly,
3118 # and sets the high bit in the cache file unless we assign to the vars.
3121 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3123 # `set' does not quote correctly, so add quotes (double-quote
3124 # substitution turns \\\\ into \\, and sed turns \\ into \).
3127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3130 # `set' quotes correctly as required by POSIX, so do not add quotes.
3132 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3139 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3141 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3143 if cmp -s $cache_file confcache
; then :; else
3144 if test -w $cache_file; then
3145 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3146 cat confcache
>$cache_file
3148 echo "not updating unwritable cache $cache_file"
3153 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3154 # Let make expand exec_prefix.
3155 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3157 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3158 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3159 # trailing colons and then remove the whole line if VPATH becomes empty
3160 # (actually we leave an empty line to preserve line numbers).
3161 if test "x$srcdir" = x.
; then
3162 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3163 s/:*\$(srcdir):*/:/;
3164 s/:*\${srcdir}:*/:/;
3166 s/^\([^=]*=[ ]*\):*/\1/;
3172 DEFS
=-DHAVE_CONFIG_H
3174 : ${CONFIG_STATUS=./config.status}
3175 ac_clean_files_save
=$ac_clean_files
3176 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3177 { echo "$as_me:3177: creating $CONFIG_STATUS" >&5
3178 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3179 cat >$CONFIG_STATUS <<_ACEOF
3181 # Generated automatically by configure.
3182 # Run this file to recreate the current configuration.
3183 # Compiler output produced by configure, useful for debugging
3184 # configure, is in config.log if it exists.
3187 SHELL=\${CONFIG_SHELL-$SHELL}
3188 ac_cs_invocation="\$0 \$@"
3192 cat >>$CONFIG_STATUS <<\_ACEOF
3193 # Be Bourne compatible
3194 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3197 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
3201 # Name of the executable.
3202 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
3204 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3210 rm -f conf$$ conf$$.exe conf$$.
file
3212 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3213 # We could just check for DJGPP; but this test a) works b) is more generic
3214 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3215 if test -f conf$$.exe
; then
3216 # Don't use ln at all; we don't have any links
3221 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3226 rm -f conf$$ conf$$.exe conf$$.
file
3228 as_executable_p
="test -f"
3230 # Support unset when possible.
3231 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
3238 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
3239 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
3240 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
3241 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
3242 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
3243 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
3244 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
3245 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
3248 # We need space, tab and new line, in precisely that order.
3254 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
3260 # Files that config.status was made for.
3261 if test -n "$ac_config_files"; then
3262 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3265 if test -n "$ac_config_headers"; then
3266 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3269 if test -n "$ac_config_links"; then
3270 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3273 if test -n "$ac_config_commands"; then
3274 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3277 cat >>$CONFIG_STATUS <<\EOF
3280 \`$as_me' instantiates files from templates according to the
3281 current configuration.
3283 Usage: $0 [OPTIONS] [FILE]...
3285 -h, --help print this help, then exit
3286 -V, --version print version number, then exit
3287 -d, --debug don't remove temporary files
3288 --recheck update $as_me by reconfiguring in the same conditions
3289 --file=FILE[:TEMPLATE]
3290 instantiate the configuration file FILE
3291 --header=FILE[:TEMPLATE]
3292 instantiate the configuration header FILE
3294 Configuration files:
3297 Configuration headers:
3300 Report bugs to <bug-autoconf@gnu.org>."
3303 cat >>$CONFIG_STATUS <<EOF
3306 configured by $0, generated by GNU Autoconf 2.52,
3307 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3309 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3310 Free Software Foundation, Inc.
3311 This config.status script is free software; the Free Software Foundation
3312 gives unlimited permission to copy, distribute and modify it."
3316 cat >>$CONFIG_STATUS <<\EOF
3317 # If no file are specified by the user, then we need to provide default
3318 # value. By we need to know if files were specified by the user.
3324 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3325 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3327 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
3331 *) # This is not an option, so the user has probably given explicit
3333 ac_need_defaults
=false
;;
3337 # Handling of the options.
3339 cat >>$CONFIG_STATUS <<EOF
3340 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3341 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3342 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3344 cat >>$CONFIG_STATUS <<\EOF
3345 --version | --vers* | -V )
3346 echo "$ac_cs_version"; exit 0 ;;
3348 # Conflict between --help and --header
3349 { { echo "$as_me:3349: error: ambiguous option: $1
3350 Try \`$0 --help' for more information." >&5
3351 echo "$as_me: error: ambiguous option: $1
3352 Try \`$0 --help' for more information." >&2;}
3353 { (exit 1); exit 1; }; };;
3354 --help | --hel | -h )
3355 echo "$ac_cs_usage"; exit 0 ;;
3356 --debug | --d* | -d )
3358 --file | --fil | --fi | --f )
3360 CONFIG_FILES
="$CONFIG_FILES $1"
3361 ac_need_defaults
=false
;;
3362 --header | --heade | --head | --hea )
3364 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
3365 ac_need_defaults
=false
;;
3368 -*) { { echo "$as_me:3368: error: unrecognized option: $1
3369 Try \`$0 --help' for more information." >&5
3370 echo "$as_me: error: unrecognized option: $1
3371 Try \`$0 --help' for more information." >&2;}
3372 { (exit 1); exit 1; }; } ;;
3374 *) ac_config_targets
="$ac_config_targets $1" ;;
3383 ## ----------------------- ##
3384 ## Running config.status. ##
3385 ## ----------------------- ##
3387 This file was extended by $as_me 2.52, executed with
3388 CONFIG_FILES = $CONFIG_FILES
3389 CONFIG_HEADERS = $CONFIG_HEADERS
3390 CONFIG_LINKS = $CONFIG_LINKS
3391 CONFIG_COMMANDS = $CONFIG_COMMANDS
3393 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3398 cat >>$CONFIG_STATUS <<\EOF
3399 for ac_config_target
in $ac_config_targets
3401 case "$ac_config_target" in
3402 # Handling of arguments.
3403 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3404 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
3405 *) { { echo "$as_me:3405: error: invalid argument: $ac_config_target" >&5
3406 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3407 { (exit 1); exit 1; }; };;
3411 # If the user did not use the arguments to specify the items to instantiate,
3412 # then the envvar interface is used. Set only those that are not.
3413 # We use the long form for the default assignment because of an extremely
3414 # bizarre bug on SunOS 4.1.3.
3415 if $ac_need_defaults; then
3416 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3417 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
3420 # Create a temporary directory, and hook for its removal unless debugging.
3423 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3424 trap '{ (exit 1); exit 1; }' 1 2 13 15
3427 # Create a (secure) tmp directory for tmp files.
3430 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3431 test -n "$tmp" && test -d "$tmp"
3434 tmp
=$TMPDIR/cs$$
-$RANDOM
3435 (umask 077 && mkdir $tmp)
3438 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3439 { (exit 1); exit 1; }
3444 cat >>$CONFIG_STATUS <<EOF
3447 # CONFIG_FILES section.
3450 # No need to generate the scripts if there are no CONFIG_FILES.
3451 # This happens for instance when ./config.status config.h
3452 if test -n "\$CONFIG_FILES"; then
3453 # Protect against being on the right side of a sed subst in config.status.
3454 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3455 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3456 s,@SHELL@,$SHELL,;t t
3457 s,@exec_prefix@,$exec_prefix,;t t
3458 s,@prefix@,$prefix,;t t
3459 s,@program_transform_name@,$program_transform_name,;t t
3460 s,@bindir@,$bindir,;t t
3461 s,@sbindir@,$sbindir,;t t
3462 s,@libexecdir@,$libexecdir,;t t
3463 s,@datadir@,$datadir,;t t
3464 s,@sysconfdir@,$sysconfdir,;t t
3465 s,@sharedstatedir@,$sharedstatedir,;t t
3466 s,@localstatedir@,$localstatedir,;t t
3467 s,@libdir@,$libdir,;t t
3468 s,@includedir@,$includedir,;t t
3469 s,@oldincludedir@,$oldincludedir,;t t
3470 s,@infodir@,$infodir,;t t
3471 s,@mandir@,$mandir,;t t
3472 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3473 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3474 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3475 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3476 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3477 s,@build_alias@,$build_alias,;t t
3478 s,@host_alias@,$host_alias,;t t
3479 s,@target_alias@,$target_alias,;t t
3480 s,@ECHO_C@,$ECHO_C,;t t
3481 s,@ECHO_N@,$ECHO_N,;t t
3482 s,@ECHO_T@,$ECHO_T,;t t
3483 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3487 s,@CFLAGS@,$CFLAGS,;t t
3488 s,@LDFLAGS@,$LDFLAGS,;t t
3489 s,@CPPFLAGS@,$CPPFLAGS,;t t
3490 s,@ac_ct_CC@,$ac_ct_CC,;t t
3491 s,@EXEEXT@,$EXEEXT,;t t
3492 s,@OBJEXT@,$OBJEXT,;t t
3494 s,@LSOCKET@,$LSOCKET,;t t
3500 cat >>$CONFIG_STATUS <<\EOF
3501 # Split the substitutions into bite-sized pieces for seds with
3502 # small command number limits, like on Digital OSF/1 and HP-UX.
3504 ac_sed_frag
=1 # Number of current file.
3505 ac_beg
=1 # First line for current file.
3506 ac_end
=$ac_max_sed_lines # Line after last line for current file.
3509 while $ac_more_lines; do
3510 if test $ac_beg -gt 1; then
3511 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3513 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3515 if test ! -s $tmp/subs.frag
; then
3518 # The purpose of the label and of the branching condition is to
3519 # speed up the sed processing (if there are no `@' at all, there
3520 # is no need to browse any of the substitutions).
3521 # These are the two extra sed commands mentioned above.
3523 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
3524 if test -z "$ac_sed_cmds"; then
3525 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
3527 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3529 ac_sed_frag
=`expr $ac_sed_frag + 1`
3531 ac_end
=`expr $ac_end + $ac_max_sed_lines`
3534 if test -z "$ac_sed_cmds"; then
3537 fi # test -n "$CONFIG_FILES"
3540 cat >>$CONFIG_STATUS <<\EOF
3541 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
3542 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3544 - | *:- | *:-:* ) # input from stdin
3546 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3547 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3548 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3549 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3550 * ) ac_file_in
=$ac_file.
in ;;
3553 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3554 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3555 X"$ac_file" : 'X\(//\)[^/]' \| \
3556 X"$ac_file" : 'X\(//\)$' \| \
3557 X"$ac_file" : 'X\(/\)' \| \
3558 . : '\(.\)' 2>/dev/null ||
3560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3561 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3562 /^X\(\/\/\)$/{ s//\1/; q; }
3563 /^X\(\/\).*/{ s//\1/; q; }
3565 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
3567 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
3571 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3572 case $as_mkdir_dir in
3573 # Skip DOS drivespec
3574 ?
:) as_incr_dir
=$as_mkdir_dir ;;
3576 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
3577 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3582 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
3583 # A "../" for each directory in $ac_dir_suffix.
3584 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3586 ac_dir_suffix
= ac_dots
=
3591 if test -z "$ac_dots"; then
3594 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
3597 ac_srcdir
=$srcdir$ac_dir_suffix;
3598 ac_top_srcdir
=$srcdir ;;
3600 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
3601 ac_top_srcdir
=$ac_dots$srcdir ;;
3604 if test x
"$ac_file" != x
-; then
3605 { echo "$as_me:3605: creating $ac_file" >&5
3606 echo "$as_me: creating $ac_file" >&6;}
3609 # Let's still pretend it is `configure' which instantiates (i.e., don't
3610 # use $as_me), people would be surprised to read:
3611 # /* config.h. Generated automatically by config.status. */
3612 configure_input
="Generated automatically from `echo $ac_file_in |
3613 sed 's,.*/,,'` by configure."
3615 # First look for the input files in the build tree, otherwise in the
3617 ac_file_inputs
=`IFS=:
3618 for f in $ac_file_in; do
3620 -) echo $tmp/stdin ;;
3622 # Absolute (can't be DOS-style, as IFS=:)
3623 test -f "$f" || { { echo "$as_me:3623: error: cannot find input file: $f" >&5
3624 echo "$as_me: error: cannot find input file: $f" >&2;}
3625 { (exit 1); exit 1; }; }
3628 if test -f "$f"; then
3631 elif test -f "$srcdir/$f"; then
3636 { { echo "$as_me:3636: error: cannot find input file: $f" >&5
3637 echo "$as_me: error: cannot find input file: $f" >&2;}
3638 { (exit 1); exit 1; }; }
3641 done` || { (exit 1); exit 1; }
3643 cat >>$CONFIG_STATUS <<EOF
3647 cat >>$CONFIG_STATUS <<\EOF
3649 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
3650 s
,@configure_input@
,$configure_input,;t t
3651 s
,@srcdir@
,$ac_srcdir,;t t
3652 s
,@top_srcdir@
,$ac_top_srcdir,;t t
3653 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3655 if test x"$ac_file" != x-; then
3656 mv $tmp/out $ac_file
3664 cat >>$CONFIG_STATUS <<\EOF
3667 # CONFIG_HEADER section.
3670 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
3671 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3673 # ac_d sets the value in "#define NAME VALUE" lines.
3674 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3675 ac_dB
='[ ].*$,\1#\2'
3678 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3679 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3680 ac_uB
='$,\1#\2define\3'
3684 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
3685 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3687 - | *:- | *:-:* ) # input from stdin
3689 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3690 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3691 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3692 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3693 * ) ac_file_in
=$ac_file.
in ;;
3696 test x
"$ac_file" != x
- && { echo "$as_me:3696: creating $ac_file" >&5
3697 echo "$as_me: creating $ac_file" >&6;}
3699 # First look for the input files in the build tree, otherwise in the
3701 ac_file_inputs
=`IFS=:
3702 for f in $ac_file_in; do
3704 -) echo $tmp/stdin ;;
3706 # Absolute (can't be DOS-style, as IFS=:)
3707 test -f "$f" || { { echo "$as_me:3707: error: cannot find input file: $f" >&5
3708 echo "$as_me: error: cannot find input file: $f" >&2;}
3709 { (exit 1); exit 1; }; }
3712 if test -f "$f"; then
3715 elif test -f "$srcdir/$f"; then
3720 { { echo "$as_me:3720: error: cannot find input file: $f" >&5
3721 echo "$as_me: error: cannot find input file: $f" >&2;}
3722 { (exit 1); exit 1; }; }
3725 done` || { (exit 1); exit 1; }
3726 # Remove the trailing spaces.
3727 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3731 # Transform confdefs.h into two sed scripts, `conftest.defines' and
3732 # `conftest.undefs', that substitutes the proper values into
3733 # config.h.in to produce config.h. The first handles `#define'
3734 # templates, and the second `#undef' templates.
3735 # And first: Protect against being on the right side of a sed subst in
3736 # config.status. Protect against being in an unquoted here document
3738 rm -f conftest.defines conftest.undefs
3739 # Using a here document instead of a string reduces the quoting nightmare.
3740 # Putting comments in sed scripts is not portable.
3742 # `end' is used to avoid that the second main sed command (meant for
3743 # 0-ary CPP macros) applies to n-ary macro definitions.
3744 # See the Autoconf documentation for `clear'.
3745 cat >confdef2sed.
sed <<\EOF
3750 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
3752 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3755 # If some macros were called several times there might be several times
3756 # the same #defines, which is useless. Nevertheless, we may not want to
3757 # sort them, since we want the *last* AC-DEFINE to be honored.
3758 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3759 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3760 rm -f confdef2sed.sed
3762 # This sed command replaces #undef with comments. This is necessary, for
3763 # example, in the case of _POSIX_SOURCE, which is predefined and required
3764 # on some systems where configure will not decide to define it.
3765 cat >>conftest.undefs <<\EOF
3766 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3769 # Break up conftest.defines because some shells have a limit on the size
3770 # of here documents, and old seds have small limits too (100 cmds).
3771 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3772 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3773 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3774 echo ' :' >>$CONFIG_STATUS
3776 while grep . conftest.defines >/dev/null
3778 # Write a limited-size here document to $tmp/defines.sed.
3779 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3780 # Speed up: don't consider the non `#define' lines.
3781 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3782 # Work around the forget-to-reset-the-flag bug.
3783 echo 't clr' >>$CONFIG_STATUS
3784 echo ': clr' >>$CONFIG_STATUS
3785 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
3787 sed -f $tmp/defines.sed $tmp/in >$tmp/out
3791 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
3792 rm -f conftest.defines
3793 mv conftest.
tail conftest.defines
3795 rm -f conftest.defines
3796 echo ' fi # egrep' >>$CONFIG_STATUS
3797 echo >>$CONFIG_STATUS
3799 # Break up conftest.undefs because some shells have a limit on the size
3800 # of here documents, and old seds have small limits too (100 cmds).
3801 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3803 while grep . conftest.undefs
>/dev
/null
3805 # Write a limited-size here document to $tmp/undefs.sed.
3806 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3807 # Speed up: don't consider the non
`#undef'
3808 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3809 # Work around the forget-to-reset-the-flag bug.
3810 echo 't clr' >>$CONFIG_STATUS
3811 echo ': clr' >>$CONFIG_STATUS
3812 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3814 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3818 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3819 rm -f conftest.undefs
3820 mv conftest.tail conftest.undefs
3822 rm -f conftest.undefs
3824 cat >>$CONFIG_STATUS <<\EOF
3825 # Let's still pretend it is `configure
' which instantiates (i.e., don't
3826 # use $as_me), people would be surprised to read:
3827 # /* config.h. Generated automatically by config.status. */
3828 if test x
"$ac_file" = x
-; then
3829 echo "/* Generated automatically by configure. */" >$tmp/config.h
3831 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
3833 cat $tmp/in >>$tmp/config.h
3835 if test x
"$ac_file" != x
-; then
3836 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
3837 { echo "$as_me:3837: $ac_file is unchanged" >&5
3838 echo "$as_me: $ac_file is unchanged" >&6;}
3840 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3841 X"$ac_file" : 'X\(//\)[^/]' \| \
3842 X"$ac_file" : 'X\(//\)$' \| \
3843 X"$ac_file" : 'X\(/\)' \| \
3844 . : '\(.\)' 2>/dev/null ||
3846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3848 /^X\(\/\/\)$/{ s//\1/; q; }
3849 /^X\(\/\).*/{ s//\1/; q; }
3851 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
3853 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
3857 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3858 case $as_mkdir_dir in
3859 # Skip DOS drivespec
3860 ?
:) as_incr_dir
=$as_mkdir_dir ;;
3862 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
3863 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3870 mv $tmp/config.h
$ac_file
3879 cat >>$CONFIG_STATUS <<\EOF
3881 { (exit 0); exit 0; }
3883 chmod +x
$CONFIG_STATUS
3884 ac_clean_files
=$ac_clean_files_save
3886 # configure is writing to config.log, and then calls config.status.
3887 # config.status does its own redirection, appending to config.log.
3888 # Unfortunately, on DOS this fails, as config.log is still kept open
3889 # by configure, so config.status won't be able to write to it; its
3890 # output is simply discarded. So we exec the FD to /dev/null,
3891 # effectively closing config.log, so it can be properly (re)opened and
3892 # appended to by config.status. When coming back to configure, we
3893 # need to make the FD available again.
3894 if test "$no_create" != yes; then
3897 $SHELL $CONFIG_STATUS || ac_cs_success
=false
3899 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3900 # would make configure fail if this is the last instruction.
3901 $ac_cs_success || { (exit 1); exit 1; }
3904 echo "##############################################################################"
3905 echo "# Everything is now configured, but you can find some more (infrequently #"
3906 echo "# changed) options in options.h. To compile BOPM now, just type make. It #"
3907 echo "# requires GNU Make, which may be installed as gmake on your system. #"
3909 echo "# If possible, PLEASE CONTRIBUTE TO OUR DNSBL BY REPORTING YOUR PROXIES!! #"
3911 echo "# o What is DNSBL? #"
3912 echo "# It's the database of open proxies we provide and your BOPM checks #"
3913 echo "# against BEFORE bothering to scan the client, therefore killing KNOWN #"
3914 echo "# proxies faster and more efficiently. #"
3916 echo "# o Why should my network contribute? #"
3917 echo "# Because the more that do, the more proxies we know about and the #"
3918 echo "# better the service becomes for all BOPM users including YOU! People #"
3919 echo "# are also using our DNSBL to block spam (spammers use open proxies #"
3920 echo "# too!) so you'd be helping the whole Internet. #"
3922 echo "# o Sounds complicated, what do you need? #"
3923 echo "# BOPM is already designed to report the proxies you find, but it is #"
3924 echo "# turned off by default. To enable it all you have to do is: #"
3925 echo "# - Set DNSBL_FROM to a unique email address that we can contact you #"
3926 echo "# at if there is ever any problem with your reports. #"
3927 echo "# - Email us now at opm@lists.blitzed.org to tell us what you have #"
3928 echo "# set your DNSBL_FROM to. #"
3929 echo "# - Set DNSBL_TO to proxy-report@blitzed.org. #"
3930 echo "# - Set SENDMAIL to contain the path to your sendmail binary (even #"
3931 echo "# if you don't use sendmail you will have a binary named sendmail in #"
3932 echo "# /usr/sbin or /usr/lib. #"
3934 echo "# For more info about the people who already report their proxies, please #"
3935 echo "# see http://www.blitzed.org/bopm/ - Thank you! #"
3936 echo "##############################################################################"