2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.57 for apachetop 0.12.6.
5
# Report bugs to <apachetop@webta.org>.
7
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8
# Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be Bourne compatible
16
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
# is contrary to our usage. Disable this feature.
21
alias -g '${1+"$@"}'='"$@"'
22
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26
# Support unset when possible.
27
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
42
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67
# Name of the executable.
68
as_me=`$as_basename "$0" ||
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
164
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
s,^['$as_cr_digits']*\n,,
176
chmod +x $as_me.lineno ||
177
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
{ (exit 1); exit 1; }; }
180
# Don't try to exec as it changes $[0], causing all sort of problems
181
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
184
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196
if expr a : '\(a\)' >/dev/null 2>&1; then
202
rm -f conf$$ conf$$.exe conf$$.file
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
213
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
220
if mkdir -p . 2>/dev/null; then
226
as_executable_p="test -f"
228
# Sed expression to map a string onto a valid CPP name.
229
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
# Sed expression to map a string onto a valid variable name.
232
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236
# We need space, tab and new line, in precisely that order.
246
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247
# so uname gets run too.
248
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
255
ac_default_prefix=/usr/local
256
ac_config_libobj_dir=.
261
SHELL=${CONFIG_SHELL-/bin/sh}
263
# Maximum number of lines to put in a shell here document.
264
# This variable seems obsolete. It should probably be removed, and
265
# only ac_max_sed_lines should be used.
266
: ${ac_max_here_lines=38}
268
# Identity of this package.
269
PACKAGE_NAME='apachetop'
270
PACKAGE_TARNAME='apachetop'
271
PACKAGE_VERSION='0.12.6'
272
PACKAGE_STRING='apachetop 0.12.6'
273
PACKAGE_BUGREPORT='apachetop@webta.org'
275
ac_unique_file="src/apachetop.cc"
276
# Factoring default headers for most tests.
277
ac_includes_default="\
280
# include <sys/types.h>
283
# include <sys/stat.h>
294
# if !STDC_HEADERS && HAVE_MEMORY_H
300
# include <strings.h>
303
# include <inttypes.h>
313
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION EXEEXT OBJEXT ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh INSTALL_STRIP_PROGRAM AWK SET_MAKE AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH DEPDIR CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX am__include am__quote CXXDEPMODE CXXCPP EGREP LIBOBJS HAVE_READLINE LTLIBOBJS'
316
# Initialize some variables set by options.
318
ac_init_version=false
319
# The variables have the same names as the options, with
320
# dashes changed to underlines.
328
program_transform_name=s,x,x,
336
# Installation directory options.
337
# These are left unexpanded so users can "make install exec_prefix=/foo"
338
# and all the variables that are supposed to be based on exec_prefix
339
# by default will actually change.
340
# Use braces instead of parens because sh, perl, etc. also accept them.
341
bindir='${exec_prefix}/bin'
342
sbindir='${exec_prefix}/sbin'
343
libexecdir='${exec_prefix}/libexec'
344
datadir='${prefix}/share'
345
sysconfdir='${prefix}/etc'
346
sharedstatedir='${prefix}/com'
347
localstatedir='${prefix}/var'
348
libdir='${exec_prefix}/lib'
349
includedir='${prefix}/include'
350
oldincludedir='/usr/include'
351
infodir='${prefix}/info'
352
mandir='${prefix}/man'
357
# If the previous option needs an argument, assign it.
358
if test -n "$ac_prev"; then
359
eval "$ac_prev=\$ac_option"
364
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
# Accept the important Cygnus configure options, so we can diagnose typos.
370
-bindir | --bindir | --bindi | --bind | --bin | --bi)
372
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375
-build | --build | --buil | --bui | --bu)
376
ac_prev=build_alias ;;
377
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
378
build_alias=$ac_optarg ;;
380
-cache-file | --cache-file | --cache-fil | --cache-fi \
381
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382
ac_prev=cache_file ;;
383
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385
cache_file=$ac_optarg ;;
388
cache_file=config.cache ;;
390
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394
datadir=$ac_optarg ;;
396
-disable-* | --disable-*)
397
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398
# Reject names that are not valid shell variable names.
399
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
401
{ (exit 1); exit 1; }; }
402
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403
eval "enable_$ac_feature=no" ;;
405
-enable-* | --enable-*)
406
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407
# Reject names that are not valid shell variable names.
408
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
410
{ (exit 1); exit 1; }; }
411
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416
eval "enable_$ac_feature='$ac_optarg'" ;;
418
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420
| --exec | --exe | --ex)
421
ac_prev=exec_prefix ;;
422
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424
| --exec=* | --exe=* | --ex=*)
425
exec_prefix=$ac_optarg ;;
427
-gas | --gas | --ga | --g)
428
# Obsolete; use --with-gas.
431
-help | --help | --hel | --he | -h)
433
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434
ac_init_help=recursive ;;
435
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436
ac_init_help=short ;;
438
-host | --host | --hos | --ho)
439
ac_prev=host_alias ;;
440
-host=* | --host=* | --hos=* | --ho=*)
441
host_alias=$ac_optarg ;;
443
-includedir | --includedir | --includedi | --included | --include \
444
| --includ | --inclu | --incl | --inc)
445
ac_prev=includedir ;;
446
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447
| --includ=* | --inclu=* | --incl=* | --inc=*)
448
includedir=$ac_optarg ;;
450
-infodir | --infodir | --infodi | --infod | --info | --inf)
452
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453
infodir=$ac_optarg ;;
455
-libdir | --libdir | --libdi | --libd)
457
-libdir=* | --libdir=* | --libdi=* | --libd=*)
460
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461
| --libexe | --libex | --libe)
462
ac_prev=libexecdir ;;
463
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464
| --libexe=* | --libex=* | --libe=*)
465
libexecdir=$ac_optarg ;;
467
-localstatedir | --localstatedir | --localstatedi | --localstated \
468
| --localstate | --localstat | --localsta | --localst \
469
| --locals | --local | --loca | --loc | --lo)
470
ac_prev=localstatedir ;;
471
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
473
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474
localstatedir=$ac_optarg ;;
476
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482
# Obsolete; use --without-fp.
485
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
486
| --no-cr | --no-c | -n)
489
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
490
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495
| --oldin | --oldi | --old | --ol | --o)
496
ac_prev=oldincludedir ;;
497
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500
oldincludedir=$ac_optarg ;;
502
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507
-program-prefix | --program-prefix | --program-prefi | --program-pref \
508
| --program-pre | --program-pr | --program-p)
509
ac_prev=program_prefix ;;
510
-program-prefix=* | --program-prefix=* | --program-prefi=* \
511
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512
program_prefix=$ac_optarg ;;
514
-program-suffix | --program-suffix | --program-suffi | --program-suff \
515
| --program-suf | --program-su | --program-s)
516
ac_prev=program_suffix ;;
517
-program-suffix=* | --program-suffix=* | --program-suffi=* \
518
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519
program_suffix=$ac_optarg ;;
521
-program-transform-name | --program-transform-name \
522
| --program-transform-nam | --program-transform-na \
523
| --program-transform-n | --program-transform- \
524
| --program-transform | --program-transfor \
525
| --program-transfo | --program-transf \
526
| --program-trans | --program-tran \
527
| --progr-tra | --program-tr | --program-t)
528
ac_prev=program_transform_name ;;
529
-program-transform-name=* | --program-transform-name=* \
530
| --program-transform-nam=* | --program-transform-na=* \
531
| --program-transform-n=* | --program-transform-=* \
532
| --program-transform=* | --program-transfor=* \
533
| --program-transfo=* | --program-transf=* \
534
| --program-trans=* | --program-tran=* \
535
| --progr-tra=* | --program-tr=* | --program-t=*)
536
program_transform_name=$ac_optarg ;;
538
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
539
| -silent | --silent | --silen | --sile | --sil)
542
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546
sbindir=$ac_optarg ;;
548
-sharedstatedir | --sharedstatedir | --sharedstatedi \
549
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550
| --sharedst | --shareds | --shared | --share | --shar \
552
ac_prev=sharedstatedir ;;
553
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557
sharedstatedir=$ac_optarg ;;
559
-site | --site | --sit)
561
-site=* | --site=* | --sit=*)
564
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570
| --syscon | --sysco | --sysc | --sys | --sy)
571
ac_prev=sysconfdir ;;
572
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574
sysconfdir=$ac_optarg ;;
576
-target | --target | --targe | --targ | --tar | --ta | --t)
577
ac_prev=target_alias ;;
578
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579
target_alias=$ac_optarg ;;
581
-v | -verbose | --verbose | --verbos | --verbo | --verb)
584
-version | --version | --versio | --versi | --vers | -V)
588
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589
# Reject names that are not valid shell variable names.
590
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591
{ echo "$as_me: error: invalid package name: $ac_package" >&2
592
{ (exit 1); exit 1; }; }
593
ac_package=`echo $ac_package| sed 's/-/_/g'`
595
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598
eval "with_$ac_package='$ac_optarg'" ;;
600
-without-* | --without-*)
601
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602
# Reject names that are not valid shell variable names.
603
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604
{ echo "$as_me: error: invalid package name: $ac_package" >&2
605
{ (exit 1); exit 1; }; }
606
ac_package=`echo $ac_package | sed 's/-/_/g'`
607
eval "with_$ac_package=no" ;;
610
# Obsolete; use --with-x.
613
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614
| --x-incl | --x-inc | --x-in | --x-i)
615
ac_prev=x_includes ;;
616
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618
x_includes=$ac_optarg ;;
620
-x-libraries | --x-libraries | --x-librarie | --x-librari \
621
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622
ac_prev=x_libraries ;;
623
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625
x_libraries=$ac_optarg ;;
627
-*) { echo "$as_me: error: unrecognized option: $ac_option
628
Try \`$0 --help' for more information." >&2
629
{ (exit 1); exit 1; }; }
633
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634
# Reject names that are not valid shell variable names.
635
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637
{ (exit 1); exit 1; }; }
638
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639
eval "$ac_envvar='$ac_optarg'"
643
# FIXME: should be removed in autoconf 3.0.
644
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653
if test -n "$ac_prev"; then
654
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655
{ echo "$as_me: error: missing argument to $ac_option" >&2
656
{ (exit 1); exit 1; }; }
659
# Be sure to have absolute paths.
660
for ac_var in exec_prefix prefix
662
eval ac_val=$`echo $ac_var`
664
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666
{ (exit 1); exit 1; }; };;
670
# Be sure to have absolute paths.
671
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672
localstatedir libdir includedir oldincludedir infodir mandir
674
eval ac_val=$`echo $ac_var`
676
[\\/$]* | ?:[\\/]* ) ;;
677
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678
{ (exit 1); exit 1; }; };;
682
# There might be people who depend on the old broken behavior: `$host'
683
# used to hold the argument of --host etc.
684
# FIXME: To remove some day.
689
# FIXME: To remove some day.
690
if test "x$host_alias" != x; then
691
if test "x$build_alias" = x; then
692
cross_compiling=maybe
693
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694
If a cross compiler is detected then cross compile mode will be used." >&2
695
elif test "x$build_alias" != "x$host_alias"; then
701
test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
test "$silent" = yes && exec 6>/dev/null
706
# Find the source files, if location was not specified.
707
if test -z "$srcdir"; then
708
ac_srcdir_defaulted=yes
709
# Try the directory containing this script, then its parent.
710
ac_confdir=`(dirname "$0") 2>/dev/null ||
711
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712
X"$0" : 'X\(//\)[^/]' \| \
713
X"$0" : 'X\(//\)$' \| \
714
X"$0" : 'X\(/\)' \| \
715
. : '\(.\)' 2>/dev/null ||
717
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
719
/^X\(\/\/\)$/{ s//\1/; q; }
720
/^X\(\/\).*/{ s//\1/; q; }
723
if test ! -r $srcdir/$ac_unique_file; then
727
ac_srcdir_defaulted=no
729
if test ! -r $srcdir/$ac_unique_file; then
730
if test "$ac_srcdir_defaulted" = yes; then
731
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732
{ (exit 1); exit 1; }; }
734
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735
{ (exit 1); exit 1; }; }
738
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740
{ (exit 1); exit 1; }; }
741
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742
ac_env_build_alias_set=${build_alias+set}
743
ac_env_build_alias_value=$build_alias
744
ac_cv_env_build_alias_set=${build_alias+set}
745
ac_cv_env_build_alias_value=$build_alias
746
ac_env_host_alias_set=${host_alias+set}
747
ac_env_host_alias_value=$host_alias
748
ac_cv_env_host_alias_set=${host_alias+set}
749
ac_cv_env_host_alias_value=$host_alias
750
ac_env_target_alias_set=${target_alias+set}
751
ac_env_target_alias_value=$target_alias
752
ac_cv_env_target_alias_set=${target_alias+set}
753
ac_cv_env_target_alias_value=$target_alias
754
ac_env_CXX_set=${CXX+set}
755
ac_env_CXX_value=$CXX
756
ac_cv_env_CXX_set=${CXX+set}
757
ac_cv_env_CXX_value=$CXX
758
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
759
ac_env_CXXFLAGS_value=$CXXFLAGS
760
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
761
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
762
ac_env_LDFLAGS_set=${LDFLAGS+set}
763
ac_env_LDFLAGS_value=$LDFLAGS
764
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765
ac_cv_env_LDFLAGS_value=$LDFLAGS
766
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767
ac_env_CPPFLAGS_value=$CPPFLAGS
768
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770
ac_env_CXXCPP_set=${CXXCPP+set}
771
ac_env_CXXCPP_value=$CXXCPP
772
ac_cv_env_CXXCPP_set=${CXXCPP+set}
773
ac_cv_env_CXXCPP_value=$CXXCPP
776
# Report the --help message.
778
if test "$ac_init_help" = "long"; then
779
# Omit some internal or obsolete options to make the list less imposing.
780
# This message is too long to be a string in the A/UX 3.1 sh.
782
\`configure' configures apachetop 0.12.6 to adapt to many kinds of systems.
784
Usage: $0 [OPTION]... [VAR=VALUE]...
786
To assign environment variables (e.g., CC, CFLAGS...), specify them as
787
VAR=VALUE. See below for descriptions of some of the useful variables.
789
Defaults for the options are specified in brackets.
792
-h, --help display this help and exit
793
--help=short display options specific to this package
794
--help=recursive display the short help of all the included packages
795
-V, --version display version information and exit
796
-q, --quiet, --silent do not print \`checking...' messages
797
--cache-file=FILE cache test results in FILE [disabled]
798
-C, --config-cache alias for \`--cache-file=config.cache'
799
-n, --no-create do not create output files
800
--srcdir=DIR find the sources in DIR [configure dir or \`..']
805
Installation directories:
806
--prefix=PREFIX install architecture-independent files in PREFIX
808
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811
By default, \`make install' will install all the files in
812
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814
for instance \`--prefix=\$HOME'.
816
For better control, use the options below.
818
Fine tuning of the installation directories:
819
--bindir=DIR user executables [EPREFIX/bin]
820
--sbindir=DIR system admin executables [EPREFIX/sbin]
821
--libexecdir=DIR program executables [EPREFIX/libexec]
822
--datadir=DIR read-only architecture-independent data [PREFIX/share]
823
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
826
--libdir=DIR object code libraries [EPREFIX/lib]
827
--includedir=DIR C header files [PREFIX/include]
828
--oldincludedir=DIR C header files for non-gcc [/usr/include]
829
--infodir=DIR info documentation [PREFIX/info]
830
--mandir=DIR man documentation [PREFIX/man]
836
--program-prefix=PREFIX prepend PREFIX to installed program names
837
--program-suffix=SUFFIX append SUFFIX to installed program names
838
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
842
if test -n "$ac_init_help"; then
843
case $ac_init_help in
844
short | recursive ) echo "Configuration of apachetop 0.12.6:";;
849
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
850
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
851
--disable-dependency-tracking Speeds up one-time builds
852
--enable-dependency-tracking Do not reject slow dependency extractors
853
--disable-largefile omit support for large files
856
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
857
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
859
--with-libraries=<path> additional place to look for libraries
861
--with-includes=<path> additional place to look for header files
862
--with-pcre=<path> prefix of pcre installation (eg /usr/local)
863
--with-fam=<path> prefix of fam installation (eg /usr/local)
864
--with-adns=<path> prefix of adns installation (eg /usr/local)
866
--with-logfile=<log> location of default logfile
868
Some influential environment variables:
869
CXX C++ compiler command
870
CXXFLAGS C++ compiler flags
871
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
872
nonstandard directory <lib dir>
873
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
874
headers in a nonstandard directory <include dir>
875
CXXCPP C++ preprocessor
877
Use these variables to override the choices made by `configure' or to help
878
it to find libraries and programs with nonstandard names/locations.
880
Report bugs to <apachetop@webta.org>.
884
if test "$ac_init_help" = "recursive"; then
885
# If there are subdirs, report their specific --help.
887
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
888
test -d $ac_dir || continue
891
if test "$ac_dir" != .; then
892
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
893
# A "../" for each directory in $ac_dir_suffix.
894
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
896
ac_dir_suffix= ac_top_builddir=
900
.) # No --srcdir option. We are building in place.
902
if test -z "$ac_top_builddir"; then
905
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
907
[\\/]* | ?:[\\/]* ) # Absolute path.
908
ac_srcdir=$srcdir$ac_dir_suffix;
909
ac_top_srcdir=$srcdir ;;
911
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
912
ac_top_srcdir=$ac_top_builddir$srcdir ;;
914
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
916
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
917
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
918
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
919
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
922
# Check for guested configure; otherwise get Cygnus style configure.
923
if test -f $ac_srcdir/configure.gnu; then
925
$SHELL $ac_srcdir/configure.gnu --help=recursive
926
elif test -f $ac_srcdir/configure; then
928
$SHELL $ac_srcdir/configure --help=recursive
929
elif test -f $ac_srcdir/configure.ac ||
930
test -f $ac_srcdir/configure.in; then
934
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
940
test -n "$ac_init_help" && exit 0
941
if $ac_init_version; then
943
apachetop configure 0.12.6
944
generated by GNU Autoconf 2.57
946
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
947
Free Software Foundation, Inc.
948
This configure script is free software; the Free Software Foundation
949
gives unlimited permission to copy, distribute and modify it.
955
This file contains any messages produced by compilers while
956
running configure, to aid debugging if configure makes a mistake.
958
It was created by apachetop $as_me 0.12.6, which was
959
generated by GNU Autoconf 2.57. Invocation command line was
970
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
971
uname -m = `(uname -m) 2>/dev/null || echo unknown`
972
uname -r = `(uname -r) 2>/dev/null || echo unknown`
973
uname -s = `(uname -s) 2>/dev/null || echo unknown`
974
uname -v = `(uname -v) 2>/dev/null || echo unknown`
976
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
977
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
979
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
980
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
981
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
982
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
983
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
984
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
985
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
989
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
993
test -z "$as_dir" && as_dir=.
1009
# Keep a trace of the command line.
1010
# Strip out --no-create and --no-recursion so they do not pile up.
1011
# Strip out --silent because we don't want to record it for future runs.
1012
# Also quote any args containing shell meta-characters.
1013
# Make two passes to allow for proper duplicate-argument suppression.
1018
ac_must_keep_next=false
1024
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1025
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1026
| -silent | --silent | --silen | --sile | --sil)
1028
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1029
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1032
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1034
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1035
if test $ac_must_keep_next = true; then
1036
ac_must_keep_next=false # Got value, back to normal.
1039
*=* | --config-cache | -C | -disable-* | --disable-* \
1040
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1041
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1042
| -with-* | --with-* | -without-* | --without-* | --x)
1043
case "$ac_configure_args0 " in
1044
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1047
-* ) ac_must_keep_next=true ;;
1050
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1051
# Get rid of the leading space.
1057
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1058
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1060
# When interrupted or exit'd, cleanup temporary files, and complete
1061
# config.log. We remove comments because anyway the quotes in there
1062
# would cause problems or look ugly.
1063
# WARNING: Be sure not to use single quotes in there, as some shells,
1064
# such as our DU 5.0 friend, will then `close' the trap.
1065
trap 'exit_status=$?
1066
# Save into config.log some information that might help in debugging.
1071
## ---------------- ##
1072
## Cache variables. ##
1073
## ---------------- ##
1076
# The following way of writing the cache mishandles newlines in values,
1079
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1082
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1083
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1087
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1094
## ----------------- ##
1095
## Output variables. ##
1096
## ----------------- ##
1099
for ac_var in $ac_subst_vars
1101
eval ac_val=$`echo $ac_var`
1102
echo "$ac_var='"'"'$ac_val'"'"'"
1106
if test -n "$ac_subst_files"; then
1113
for ac_var in $ac_subst_files
1115
eval ac_val=$`echo $ac_var`
1116
echo "$ac_var='"'"'$ac_val'"'"'"
1121
if test -s confdefs.h; then
1128
sed "/^$/d" confdefs.h | sort
1131
test "$ac_signal" != 0 &&
1132
echo "$as_me: caught signal $ac_signal"
1133
echo "$as_me: exit $exit_status"
1135
rm -f core core.* *.core &&
1136
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1139
for ac_signal in 1 2 13 15; do
1140
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1144
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1145
rm -rf conftest* confdefs.h
1146
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1149
# Predefined preprocessor variables.
1151
cat >>confdefs.h <<_ACEOF
1152
#define PACKAGE_NAME "$PACKAGE_NAME"
1156
cat >>confdefs.h <<_ACEOF
1157
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1161
cat >>confdefs.h <<_ACEOF
1162
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1166
cat >>confdefs.h <<_ACEOF
1167
#define PACKAGE_STRING "$PACKAGE_STRING"
1171
cat >>confdefs.h <<_ACEOF
1172
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1176
# Let the site file select an alternate cache file if it wants to.
1177
# Prefer explicitly selected file to automatically selected ones.
1178
if test -z "$CONFIG_SITE"; then
1179
if test "x$prefix" != xNONE; then
1180
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1182
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1185
for ac_site_file in $CONFIG_SITE; do
1186
if test -r "$ac_site_file"; then
1187
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1188
echo "$as_me: loading site script $ac_site_file" >&6;}
1189
sed 's/^/| /' "$ac_site_file" >&5
1194
if test -r "$cache_file"; then
1195
# Some versions of bash will fail to source /dev/null (special
1196
# files actually), so we avoid doing that.
1197
if test -f "$cache_file"; then
1198
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1199
echo "$as_me: loading cache $cache_file" >&6;}
1201
[\\/]* | ?:[\\/]* ) . $cache_file;;
1202
*) . ./$cache_file;;
1206
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1207
echo "$as_me: creating cache $cache_file" >&6;}
1211
# Check that the precious variables saved in the cache have kept the same
1213
ac_cache_corrupted=false
1214
for ac_var in `(set) 2>&1 |
1215
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1216
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1217
eval ac_new_set=\$ac_env_${ac_var}_set
1218
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1219
eval ac_new_val="\$ac_env_${ac_var}_value"
1220
case $ac_old_set,$ac_new_set in
1222
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1223
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1224
ac_cache_corrupted=: ;;
1226
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1227
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1228
ac_cache_corrupted=: ;;
1231
if test "x$ac_old_val" != "x$ac_new_val"; then
1232
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1233
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1234
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1235
echo "$as_me: former value: $ac_old_val" >&2;}
1236
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1237
echo "$as_me: current value: $ac_new_val" >&2;}
1238
ac_cache_corrupted=:
1241
# Pass precious variables to config.status.
1242
if test "$ac_new_set" = set; then
1244
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1245
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1246
*) ac_arg=$ac_var=$ac_new_val ;;
1248
case " $ac_configure_args " in
1249
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1250
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1254
if $ac_cache_corrupted; then
1255
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1256
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1257
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1258
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1259
{ (exit 1); exit 1; }; }
1263
ac_cpp='$CPP $CPPFLAGS'
1264
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1265
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1266
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1297
for ac_dir in config $srcdir/config; do
1298
if test -f $ac_dir/install-sh; then
1300
ac_install_sh="$ac_aux_dir/install-sh -c"
1302
elif test -f $ac_dir/install.sh; then
1304
ac_install_sh="$ac_aux_dir/install.sh -c"
1306
elif test -f $ac_dir/shtool; then
1308
ac_install_sh="$ac_aux_dir/shtool install -c"
1312
if test -z "$ac_aux_dir"; then
1313
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1314
echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1315
{ (exit 1); exit 1; }; }
1317
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1318
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1319
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1321
#AC_CONFIG_MACRO_DIR(m4) # 2.58
1326
ac_config_headers="$ac_config_headers config.h"
1328
# Find a good install program. We prefer a C program (faster),
1329
# so one script is as good as another. But avoid the broken or
1330
# incompatible versions:
1331
# SysV /etc/install, /usr/sbin/install
1332
# SunOS /usr/etc/install
1333
# IRIX /sbin/install
1335
# AmigaOS /C/install, which installs bootblocks on floppy discs
1336
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1337
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1338
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1339
# ./install, which can be erroneously created by make from ./install.sh.
1340
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1341
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1342
if test -z "$INSTALL"; then
1343
if test "${ac_cv_path_install+set}" = set; then
1344
echo $ECHO_N "(cached) $ECHO_C" >&6
1346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1350
test -z "$as_dir" && as_dir=.
1351
# Account for people who put trailing slashes in PATH elements.
1353
./ | .// | /cC/* | \
1354
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1357
# OSF1 and SCO ODT 3.0 have their own names for install.
1358
# Don't use installbsd from OSF since it installs stuff as root
1360
for ac_prog in ginstall scoinst install; do
1361
for ac_exec_ext in '' $ac_executable_extensions; do
1362
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1363
if test $ac_prog = install &&
1364
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1365
# AIX install. It has an incompatible calling convention.
1367
elif test $ac_prog = install &&
1368
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1369
# program-specific install script used by HP pwplus--don't use.
1372
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1384
if test "${ac_cv_path_install+set}" = set; then
1385
INSTALL=$ac_cv_path_install
1387
# As a last resort, use the slow shell script. We don't cache a
1388
# path for INSTALL within a source directory, because that will
1389
# break other packages using the cache if that directory is
1390
# removed, or if the path is relative.
1391
INSTALL=$ac_install_sh
1394
echo "$as_me:$LINENO: result: $INSTALL" >&5
1395
echo "${ECHO_T}$INSTALL" >&6
1397
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1398
# It thinks the first close brace ends the variable substitution.
1399
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1401
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1403
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1405
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1406
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1409
echo timestamp > conftest.file
1410
# Do `set' in a subshell so we don't clobber the current shell's
1411
# arguments. Must try -L first in case configure is actually a
1412
# symlink; some systems play weird games with the mod time of symlinks
1413
# (eg FreeBSD returns the mod time of the symlink's containing
1416
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1417
if test "$*" = "X"; then
1419
set X `ls -t $srcdir/configure conftest.file`
1422
if test "$*" != "X $srcdir/configure conftest.file" \
1423
&& test "$*" != "X conftest.file $srcdir/configure"; then
1425
# If neither matched, then we have a broken ls. This can happen
1426
# if, for instance, CONFIG_SHELL is bash and it inherits a
1427
# broken ls alias from the environment. This has actually
1428
# happened. Such a system could not be considered "sane".
1429
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1430
alias in your environment" >&5
1431
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1432
alias in your environment" >&2;}
1433
{ (exit 1); exit 1; }; }
1436
test "$2" = conftest.file
1442
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1443
Check your system clock" >&5
1444
echo "$as_me: error: newly created file is older than distributed files!
1445
Check your system clock" >&2;}
1446
{ (exit 1); exit 1; }; }
1448
echo "$as_me:$LINENO: result: yes" >&5
1449
echo "${ECHO_T}yes" >&6
1450
test "$program_prefix" != NONE &&
1451
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1452
# Use a double $ so make ignores it.
1453
test "$program_suffix" != NONE &&
1454
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1455
# Double any \ or $. echo might interpret backslashes.
1456
# By default was `s,x,x', remove it if useless.
1457
cat <<\_ACEOF >conftest.sed
1458
s/[\\$]/&&/g;s/;s,x,x,$//
1460
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1464
# expand $ac_aux_dir to an absolute path
1465
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
1467
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1468
# Use eval to expand $SHELL
1469
if eval "$MISSING --run true"; then
1470
am_missing_run="$MISSING --run "
1474
{ echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1475
echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1478
for ac_prog in gawk mawk nawk awk
1480
# Extract the first word of "$ac_prog", so it can be a program name with args.
1481
set dummy $ac_prog; ac_word=$2
1482
echo "$as_me:$LINENO: checking for $ac_word" >&5
1483
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1484
if test "${ac_cv_prog_AWK+set}" = set; then
1485
echo $ECHO_N "(cached) $ECHO_C" >&6
1487
if test -n "$AWK"; then
1488
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1490
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494
test -z "$as_dir" && as_dir=.
1495
for ac_exec_ext in '' $ac_executable_extensions; do
1496
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1497
ac_cv_prog_AWK="$ac_prog"
1498
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1507
if test -n "$AWK"; then
1508
echo "$as_me:$LINENO: result: $AWK" >&5
1509
echo "${ECHO_T}$AWK" >&6
1511
echo "$as_me:$LINENO: result: no" >&5
1512
echo "${ECHO_T}no" >&6
1515
test -n "$AWK" && break
1518
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1519
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1520
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1521
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1522
echo $ECHO_N "(cached) $ECHO_C" >&6
1524
cat >conftest.make <<\_ACEOF
1526
@echo 'ac_maketemp="$(MAKE)"'
1528
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1529
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1530
if test -n "$ac_maketemp"; then
1531
eval ac_cv_prog_make_${ac_make}_set=yes
1533
eval ac_cv_prog_make_${ac_make}_set=no
1537
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1538
echo "$as_me:$LINENO: result: yes" >&5
1539
echo "${ECHO_T}yes" >&6
1542
echo "$as_me:$LINENO: result: no" >&5
1543
echo "${ECHO_T}no" >&6
1544
SET_MAKE="MAKE=${MAKE-make}"
1547
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1548
if test "${enable_dependency_tracking+set}" = set; then
1549
enableval="$enable_dependency_tracking"
1552
if test "x$enable_dependency_tracking" != xno; then
1553
am_depcomp="$ac_aux_dir/depcomp"
1558
if test "x$enable_dependency_tracking" != xno; then
1569
rm -f .deps 2>/dev/null
1570
mkdir .deps 2>/dev/null
1571
if test -d .deps; then
1574
# MS-DOS does not allow filenames that begin with a dot.
1577
rmdir .deps 2>/dev/null
1580
# test to see if srcdir already configured
1581
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1582
test -f $srcdir/config.status; then
1583
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1584
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1585
{ (exit 1); exit 1; }; }
1588
# Define the identity of the package.
1592
cat >>confdefs.h <<_ACEOF
1593
#define PACKAGE "$PACKAGE"
1597
cat >>confdefs.h <<_ACEOF
1598
#define VERSION "$VERSION"
1602
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1603
# the ones we care about.
1605
# Autoconf 2.50 always computes EXEEXT. However we need to be
1606
# compatible with 2.13, for now. So we always define EXEEXT, but we
1609
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
1610
# requests that it be used. This is a bit dumb.
1614
# Some tools Automake needs.
1616
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1619
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1622
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1625
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1628
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1631
AMTAR=${AMTAR-"${am_missing_run}tar"}
1633
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1635
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1637
# We need awk for the "check" target. The system "awk" is bad on
1641
# Add non-standard directories to the include path
1643
# Check whether --with-libraries or --without-libraries was given.
1644
if test "${with_libraries+set}" = set; then
1645
withval="$with_libraries"
1646
LDFLAGS="$LDFLAGS -L $withval"
1648
# Add non-standard includes to the include path
1650
# Check whether --with-includes or --without-includes was given.
1651
if test "${with_includes+set}" = set; then
1652
withval="$with_includes"
1653
CPPFLAGS="$CPPFLAGS -I $withval"
1657
# Checks for programs.
1661
ac_cpp='$CXXCPP $CPPFLAGS'
1662
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1663
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1664
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1665
if test -n "$ac_tool_prefix"; then
1666
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1668
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1669
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1670
echo "$as_me:$LINENO: checking for $ac_word" >&5
1671
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1672
if test "${ac_cv_prog_CXX+set}" = set; then
1673
echo $ECHO_N "(cached) $ECHO_C" >&6
1675
if test -n "$CXX"; then
1676
ac_cv_prog_CXX="$CXX" # Let the user override the test.
1678
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1682
test -z "$as_dir" && as_dir=.
1683
for ac_exec_ext in '' $ac_executable_extensions; do
1684
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1685
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1686
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1695
if test -n "$CXX"; then
1696
echo "$as_me:$LINENO: result: $CXX" >&5
1697
echo "${ECHO_T}$CXX" >&6
1699
echo "$as_me:$LINENO: result: no" >&5
1700
echo "${ECHO_T}no" >&6
1703
test -n "$CXX" && break
1706
if test -z "$CXX"; then
1708
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1710
# Extract the first word of "$ac_prog", so it can be a program name with args.
1711
set dummy $ac_prog; ac_word=$2
1712
echo "$as_me:$LINENO: checking for $ac_word" >&5
1713
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1715
echo $ECHO_N "(cached) $ECHO_C" >&6
1717
if test -n "$ac_ct_CXX"; then
1718
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1720
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1724
test -z "$as_dir" && as_dir=.
1725
for ac_exec_ext in '' $ac_executable_extensions; do
1726
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1727
ac_cv_prog_ac_ct_CXX="$ac_prog"
1728
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1737
if test -n "$ac_ct_CXX"; then
1738
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1739
echo "${ECHO_T}$ac_ct_CXX" >&6
1741
echo "$as_me:$LINENO: result: no" >&5
1742
echo "${ECHO_T}no" >&6
1745
test -n "$ac_ct_CXX" && break
1747
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1753
# Provide some information about the compiler.
1754
echo "$as_me:$LINENO:" \
1755
"checking for C++ compiler version" >&5
1756
ac_compiler=`set X $ac_compile; echo $2`
1757
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1758
(eval $ac_compiler --version </dev/null >&5) 2>&5
1760
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761
(exit $ac_status); }
1762
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1763
(eval $ac_compiler -v </dev/null >&5) 2>&5
1765
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1766
(exit $ac_status); }
1767
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1768
(eval $ac_compiler -V </dev/null >&5) 2>&5
1770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1771
(exit $ac_status); }
1773
cat >conftest.$ac_ext <<_ACEOF
1774
#line $LINENO "configure"
1777
cat confdefs.h >>conftest.$ac_ext
1778
cat >>conftest.$ac_ext <<_ACEOF
1779
/* end confdefs.h. */
1789
ac_clean_files_save=$ac_clean_files
1790
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1791
# Try to create an executable without -o first, disregard a.out.
1792
# It will help us diagnose broken compilers, and finding out an intuition
1794
echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
1795
echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
1796
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1797
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1798
(eval $ac_link_default) 2>&5
1800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1801
(exit $ac_status); }; then
1802
# Find the output, starting from the most likely. This scheme is
1803
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1806
# Be careful to initialize this variable, since it used to be cached.
1807
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1809
# b.out is created by i960 compilers.
1810
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1812
test -f "$ac_file" || continue
1814
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1817
# This is the source file.
1820
# We found the default executable, but exeext='' is most
1824
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1825
# FIXME: I believe we export ac_cv_exeext for Libtool,
1826
# but it would be cool to find out if it's true. Does anybody
1827
# maintain Libtool? --akim.
1835
echo "$as_me: failed program was:" >&5
1836
sed 's/^/| /' conftest.$ac_ext >&5
1838
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1839
See \`config.log' for more details." >&5
1840
echo "$as_me: error: C++ compiler cannot create executables
1841
See \`config.log' for more details." >&2;}
1842
{ (exit 77); exit 77; }; }
1845
ac_exeext=$ac_cv_exeext
1846
echo "$as_me:$LINENO: result: $ac_file" >&5
1847
echo "${ECHO_T}$ac_file" >&6
1849
# Check the compiler produces executables we can run. If not, either
1850
# the compiler is broken, or we cross compile.
1851
echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1852
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1853
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1854
# If not cross compiling, check that we can run a simple program.
1855
if test "$cross_compiling" != yes; then
1856
if { ac_try='./$ac_file'
1857
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1860
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1861
(exit $ac_status); }; }; then
1864
if test "$cross_compiling" = maybe; then
1867
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1868
If you meant to cross compile, use \`--host'.
1869
See \`config.log' for more details." >&5
1870
echo "$as_me: error: cannot run C++ compiled programs.
1871
If you meant to cross compile, use \`--host'.
1872
See \`config.log' for more details." >&2;}
1873
{ (exit 1); exit 1; }; }
1877
echo "$as_me:$LINENO: result: yes" >&5
1878
echo "${ECHO_T}yes" >&6
1880
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1881
ac_clean_files=$ac_clean_files_save
1882
# Check the compiler produces executables we can run. If not, either
1883
# the compiler is broken, or we cross compile.
1884
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1885
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1886
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1887
echo "${ECHO_T}$cross_compiling" >&6
1889
echo "$as_me:$LINENO: checking for suffix of executables" >&5
1890
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1891
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1892
(eval $ac_link) 2>&5
1894
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895
(exit $ac_status); }; then
1896
# If both `conftest.exe' and `conftest' are `present' (well, observable)
1897
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1898
# work properly (i.e., refer to `conftest.exe'), while it won't with
1900
for ac_file in conftest.exe conftest conftest.*; do
1901
test -f "$ac_file" || continue
1903
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1904
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1911
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1912
See \`config.log' for more details." >&5
1913
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1914
See \`config.log' for more details." >&2;}
1915
{ (exit 1); exit 1; }; }
1918
rm -f conftest$ac_cv_exeext
1919
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1920
echo "${ECHO_T}$ac_cv_exeext" >&6
1922
rm -f conftest.$ac_ext
1923
EXEEXT=$ac_cv_exeext
1925
echo "$as_me:$LINENO: checking for suffix of object files" >&5
1926
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1927
if test "${ac_cv_objext+set}" = set; then
1928
echo $ECHO_N "(cached) $ECHO_C" >&6
1930
cat >conftest.$ac_ext <<_ACEOF
1931
#line $LINENO "configure"
1934
cat confdefs.h >>conftest.$ac_ext
1935
cat >>conftest.$ac_ext <<_ACEOF
1936
/* end confdefs.h. */
1946
rm -f conftest.o conftest.obj
1947
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1948
(eval $ac_compile) 2>&5
1950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1951
(exit $ac_status); }; then
1952
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1954
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1955
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1960
echo "$as_me: failed program was:" >&5
1961
sed 's/^/| /' conftest.$ac_ext >&5
1963
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1964
See \`config.log' for more details." >&5
1965
echo "$as_me: error: cannot compute suffix of object files: cannot compile
1966
See \`config.log' for more details." >&2;}
1967
{ (exit 1); exit 1; }; }
1970
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1972
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1973
echo "${ECHO_T}$ac_cv_objext" >&6
1974
OBJEXT=$ac_cv_objext
1976
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1977
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1978
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1979
echo $ECHO_N "(cached) $ECHO_C" >&6
1981
cat >conftest.$ac_ext <<_ACEOF
1982
#line $LINENO "configure"
1985
cat confdefs.h >>conftest.$ac_ext
1986
cat >>conftest.$ac_ext <<_ACEOF
1987
/* end confdefs.h. */
2000
rm -f conftest.$ac_objext
2001
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2002
(eval $ac_compile) 2>&5
2004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005
(exit $ac_status); } &&
2006
{ ac_try='test -s conftest.$ac_objext'
2007
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011
(exit $ac_status); }; }; then
2014
echo "$as_me: failed program was:" >&5
2015
sed 's/^/| /' conftest.$ac_ext >&5
2019
rm -f conftest.$ac_objext conftest.$ac_ext
2020
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2023
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2024
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2025
GXX=`test $ac_compiler_gnu = yes && echo yes`
2026
ac_test_CXXFLAGS=${CXXFLAGS+set}
2027
ac_save_CXXFLAGS=$CXXFLAGS
2029
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2030
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2031
if test "${ac_cv_prog_cxx_g+set}" = set; then
2032
echo $ECHO_N "(cached) $ECHO_C" >&6
2034
cat >conftest.$ac_ext <<_ACEOF
2035
#line $LINENO "configure"
2038
cat confdefs.h >>conftest.$ac_ext
2039
cat >>conftest.$ac_ext <<_ACEOF
2040
/* end confdefs.h. */
2050
rm -f conftest.$ac_objext
2051
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2052
(eval $ac_compile) 2>&5
2054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055
(exit $ac_status); } &&
2056
{ ac_try='test -s conftest.$ac_objext'
2057
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061
(exit $ac_status); }; }; then
2062
ac_cv_prog_cxx_g=yes
2064
echo "$as_me: failed program was:" >&5
2065
sed 's/^/| /' conftest.$ac_ext >&5
2069
rm -f conftest.$ac_objext conftest.$ac_ext
2071
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2072
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2073
if test "$ac_test_CXXFLAGS" = set; then
2074
CXXFLAGS=$ac_save_CXXFLAGS
2075
elif test $ac_cv_prog_cxx_g = yes; then
2076
if test "$GXX" = yes; then
2082
if test "$GXX" = yes; then
2088
for ac_declaration in \
2090
'#include <stdlib.h>' \
2091
'extern "C" void std::exit (int) throw (); using std::exit;' \
2092
'extern "C" void std::exit (int); using std::exit;' \
2093
'extern "C" void exit (int) throw ();' \
2094
'extern "C" void exit (int);' \
2097
cat >conftest.$ac_ext <<_ACEOF
2098
#line $LINENO "configure"
2101
cat confdefs.h >>conftest.$ac_ext
2102
cat >>conftest.$ac_ext <<_ACEOF
2103
/* end confdefs.h. */
2114
rm -f conftest.$ac_objext
2115
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2116
(eval $ac_compile) 2>&5
2118
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119
(exit $ac_status); } &&
2120
{ ac_try='test -s conftest.$ac_objext'
2121
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125
(exit $ac_status); }; }; then
2128
echo "$as_me: failed program was:" >&5
2129
sed 's/^/| /' conftest.$ac_ext >&5
2133
rm -f conftest.$ac_objext conftest.$ac_ext
2134
cat >conftest.$ac_ext <<_ACEOF
2135
#line $LINENO "configure"
2138
cat confdefs.h >>conftest.$ac_ext
2139
cat >>conftest.$ac_ext <<_ACEOF
2140
/* end confdefs.h. */
2150
rm -f conftest.$ac_objext
2151
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2152
(eval $ac_compile) 2>&5
2154
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155
(exit $ac_status); } &&
2156
{ ac_try='test -s conftest.$ac_objext'
2157
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2160
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161
(exit $ac_status); }; }; then
2164
echo "$as_me: failed program was:" >&5
2165
sed 's/^/| /' conftest.$ac_ext >&5
2168
rm -f conftest.$ac_objext conftest.$ac_ext
2171
if test -n "$ac_declaration"; then
2172
echo '#ifdef __cplusplus' >>confdefs.h
2173
echo $ac_declaration >>confdefs.h
2174
echo '#endif' >>confdefs.h
2178
ac_cpp='$CPP $CPPFLAGS'
2179
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2180
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2181
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2183
ac_config_commands="$ac_config_commands default-1"
2185
am_make=${MAKE-make}
2186
cat > confinc << 'END'
2190
# If we don't find an include directive, just comment out the code.
2191
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2192
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2196
# First try GNU make style include.
2197
echo "include confinc" > confmf
2198
# We grep out `Entering directory' and `Leaving directory'
2199
# messages which can occur if `w' ends up in MAKEFLAGS.
2200
# In particular we don't look at `^make:' because GNU make might
2201
# be invoked under some other name (usually "gmake"), in which
2202
# case it prints its new name instead of `make'.
2203
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2208
# Now try BSD make style include.
2209
if test "$am__include" = "#"; then
2210
echo '.include "confinc"' > confmf
2211
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2212
am__include=.include
2219
echo "$as_me:$LINENO: result: $_am_result" >&5
2220
echo "${ECHO_T}$_am_result" >&6
2221
rm -f confinc confmf
2224
depcc="$CXX" am_compiler_list=
2226
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2227
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2228
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2229
echo $ECHO_N "(cached) $ECHO_C" >&6
2231
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2232
# We make a subdir and do the tests there. Otherwise we can end up
2233
# making bogus files that we don't know about and never remove. For
2234
# instance it was reported that on HP-UX the gcc test will end up
2235
# making a dummy file named `D' -- because `-MD' means `put the output
2238
# Copy depcomp to subdir because otherwise we won't find it if we're
2239
# using a relative directory.
2240
cp "$am_depcomp" conftest.dir
2243
am_cv_CXX_dependencies_compiler_type=none
2244
if test "$am_compiler_list" = ""; then
2245
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2247
for depmode in $am_compiler_list; do
2248
# We need to recreate these files for each test, as the compiler may
2249
# overwrite some of them when testing with obscure command lines.
2250
# This happens at least with the AIX C compiler.
2251
echo '#include "conftest.h"' > conftest.c
2252
echo 'int i;' > conftest.h
2253
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2257
# after this tag, mechanisms are not by side-effect, so they'll
2258
# only be used when explicitly requested
2259
if test "x$enable_dependency_tracking" = xyes; then
2267
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2268
# mode. It turns out that the SunPro C++ compiler does not properly
2269
# handle `-M -o', and we need to detect this.
2270
if depmode=$depmode \
2271
source=conftest.c object=conftest.o \
2272
depfile=conftest.Po tmpdepfile=conftest.TPo \
2273
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2274
grep conftest.h conftest.Po > /dev/null 2>&1 &&
2275
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2276
am_cv_CXX_dependencies_compiler_type=$depmode
2284
am_cv_CXX_dependencies_compiler_type=none
2288
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2289
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2290
CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
2294
ac_cpp='$CXXCPP $CPPFLAGS'
2295
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2296
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2297
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2300
# Checks for header files.
2303
ac_cpp='$CXXCPP $CPPFLAGS'
2304
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2305
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2306
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2307
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
2308
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
2309
if test -z "$CXXCPP"; then
2310
if test "${ac_cv_prog_CXXCPP+set}" = set; then
2311
echo $ECHO_N "(cached) $ECHO_C" >&6
2313
# Double quotes because CXXCPP needs to be expanded
2314
for CXXCPP in "$CXX -E" "/lib/cpp"
2317
for ac_cxx_preproc_warn_flag in '' yes
2319
# Use a header file that comes with gcc, so configuring glibc
2320
# with a fresh cross-compiler works.
2321
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2322
# <limits.h> exists even on freestanding compilers.
2323
# On the NeXT, cc -E runs the code through the compiler's parser,
2324
# not just through cpp. "Syntax error" is here to catch this case.
2325
cat >conftest.$ac_ext <<_ACEOF
2326
#line $LINENO "configure"
2329
cat confdefs.h >>conftest.$ac_ext
2330
cat >>conftest.$ac_ext <<_ACEOF
2331
/* end confdefs.h. */
2333
# include <limits.h>
2335
# include <assert.h>
2339
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2340
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2342
grep -v '^ *+' conftest.er1 >conftest.err
2344
cat conftest.err >&5
2345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346
(exit $ac_status); } >/dev/null; then
2347
if test -s conftest.err; then
2348
ac_cpp_err=$ac_cxx_preproc_warn_flag
2355
if test -z "$ac_cpp_err"; then
2358
echo "$as_me: failed program was:" >&5
2359
sed 's/^/| /' conftest.$ac_ext >&5
2361
# Broken: fails on valid input.
2364
rm -f conftest.err conftest.$ac_ext
2366
# OK, works on sane cases. Now check whether non-existent headers
2367
# can be detected and how.
2368
cat >conftest.$ac_ext <<_ACEOF
2369
#line $LINENO "configure"
2372
cat confdefs.h >>conftest.$ac_ext
2373
cat >>conftest.$ac_ext <<_ACEOF
2374
/* end confdefs.h. */
2375
#include <ac_nonexistent.h>
2377
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2378
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2380
grep -v '^ *+' conftest.er1 >conftest.err
2382
cat conftest.err >&5
2383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384
(exit $ac_status); } >/dev/null; then
2385
if test -s conftest.err; then
2386
ac_cpp_err=$ac_cxx_preproc_warn_flag
2393
if test -z "$ac_cpp_err"; then
2394
# Broken: success on invalid input.
2397
echo "$as_me: failed program was:" >&5
2398
sed 's/^/| /' conftest.$ac_ext >&5
2400
# Passes both tests.
2404
rm -f conftest.err conftest.$ac_ext
2407
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2408
rm -f conftest.err conftest.$ac_ext
2409
if $ac_preproc_ok; then
2414
ac_cv_prog_CXXCPP=$CXXCPP
2417
CXXCPP=$ac_cv_prog_CXXCPP
2419
ac_cv_prog_CXXCPP=$CXXCPP
2421
echo "$as_me:$LINENO: result: $CXXCPP" >&5
2422
echo "${ECHO_T}$CXXCPP" >&6
2424
for ac_cxx_preproc_warn_flag in '' yes
2426
# Use a header file that comes with gcc, so configuring glibc
2427
# with a fresh cross-compiler works.
2428
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2429
# <limits.h> exists even on freestanding compilers.
2430
# On the NeXT, cc -E runs the code through the compiler's parser,
2431
# not just through cpp. "Syntax error" is here to catch this case.
2432
cat >conftest.$ac_ext <<_ACEOF
2433
#line $LINENO "configure"
2436
cat confdefs.h >>conftest.$ac_ext
2437
cat >>conftest.$ac_ext <<_ACEOF
2438
/* end confdefs.h. */
2440
# include <limits.h>
2442
# include <assert.h>
2446
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2447
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2449
grep -v '^ *+' conftest.er1 >conftest.err
2451
cat conftest.err >&5
2452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453
(exit $ac_status); } >/dev/null; then
2454
if test -s conftest.err; then
2455
ac_cpp_err=$ac_cxx_preproc_warn_flag
2462
if test -z "$ac_cpp_err"; then
2465
echo "$as_me: failed program was:" >&5
2466
sed 's/^/| /' conftest.$ac_ext >&5
2468
# Broken: fails on valid input.
2471
rm -f conftest.err conftest.$ac_ext
2473
# OK, works on sane cases. Now check whether non-existent headers
2474
# can be detected and how.
2475
cat >conftest.$ac_ext <<_ACEOF
2476
#line $LINENO "configure"
2479
cat confdefs.h >>conftest.$ac_ext
2480
cat >>conftest.$ac_ext <<_ACEOF
2481
/* end confdefs.h. */
2482
#include <ac_nonexistent.h>
2484
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2485
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2487
grep -v '^ *+' conftest.er1 >conftest.err
2489
cat conftest.err >&5
2490
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491
(exit $ac_status); } >/dev/null; then
2492
if test -s conftest.err; then
2493
ac_cpp_err=$ac_cxx_preproc_warn_flag
2500
if test -z "$ac_cpp_err"; then
2501
# Broken: success on invalid input.
2504
echo "$as_me: failed program was:" >&5
2505
sed 's/^/| /' conftest.$ac_ext >&5
2507
# Passes both tests.
2511
rm -f conftest.err conftest.$ac_ext
2514
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2515
rm -f conftest.err conftest.$ac_ext
2516
if $ac_preproc_ok; then
2519
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2520
See \`config.log' for more details." >&5
2521
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2522
See \`config.log' for more details." >&2;}
2523
{ (exit 1); exit 1; }; }
2527
ac_cpp='$CXXCPP $CPPFLAGS'
2528
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2533
echo "$as_me:$LINENO: checking for egrep" >&5
2534
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2535
if test "${ac_cv_prog_egrep+set}" = set; then
2536
echo $ECHO_N "(cached) $ECHO_C" >&6
2538
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2539
then ac_cv_prog_egrep='grep -E'
2540
else ac_cv_prog_egrep='egrep'
2543
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2544
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2545
EGREP=$ac_cv_prog_egrep
2548
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2549
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2550
if test "${ac_cv_header_stdc+set}" = set; then
2551
echo $ECHO_N "(cached) $ECHO_C" >&6
2553
cat >conftest.$ac_ext <<_ACEOF
2554
#line $LINENO "configure"
2557
cat confdefs.h >>conftest.$ac_ext
2558
cat >>conftest.$ac_ext <<_ACEOF
2559
/* end confdefs.h. */
2573
rm -f conftest.$ac_objext
2574
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2575
(eval $ac_compile) 2>&5
2577
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578
(exit $ac_status); } &&
2579
{ ac_try='test -s conftest.$ac_objext'
2580
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584
(exit $ac_status); }; }; then
2585
ac_cv_header_stdc=yes
2587
echo "$as_me: failed program was:" >&5
2588
sed 's/^/| /' conftest.$ac_ext >&5
2590
ac_cv_header_stdc=no
2592
rm -f conftest.$ac_objext conftest.$ac_ext
2594
if test $ac_cv_header_stdc = yes; then
2595
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2596
cat >conftest.$ac_ext <<_ACEOF
2597
#line $LINENO "configure"
2600
cat confdefs.h >>conftest.$ac_ext
2601
cat >>conftest.$ac_ext <<_ACEOF
2602
/* end confdefs.h. */
2606
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2607
$EGREP "memchr" >/dev/null 2>&1; then
2610
ac_cv_header_stdc=no
2616
if test $ac_cv_header_stdc = yes; then
2617
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2618
cat >conftest.$ac_ext <<_ACEOF
2619
#line $LINENO "configure"
2622
cat confdefs.h >>conftest.$ac_ext
2623
cat >>conftest.$ac_ext <<_ACEOF
2624
/* end confdefs.h. */
2628
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2629
$EGREP "free" >/dev/null 2>&1; then
2632
ac_cv_header_stdc=no
2638
if test $ac_cv_header_stdc = yes; then
2639
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2640
if test "$cross_compiling" = yes; then
2643
cat >conftest.$ac_ext <<_ACEOF
2644
#line $LINENO "configure"
2647
cat confdefs.h >>conftest.$ac_ext
2648
cat >>conftest.$ac_ext <<_ACEOF
2649
/* end confdefs.h. */
2651
#if ((' ' & 0x0FF) == 0x020)
2652
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2653
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2655
# define ISLOWER(c) \
2656
(('a' <= (c) && (c) <= 'i') \
2657
|| ('j' <= (c) && (c) <= 'r') \
2658
|| ('s' <= (c) && (c) <= 'z'))
2659
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2662
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2667
for (i = 0; i < 256; i++)
2668
if (XOR (islower (i), ISLOWER (i))
2669
|| toupper (i) != TOUPPER (i))
2674
rm -f conftest$ac_exeext
2675
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2676
(eval $ac_link) 2>&5
2678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2680
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684
(exit $ac_status); }; }; then
2687
echo "$as_me: program exited with status $ac_status" >&5
2688
echo "$as_me: failed program was:" >&5
2689
sed 's/^/| /' conftest.$ac_ext >&5
2692
ac_cv_header_stdc=no
2694
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2698
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2699
echo "${ECHO_T}$ac_cv_header_stdc" >&6
2700
if test $ac_cv_header_stdc = yes; then
2702
cat >>confdefs.h <<\_ACEOF
2703
#define STDC_HEADERS 1
2708
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
2718
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2719
inttypes.h stdint.h unistd.h
2721
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2722
echo "$as_me:$LINENO: checking for $ac_header" >&5
2723
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2724
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2725
echo $ECHO_N "(cached) $ECHO_C" >&6
2727
cat >conftest.$ac_ext <<_ACEOF
2728
#line $LINENO "configure"
2731
cat confdefs.h >>conftest.$ac_ext
2732
cat >>conftest.$ac_ext <<_ACEOF
2733
/* end confdefs.h. */
2734
$ac_includes_default
2736
#include <$ac_header>
2738
rm -f conftest.$ac_objext
2739
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2740
(eval $ac_compile) 2>&5
2742
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743
(exit $ac_status); } &&
2744
{ ac_try='test -s conftest.$ac_objext'
2745
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749
(exit $ac_status); }; }; then
2750
eval "$as_ac_Header=yes"
2752
echo "$as_me: failed program was:" >&5
2753
sed 's/^/| /' conftest.$ac_ext >&5
2755
eval "$as_ac_Header=no"
2757
rm -f conftest.$ac_objext conftest.$ac_ext
2759
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2760
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2761
if test `eval echo '${'$as_ac_Header'}'` = yes; then
2762
cat >>confdefs.h <<_ACEOF
2763
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2779
for ac_header in arpa/inet.h netdb.h netinet/in.h \
2780
string.h strings.h sys/socket.h time.h sys/time.h
2782
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2783
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2784
echo "$as_me:$LINENO: checking for $ac_header" >&5
2785
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2786
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2787
echo $ECHO_N "(cached) $ECHO_C" >&6
2789
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2790
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2792
# Is the header compilable?
2793
echo "$as_me:$LINENO: checking $ac_header usability" >&5
2794
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2795
cat >conftest.$ac_ext <<_ACEOF
2796
#line $LINENO "configure"
2799
cat confdefs.h >>conftest.$ac_ext
2800
cat >>conftest.$ac_ext <<_ACEOF
2801
/* end confdefs.h. */
2802
$ac_includes_default
2803
#include <$ac_header>
2805
rm -f conftest.$ac_objext
2806
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2807
(eval $ac_compile) 2>&5
2809
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810
(exit $ac_status); } &&
2811
{ ac_try='test -s conftest.$ac_objext'
2812
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816
(exit $ac_status); }; }; then
2817
ac_header_compiler=yes
2819
echo "$as_me: failed program was:" >&5
2820
sed 's/^/| /' conftest.$ac_ext >&5
2822
ac_header_compiler=no
2824
rm -f conftest.$ac_objext conftest.$ac_ext
2825
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2826
echo "${ECHO_T}$ac_header_compiler" >&6
2828
# Is the header present?
2829
echo "$as_me:$LINENO: checking $ac_header presence" >&5
2830
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2831
cat >conftest.$ac_ext <<_ACEOF
2832
#line $LINENO "configure"
2835
cat confdefs.h >>conftest.$ac_ext
2836
cat >>conftest.$ac_ext <<_ACEOF
2837
/* end confdefs.h. */
2838
#include <$ac_header>
2840
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2841
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2843
grep -v '^ *+' conftest.er1 >conftest.err
2845
cat conftest.err >&5
2846
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847
(exit $ac_status); } >/dev/null; then
2848
if test -s conftest.err; then
2849
ac_cpp_err=$ac_cxx_preproc_warn_flag
2856
if test -z "$ac_cpp_err"; then
2857
ac_header_preproc=yes
2859
echo "$as_me: failed program was:" >&5
2860
sed 's/^/| /' conftest.$ac_ext >&5
2862
ac_header_preproc=no
2864
rm -f conftest.err conftest.$ac_ext
2865
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2866
echo "${ECHO_T}$ac_header_preproc" >&6
2868
# So? What about this header?
2869
case $ac_header_compiler:$ac_header_preproc in
2871
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2872
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2873
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2874
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2877
## ------------------------------------ ##
2878
## Report this to bug-autoconf@gnu.org. ##
2879
## ------------------------------------ ##
2882
sed "s/^/$as_me: WARNING: /" >&2
2885
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2886
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2887
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2888
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2889
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2890
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2893
## ------------------------------------ ##
2894
## Report this to bug-autoconf@gnu.org. ##
2895
## ------------------------------------ ##
2898
sed "s/^/$as_me: WARNING: /" >&2
2901
echo "$as_me:$LINENO: checking for $ac_header" >&5
2902
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2903
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2904
echo $ECHO_N "(cached) $ECHO_C" >&6
2906
eval "$as_ac_Header=$ac_header_preproc"
2908
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2909
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2912
if test `eval echo '${'$as_ac_Header'}'` = yes; then
2913
cat >>confdefs.h <<_ACEOF
2914
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2922
# Checks for typedefs, structures, and compiler characteristics.
2923
#AC_HEADER_STDBOOL # not in 2.53?
2924
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2925
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2926
if test "${ac_cv_c_const+set}" = set; then
2927
echo $ECHO_N "(cached) $ECHO_C" >&6
2929
cat >conftest.$ac_ext <<_ACEOF
2930
#line $LINENO "configure"
2933
cat confdefs.h >>conftest.$ac_ext
2934
cat >>conftest.$ac_ext <<_ACEOF
2935
/* end confdefs.h. */
2940
/* FIXME: Include the comments suggested by Paul. */
2942
/* Ultrix mips cc rejects this. */
2943
typedef int charset[2];
2945
/* SunOS 4.1.1 cc rejects this. */
2946
char const *const *ccp;
2948
/* NEC SVR4.0.2 mips cc rejects this. */
2949
struct point {int x, y;};
2950
static struct point const zero = {0,0};
2951
/* AIX XL C 1.02.0.0 rejects this.
2952
It does not let you subtract one const X* pointer from another in
2953
an arm of an if-expression whose if-part is not a constant
2955
const char *g = "string";
2956
ccp = &g + (g ? g-g : 0);
2957
/* HPUX 7.0 cc rejects these. */
2960
ccp = (char const *const *) p;
2961
{ /* SCO 3.2v4 cc rejects this. */
2963
char const *s = 0 ? (char *) 0 : (char const *) 0;
2967
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2969
const int *foo = &x[0];
2972
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2973
typedef const int *iptr;
2977
{ /* AIX XL C 1.02.0.0 rejects this saying
2978
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2979
struct s { int j; const int *ap[3]; };
2980
struct s *b; b->j = 5;
2982
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2991
rm -f conftest.$ac_objext
2992
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2993
(eval $ac_compile) 2>&5
2995
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996
(exit $ac_status); } &&
2997
{ ac_try='test -s conftest.$ac_objext'
2998
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002
(exit $ac_status); }; }; then
3005
echo "$as_me: failed program was:" >&5
3006
sed 's/^/| /' conftest.$ac_ext >&5
3010
rm -f conftest.$ac_objext conftest.$ac_ext
3012
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3013
echo "${ECHO_T}$ac_cv_c_const" >&6
3014
if test $ac_cv_c_const = no; then
3016
cat >>confdefs.h <<\_ACEOF
3022
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3023
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3024
if test "${ac_cv_header_time+set}" = set; then
3025
echo $ECHO_N "(cached) $ECHO_C" >&6
3027
cat >conftest.$ac_ext <<_ACEOF
3028
#line $LINENO "configure"
3031
cat confdefs.h >>conftest.$ac_ext
3032
cat >>conftest.$ac_ext <<_ACEOF
3033
/* end confdefs.h. */
3034
#include <sys/types.h>
3035
#include <sys/time.h>
3041
if ((struct tm *) 0)
3047
rm -f conftest.$ac_objext
3048
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3049
(eval $ac_compile) 2>&5
3051
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052
(exit $ac_status); } &&
3053
{ ac_try='test -s conftest.$ac_objext'
3054
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058
(exit $ac_status); }; }; then
3059
ac_cv_header_time=yes
3061
echo "$as_me: failed program was:" >&5
3062
sed 's/^/| /' conftest.$ac_ext >&5
3064
ac_cv_header_time=no
3066
rm -f conftest.$ac_objext conftest.$ac_ext
3068
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3069
echo "${ECHO_T}$ac_cv_header_time" >&6
3070
if test $ac_cv_header_time = yes; then
3072
cat >>confdefs.h <<\_ACEOF
3073
#define TIME_WITH_SYS_TIME 1
3078
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3079
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3080
if test "${ac_cv_struct_tm+set}" = set; then
3081
echo $ECHO_N "(cached) $ECHO_C" >&6
3083
cat >conftest.$ac_ext <<_ACEOF
3084
#line $LINENO "configure"
3087
cat confdefs.h >>conftest.$ac_ext
3088
cat >>conftest.$ac_ext <<_ACEOF
3089
/* end confdefs.h. */
3090
#include <sys/types.h>
3096
struct tm *tp; tp->tm_sec;
3101
rm -f conftest.$ac_objext
3102
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3103
(eval $ac_compile) 2>&5
3105
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106
(exit $ac_status); } &&
3107
{ ac_try='test -s conftest.$ac_objext'
3108
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3111
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112
(exit $ac_status); }; }; then
3113
ac_cv_struct_tm=time.h
3115
echo "$as_me: failed program was:" >&5
3116
sed 's/^/| /' conftest.$ac_ext >&5
3118
ac_cv_struct_tm=sys/time.h
3120
rm -f conftest.$ac_objext conftest.$ac_ext
3122
echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
3123
echo "${ECHO_T}$ac_cv_struct_tm" >&6
3124
if test $ac_cv_struct_tm = sys/time.h; then
3126
cat >>confdefs.h <<\_ACEOF
3127
#define TM_IN_SYS_TIME 1
3132
echo "$as_me:$LINENO: checking for off_t" >&5
3133
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3134
if test "${ac_cv_type_off_t+set}" = set; then
3135
echo $ECHO_N "(cached) $ECHO_C" >&6
3137
cat >conftest.$ac_ext <<_ACEOF
3138
#line $LINENO "configure"
3141
cat confdefs.h >>conftest.$ac_ext
3142
cat >>conftest.$ac_ext <<_ACEOF
3143
/* end confdefs.h. */
3144
$ac_includes_default
3156
rm -f conftest.$ac_objext
3157
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3158
(eval $ac_compile) 2>&5
3160
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161
(exit $ac_status); } &&
3162
{ ac_try='test -s conftest.$ac_objext'
3163
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167
(exit $ac_status); }; }; then
3168
ac_cv_type_off_t=yes
3170
echo "$as_me: failed program was:" >&5
3171
sed 's/^/| /' conftest.$ac_ext >&5
3175
rm -f conftest.$ac_objext conftest.$ac_ext
3177
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3178
echo "${ECHO_T}$ac_cv_type_off_t" >&6
3179
if test $ac_cv_type_off_t = yes; then
3183
cat >>confdefs.h <<_ACEOF
3189
echo "$as_me:$LINENO: checking for size_t" >&5
3190
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3191
if test "${ac_cv_type_size_t+set}" = set; then
3192
echo $ECHO_N "(cached) $ECHO_C" >&6
3194
cat >conftest.$ac_ext <<_ACEOF
3195
#line $LINENO "configure"
3198
cat confdefs.h >>conftest.$ac_ext
3199
cat >>conftest.$ac_ext <<_ACEOF
3200
/* end confdefs.h. */
3201
$ac_includes_default
3207
if (sizeof (size_t))
3213
rm -f conftest.$ac_objext
3214
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3215
(eval $ac_compile) 2>&5
3217
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218
(exit $ac_status); } &&
3219
{ ac_try='test -s conftest.$ac_objext'
3220
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3223
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224
(exit $ac_status); }; }; then
3225
ac_cv_type_size_t=yes
3227
echo "$as_me: failed program was:" >&5
3228
sed 's/^/| /' conftest.$ac_ext >&5
3230
ac_cv_type_size_t=no
3232
rm -f conftest.$ac_objext conftest.$ac_ext
3234
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3235
echo "${ECHO_T}$ac_cv_type_size_t" >&6
3236
if test $ac_cv_type_size_t = yes; then
3240
cat >>confdefs.h <<_ACEOF
3241
#define size_t unsigned
3246
# Check whether --enable-largefile or --disable-largefile was given.
3247
if test "${enable_largefile+set}" = set; then
3248
enableval="$enable_largefile"
3251
if test "$enable_largefile" != no; then
3253
echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3254
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3255
if test "${ac_cv_sys_largefile_CC+set}" = set; then
3256
echo $ECHO_N "(cached) $ECHO_C" >&6
3258
ac_cv_sys_largefile_CC=no
3259
if test "$GCC" != yes; then
3262
# IRIX 6.2 and later do not support large files by default,
3263
# so use the C compiler's -n32 option if that helps.
3264
cat >conftest.$ac_ext <<_ACEOF
3265
#line $LINENO "configure"
3268
cat confdefs.h >>conftest.$ac_ext
3269
cat >>conftest.$ac_ext <<_ACEOF
3270
/* end confdefs.h. */
3271
#include <sys/types.h>
3272
/* Check that off_t can represent 2**63 - 1 correctly.
3273
We can't simply define LARGE_OFF_T to be 9223372036854775807,
3274
since some C++ compilers masquerading as C compilers
3275
incorrectly reject 9223372036854775807. */
3276
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3277
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3278
&& LARGE_OFF_T % 2147483647 == 1)
3288
rm -f conftest.$ac_objext
3289
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3290
(eval $ac_compile) 2>&5
3292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293
(exit $ac_status); } &&
3294
{ ac_try='test -s conftest.$ac_objext'
3295
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3298
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299
(exit $ac_status); }; }; then
3302
echo "$as_me: failed program was:" >&5
3303
sed 's/^/| /' conftest.$ac_ext >&5
3306
rm -f conftest.$ac_objext
3308
rm -f conftest.$ac_objext
3309
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310
(eval $ac_compile) 2>&5
3312
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313
(exit $ac_status); } &&
3314
{ ac_try='test -s conftest.$ac_objext'
3315
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319
(exit $ac_status); }; }; then
3320
ac_cv_sys_largefile_CC=' -n32'; break
3322
echo "$as_me: failed program was:" >&5
3323
sed 's/^/| /' conftest.$ac_ext >&5
3326
rm -f conftest.$ac_objext
3330
rm -f conftest.$ac_ext
3333
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3334
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3335
if test "$ac_cv_sys_largefile_CC" != no; then
3336
CC=$CC$ac_cv_sys_largefile_CC
3339
echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3340
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3341
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3342
echo $ECHO_N "(cached) $ECHO_C" >&6
3345
ac_cv_sys_file_offset_bits=no
3346
cat >conftest.$ac_ext <<_ACEOF
3347
#line $LINENO "configure"
3350
cat confdefs.h >>conftest.$ac_ext
3351
cat >>conftest.$ac_ext <<_ACEOF
3352
/* end confdefs.h. */
3353
#include <sys/types.h>
3354
/* Check that off_t can represent 2**63 - 1 correctly.
3355
We can't simply define LARGE_OFF_T to be 9223372036854775807,
3356
since some C++ compilers masquerading as C compilers
3357
incorrectly reject 9223372036854775807. */
3358
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3359
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3360
&& LARGE_OFF_T % 2147483647 == 1)
3370
rm -f conftest.$ac_objext
3371
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3372
(eval $ac_compile) 2>&5
3374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375
(exit $ac_status); } &&
3376
{ ac_try='test -s conftest.$ac_objext'
3377
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3380
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381
(exit $ac_status); }; }; then
3384
echo "$as_me: failed program was:" >&5
3385
sed 's/^/| /' conftest.$ac_ext >&5
3388
rm -f conftest.$ac_objext conftest.$ac_ext
3389
cat >conftest.$ac_ext <<_ACEOF
3390
#line $LINENO "configure"
3393
cat confdefs.h >>conftest.$ac_ext
3394
cat >>conftest.$ac_ext <<_ACEOF
3395
/* end confdefs.h. */
3396
#define _FILE_OFFSET_BITS 64
3397
#include <sys/types.h>
3398
/* Check that off_t can represent 2**63 - 1 correctly.
3399
We can't simply define LARGE_OFF_T to be 9223372036854775807,
3400
since some C++ compilers masquerading as C compilers
3401
incorrectly reject 9223372036854775807. */
3402
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3403
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3404
&& LARGE_OFF_T % 2147483647 == 1)
3414
rm -f conftest.$ac_objext
3415
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3416
(eval $ac_compile) 2>&5
3418
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419
(exit $ac_status); } &&
3420
{ ac_try='test -s conftest.$ac_objext'
3421
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425
(exit $ac_status); }; }; then
3426
ac_cv_sys_file_offset_bits=64; break
3428
echo "$as_me: failed program was:" >&5
3429
sed 's/^/| /' conftest.$ac_ext >&5
3432
rm -f conftest.$ac_objext conftest.$ac_ext
3436
echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3437
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3438
if test "$ac_cv_sys_file_offset_bits" != no; then
3440
cat >>confdefs.h <<_ACEOF
3441
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3446
echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3447
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3448
if test "${ac_cv_sys_large_files+set}" = set; then
3449
echo $ECHO_N "(cached) $ECHO_C" >&6
3452
ac_cv_sys_large_files=no
3453
cat >conftest.$ac_ext <<_ACEOF
3454
#line $LINENO "configure"
3457
cat confdefs.h >>conftest.$ac_ext
3458
cat >>conftest.$ac_ext <<_ACEOF
3459
/* end confdefs.h. */
3460
#include <sys/types.h>
3461
/* Check that off_t can represent 2**63 - 1 correctly.
3462
We can't simply define LARGE_OFF_T to be 9223372036854775807,
3463
since some C++ compilers masquerading as C compilers
3464
incorrectly reject 9223372036854775807. */
3465
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3466
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3467
&& LARGE_OFF_T % 2147483647 == 1)
3477
rm -f conftest.$ac_objext
3478
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3479
(eval $ac_compile) 2>&5
3481
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482
(exit $ac_status); } &&
3483
{ ac_try='test -s conftest.$ac_objext'
3484
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488
(exit $ac_status); }; }; then
3491
echo "$as_me: failed program was:" >&5
3492
sed 's/^/| /' conftest.$ac_ext >&5
3495
rm -f conftest.$ac_objext conftest.$ac_ext
3496
cat >conftest.$ac_ext <<_ACEOF
3497
#line $LINENO "configure"
3500
cat confdefs.h >>conftest.$ac_ext
3501
cat >>conftest.$ac_ext <<_ACEOF
3502
/* end confdefs.h. */
3503
#define _LARGE_FILES 1
3504
#include <sys/types.h>
3505
/* Check that off_t can represent 2**63 - 1 correctly.
3506
We can't simply define LARGE_OFF_T to be 9223372036854775807,
3507
since some C++ compilers masquerading as C compilers
3508
incorrectly reject 9223372036854775807. */
3509
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3510
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3511
&& LARGE_OFF_T % 2147483647 == 1)
3521
rm -f conftest.$ac_objext
3522
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3523
(eval $ac_compile) 2>&5
3525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526
(exit $ac_status); } &&
3527
{ ac_try='test -s conftest.$ac_objext'
3528
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532
(exit $ac_status); }; }; then
3533
ac_cv_sys_large_files=1; break
3535
echo "$as_me: failed program was:" >&5
3536
sed 's/^/| /' conftest.$ac_ext >&5
3539
rm -f conftest.$ac_objext conftest.$ac_ext
3543
echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3544
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3545
if test "$ac_cv_sys_large_files" != no; then
3547
cat >>confdefs.h <<_ACEOF
3548
#define _LARGE_FILES $ac_cv_sys_large_files
3556
# Checks for library functions.
3558
for ac_header in stdlib.h
3560
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3561
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3562
echo "$as_me:$LINENO: checking for $ac_header" >&5
3563
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3564
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3565
echo $ECHO_N "(cached) $ECHO_C" >&6
3567
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3568
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3570
# Is the header compilable?
3571
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3572
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3573
cat >conftest.$ac_ext <<_ACEOF
3574
#line $LINENO "configure"
3577
cat confdefs.h >>conftest.$ac_ext
3578
cat >>conftest.$ac_ext <<_ACEOF
3579
/* end confdefs.h. */
3580
$ac_includes_default
3581
#include <$ac_header>
3583
rm -f conftest.$ac_objext
3584
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3585
(eval $ac_compile) 2>&5
3587
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588
(exit $ac_status); } &&
3589
{ ac_try='test -s conftest.$ac_objext'
3590
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3593
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594
(exit $ac_status); }; }; then
3595
ac_header_compiler=yes
3597
echo "$as_me: failed program was:" >&5
3598
sed 's/^/| /' conftest.$ac_ext >&5
3600
ac_header_compiler=no
3602
rm -f conftest.$ac_objext conftest.$ac_ext
3603
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3604
echo "${ECHO_T}$ac_header_compiler" >&6
3606
# Is the header present?
3607
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3608
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3609
cat >conftest.$ac_ext <<_ACEOF
3610
#line $LINENO "configure"
3613
cat confdefs.h >>conftest.$ac_ext
3614
cat >>conftest.$ac_ext <<_ACEOF
3615
/* end confdefs.h. */
3616
#include <$ac_header>
3618
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3619
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3621
grep -v '^ *+' conftest.er1 >conftest.err
3623
cat conftest.err >&5
3624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625
(exit $ac_status); } >/dev/null; then
3626
if test -s conftest.err; then
3627
ac_cpp_err=$ac_cxx_preproc_warn_flag
3634
if test -z "$ac_cpp_err"; then
3635
ac_header_preproc=yes
3637
echo "$as_me: failed program was:" >&5
3638
sed 's/^/| /' conftest.$ac_ext >&5
3640
ac_header_preproc=no
3642
rm -f conftest.err conftest.$ac_ext
3643
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3644
echo "${ECHO_T}$ac_header_preproc" >&6
3646
# So? What about this header?
3647
case $ac_header_compiler:$ac_header_preproc in
3649
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3650
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3651
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3652
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3655
## ------------------------------------ ##
3656
## Report this to bug-autoconf@gnu.org. ##
3657
## ------------------------------------ ##
3660
sed "s/^/$as_me: WARNING: /" >&2
3663
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3664
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3665
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3666
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3667
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3668
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3671
## ------------------------------------ ##
3672
## Report this to bug-autoconf@gnu.org. ##
3673
## ------------------------------------ ##
3676
sed "s/^/$as_me: WARNING: /" >&2
3679
echo "$as_me:$LINENO: checking for $ac_header" >&5
3680
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3681
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3682
echo $ECHO_N "(cached) $ECHO_C" >&6
3684
eval "$as_ac_Header=$ac_header_preproc"
3686
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3687
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3690
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3691
cat >>confdefs.h <<_ACEOF
3692
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3699
echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
3700
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
3701
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
3702
echo $ECHO_N "(cached) $ECHO_C" >&6
3704
if test "$cross_compiling" = yes; then
3705
ac_cv_func_malloc_0_nonnull=no
3707
cat >conftest.$ac_ext <<_ACEOF
3708
#line $LINENO "configure"
3711
cat confdefs.h >>conftest.$ac_ext
3712
cat >>conftest.$ac_ext <<_ACEOF
3713
/* end confdefs.h. */
3714
#if STDC_HEADERS || HAVE_STDLIB_H
3715
# include <stdlib.h>
3723
exit (malloc (0) ? 0 : 1);
3728
rm -f conftest$ac_exeext
3729
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3730
(eval $ac_link) 2>&5
3732
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3734
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738
(exit $ac_status); }; }; then
3739
ac_cv_func_malloc_0_nonnull=yes
3741
echo "$as_me: program exited with status $ac_status" >&5
3742
echo "$as_me: failed program was:" >&5
3743
sed 's/^/| /' conftest.$ac_ext >&5
3746
ac_cv_func_malloc_0_nonnull=no
3748
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3751
echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
3752
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
3753
if test $ac_cv_func_malloc_0_nonnull = yes; then
3755
cat >>confdefs.h <<\_ACEOF
3756
#define HAVE_MALLOC 1
3760
cat >>confdefs.h <<\_ACEOF
3761
#define HAVE_MALLOC 0
3764
LIBOBJS="$LIBOBJS malloc.$ac_objext"
3766
cat >>confdefs.h <<\_ACEOF
3767
#define malloc rpl_malloc
3774
#AC_FUNC_REALLOC # not in 2.53?
3776
for ac_func in vprintf
3778
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3779
echo "$as_me:$LINENO: checking for $ac_func" >&5
3780
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3781
if eval "test \"\${$as_ac_var+set}\" = set"; then
3782
echo $ECHO_N "(cached) $ECHO_C" >&6
3784
cat >conftest.$ac_ext <<_ACEOF
3785
#line $LINENO "configure"
3788
cat confdefs.h >>conftest.$ac_ext
3789
cat >>conftest.$ac_ext <<_ACEOF
3790
/* end confdefs.h. */
3791
/* System header to define __stub macros and hopefully few prototypes,
3792
which can conflict with char $ac_func (); below.
3793
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3794
<limits.h> exists even on freestanding compilers. */
3796
# include <limits.h>
3798
# include <assert.h>
3800
/* Override any gcc2 internal prototype to avoid an error. */
3805
/* We use char because int might match the return type of a gcc2
3806
builtin and then its argument prototype would still apply. */
3808
/* The GNU C library defines this for functions which it implements
3809
to always fail with ENOSYS. Some functions are actually named
3810
something starting with __ and the normal name is an alias. */
3811
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3814
char (*f) () = $ac_func;
3823
return f != $ac_func;
3828
rm -f conftest.$ac_objext conftest$ac_exeext
3829
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3830
(eval $ac_link) 2>&5
3832
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833
(exit $ac_status); } &&
3834
{ ac_try='test -s conftest$ac_exeext'
3835
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3838
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839
(exit $ac_status); }; }; then
3840
eval "$as_ac_var=yes"
3842
echo "$as_me: failed program was:" >&5
3843
sed 's/^/| /' conftest.$ac_ext >&5
3845
eval "$as_ac_var=no"
3847
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3849
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3850
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3851
if test `eval echo '${'$as_ac_var'}'` = yes; then
3852
cat >>confdefs.h <<_ACEOF
3853
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3856
echo "$as_me:$LINENO: checking for _doprnt" >&5
3857
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
3858
if test "${ac_cv_func__doprnt+set}" = set; then
3859
echo $ECHO_N "(cached) $ECHO_C" >&6
3861
cat >conftest.$ac_ext <<_ACEOF
3862
#line $LINENO "configure"
3865
cat confdefs.h >>conftest.$ac_ext
3866
cat >>conftest.$ac_ext <<_ACEOF
3867
/* end confdefs.h. */
3868
/* System header to define __stub macros and hopefully few prototypes,
3869
which can conflict with char _doprnt (); below.
3870
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3871
<limits.h> exists even on freestanding compilers. */
3873
# include <limits.h>
3875
# include <assert.h>
3877
/* Override any gcc2 internal prototype to avoid an error. */
3882
/* We use char because int might match the return type of a gcc2
3883
builtin and then its argument prototype would still apply. */
3885
/* The GNU C library defines this for functions which it implements
3886
to always fail with ENOSYS. Some functions are actually named
3887
something starting with __ and the normal name is an alias. */
3888
#if defined (__stub__doprnt) || defined (__stub____doprnt)
3891
char (*f) () = _doprnt;
3900
return f != _doprnt;
3905
rm -f conftest.$ac_objext conftest$ac_exeext
3906
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3907
(eval $ac_link) 2>&5
3909
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910
(exit $ac_status); } &&
3911
{ ac_try='test -s conftest$ac_exeext'
3912
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916
(exit $ac_status); }; }; then
3917
ac_cv_func__doprnt=yes
3919
echo "$as_me: failed program was:" >&5
3920
sed 's/^/| /' conftest.$ac_ext >&5
3922
ac_cv_func__doprnt=no
3924
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3926
echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
3927
echo "${ECHO_T}$ac_cv_func__doprnt" >&6
3928
if test $ac_cv_func__doprnt = yes; then
3930
cat >>confdefs.h <<\_ACEOF
3931
#define HAVE_DOPRNT 1
3947
for ac_func in inet_aton memset strchr strdup kqueue strerror strstr
3949
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3950
echo "$as_me:$LINENO: checking for $ac_func" >&5
3951
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3952
if eval "test \"\${$as_ac_var+set}\" = set"; then
3953
echo $ECHO_N "(cached) $ECHO_C" >&6
3955
cat >conftest.$ac_ext <<_ACEOF
3956
#line $LINENO "configure"
3959
cat confdefs.h >>conftest.$ac_ext
3960
cat >>conftest.$ac_ext <<_ACEOF
3961
/* end confdefs.h. */
3962
/* System header to define __stub macros and hopefully few prototypes,
3963
which can conflict with char $ac_func (); below.
3964
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3965
<limits.h> exists even on freestanding compilers. */
3967
# include <limits.h>
3969
# include <assert.h>
3971
/* Override any gcc2 internal prototype to avoid an error. */
3976
/* We use char because int might match the return type of a gcc2
3977
builtin and then its argument prototype would still apply. */
3979
/* The GNU C library defines this for functions which it implements
3980
to always fail with ENOSYS. Some functions are actually named
3981
something starting with __ and the normal name is an alias. */
3982
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3985
char (*f) () = $ac_func;
3994
return f != $ac_func;
3999
rm -f conftest.$ac_objext conftest$ac_exeext
4000
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4001
(eval $ac_link) 2>&5
4003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004
(exit $ac_status); } &&
4005
{ ac_try='test -s conftest$ac_exeext'
4006
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010
(exit $ac_status); }; }; then
4011
eval "$as_ac_var=yes"
4013
echo "$as_me: failed program was:" >&5
4014
sed 's/^/| /' conftest.$ac_ext >&5
4016
eval "$as_ac_var=no"
4018
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4020
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4021
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4022
if test `eval echo '${'$as_ac_var'}'` = yes; then
4023
cat >>confdefs.h <<_ACEOF
4024
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4033
# Check whether --with-pcre or --without-pcre was given.
4034
if test "${with_pcre+set}" = set; then
4035
withval="$with_pcre"
4037
CPPFLAGS="$CPPFLAGS -I $withval/include"
4038
LDFLAGS="$LDFLAGS -L $withval/lib"
4044
for ac_header in pcre.h
4046
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4047
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4048
echo "$as_me:$LINENO: checking for $ac_header" >&5
4049
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4050
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4051
echo $ECHO_N "(cached) $ECHO_C" >&6
4053
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4054
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4056
# Is the header compilable?
4057
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4058
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4059
cat >conftest.$ac_ext <<_ACEOF
4060
#line $LINENO "configure"
4063
cat confdefs.h >>conftest.$ac_ext
4064
cat >>conftest.$ac_ext <<_ACEOF
4065
/* end confdefs.h. */
4066
$ac_includes_default
4067
#include <$ac_header>
4069
rm -f conftest.$ac_objext
4070
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4071
(eval $ac_compile) 2>&5
4073
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074
(exit $ac_status); } &&
4075
{ ac_try='test -s conftest.$ac_objext'
4076
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080
(exit $ac_status); }; }; then
4081
ac_header_compiler=yes
4083
echo "$as_me: failed program was:" >&5
4084
sed 's/^/| /' conftest.$ac_ext >&5
4086
ac_header_compiler=no
4088
rm -f conftest.$ac_objext conftest.$ac_ext
4089
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4090
echo "${ECHO_T}$ac_header_compiler" >&6
4092
# Is the header present?
4093
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4094
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4095
cat >conftest.$ac_ext <<_ACEOF
4096
#line $LINENO "configure"
4099
cat confdefs.h >>conftest.$ac_ext
4100
cat >>conftest.$ac_ext <<_ACEOF
4101
/* end confdefs.h. */
4102
#include <$ac_header>
4104
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4105
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4107
grep -v '^ *+' conftest.er1 >conftest.err
4109
cat conftest.err >&5
4110
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111
(exit $ac_status); } >/dev/null; then
4112
if test -s conftest.err; then
4113
ac_cpp_err=$ac_cxx_preproc_warn_flag
4120
if test -z "$ac_cpp_err"; then
4121
ac_header_preproc=yes
4123
echo "$as_me: failed program was:" >&5
4124
sed 's/^/| /' conftest.$ac_ext >&5
4126
ac_header_preproc=no
4128
rm -f conftest.err conftest.$ac_ext
4129
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4130
echo "${ECHO_T}$ac_header_preproc" >&6
4132
# So? What about this header?
4133
case $ac_header_compiler:$ac_header_preproc in
4135
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4136
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4137
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4138
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4141
## ------------------------------------ ##
4142
## Report this to bug-autoconf@gnu.org. ##
4143
## ------------------------------------ ##
4146
sed "s/^/$as_me: WARNING: /" >&2
4149
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4150
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4151
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4152
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4153
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4154
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4157
## ------------------------------------ ##
4158
## Report this to bug-autoconf@gnu.org. ##
4159
## ------------------------------------ ##
4162
sed "s/^/$as_me: WARNING: /" >&2
4165
echo "$as_me:$LINENO: checking for $ac_header" >&5
4166
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4167
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4168
echo $ECHO_N "(cached) $ECHO_C" >&6
4170
eval "$as_ac_Header=$ac_header_preproc"
4172
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4173
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4176
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4177
cat >>confdefs.h <<_ACEOF
4178
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4180
echo "$as_me:$LINENO: checking for library containing pcre_compile" >&5
4181
echo $ECHO_N "checking for library containing pcre_compile... $ECHO_C" >&6
4182
if test "${ac_cv_search_pcre_compile+set}" = set; then
4183
echo $ECHO_N "(cached) $ECHO_C" >&6
4185
ac_func_search_save_LIBS=$LIBS
4186
ac_cv_search_pcre_compile=no
4187
cat >conftest.$ac_ext <<_ACEOF
4188
#line $LINENO "configure"
4191
cat confdefs.h >>conftest.$ac_ext
4192
cat >>conftest.$ac_ext <<_ACEOF
4193
/* end confdefs.h. */
4195
/* Override any gcc2 internal prototype to avoid an error. */
4199
/* We use char because int might match the return type of a gcc2
4200
builtin and then its argument prototype would still apply. */
4201
char pcre_compile ();
4210
rm -f conftest.$ac_objext conftest$ac_exeext
4211
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4212
(eval $ac_link) 2>&5
4214
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215
(exit $ac_status); } &&
4216
{ ac_try='test -s conftest$ac_exeext'
4217
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4220
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221
(exit $ac_status); }; }; then
4222
ac_cv_search_pcre_compile="none required"
4224
echo "$as_me: failed program was:" >&5
4225
sed 's/^/| /' conftest.$ac_ext >&5
4228
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4229
if test "$ac_cv_search_pcre_compile" = no; then
4230
for ac_lib in pcre; do
4231
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4232
cat >conftest.$ac_ext <<_ACEOF
4233
#line $LINENO "configure"
4236
cat confdefs.h >>conftest.$ac_ext
4237
cat >>conftest.$ac_ext <<_ACEOF
4238
/* end confdefs.h. */
4240
/* Override any gcc2 internal prototype to avoid an error. */
4244
/* We use char because int might match the return type of a gcc2
4245
builtin and then its argument prototype would still apply. */
4246
char pcre_compile ();
4255
rm -f conftest.$ac_objext conftest$ac_exeext
4256
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4257
(eval $ac_link) 2>&5
4259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260
(exit $ac_status); } &&
4261
{ ac_try='test -s conftest$ac_exeext'
4262
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266
(exit $ac_status); }; }; then
4267
ac_cv_search_pcre_compile="-l$ac_lib"
4270
echo "$as_me: failed program was:" >&5
4271
sed 's/^/| /' conftest.$ac_ext >&5
4274
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4277
LIBS=$ac_func_search_save_LIBS
4279
echo "$as_me:$LINENO: result: $ac_cv_search_pcre_compile" >&5
4280
echo "${ECHO_T}$ac_cv_search_pcre_compile" >&6
4281
if test "$ac_cv_search_pcre_compile" != no; then
4282
test "$ac_cv_search_pcre_compile" = "none required" || LIBS="$ac_cv_search_pcre_compile $LIBS"
4287
{ echo "$as_me:$LINENO: WARNING: *** pcre.h not found -- consider using --with-pcre" >&5
4288
echo "$as_me: WARNING: *** pcre.h not found -- consider using --with-pcre" >&2;}
4298
# Check whether --with-fam or --without-fam was given.
4299
if test "${with_fam+set}" = set; then
4302
CPPFLAGS="$CPPFLAGS -I $withval/include"
4303
LDFLAGS="$LDFLAGS -L $withval/lib"
4309
for ac_header in fam.h
4311
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4312
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4313
echo "$as_me:$LINENO: checking for $ac_header" >&5
4314
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4315
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4316
echo $ECHO_N "(cached) $ECHO_C" >&6
4318
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4319
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4321
# Is the header compilable?
4322
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4323
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4324
cat >conftest.$ac_ext <<_ACEOF
4325
#line $LINENO "configure"
4328
cat confdefs.h >>conftest.$ac_ext
4329
cat >>conftest.$ac_ext <<_ACEOF
4330
/* end confdefs.h. */
4331
$ac_includes_default
4332
#include <$ac_header>
4334
rm -f conftest.$ac_objext
4335
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4336
(eval $ac_compile) 2>&5
4338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339
(exit $ac_status); } &&
4340
{ ac_try='test -s conftest.$ac_objext'
4341
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4344
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345
(exit $ac_status); }; }; then
4346
ac_header_compiler=yes
4348
echo "$as_me: failed program was:" >&5
4349
sed 's/^/| /' conftest.$ac_ext >&5
4351
ac_header_compiler=no
4353
rm -f conftest.$ac_objext conftest.$ac_ext
4354
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4355
echo "${ECHO_T}$ac_header_compiler" >&6
4357
# Is the header present?
4358
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4359
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4360
cat >conftest.$ac_ext <<_ACEOF
4361
#line $LINENO "configure"
4364
cat confdefs.h >>conftest.$ac_ext
4365
cat >>conftest.$ac_ext <<_ACEOF
4366
/* end confdefs.h. */
4367
#include <$ac_header>
4369
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4370
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4372
grep -v '^ *+' conftest.er1 >conftest.err
4374
cat conftest.err >&5
4375
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376
(exit $ac_status); } >/dev/null; then
4377
if test -s conftest.err; then
4378
ac_cpp_err=$ac_cxx_preproc_warn_flag
4385
if test -z "$ac_cpp_err"; then
4386
ac_header_preproc=yes
4388
echo "$as_me: failed program was:" >&5
4389
sed 's/^/| /' conftest.$ac_ext >&5
4391
ac_header_preproc=no
4393
rm -f conftest.err conftest.$ac_ext
4394
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4395
echo "${ECHO_T}$ac_header_preproc" >&6
4397
# So? What about this header?
4398
case $ac_header_compiler:$ac_header_preproc in
4400
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4401
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4402
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4403
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4406
## ------------------------------------ ##
4407
## Report this to bug-autoconf@gnu.org. ##
4408
## ------------------------------------ ##
4411
sed "s/^/$as_me: WARNING: /" >&2
4414
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4415
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4416
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4417
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4418
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4419
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4422
## ------------------------------------ ##
4423
## Report this to bug-autoconf@gnu.org. ##
4424
## ------------------------------------ ##
4427
sed "s/^/$as_me: WARNING: /" >&2
4430
echo "$as_me:$LINENO: checking for $ac_header" >&5
4431
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4432
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4433
echo $ECHO_N "(cached) $ECHO_C" >&6
4435
eval "$as_ac_Header=$ac_header_preproc"
4437
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4438
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4441
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4442
cat >>confdefs.h <<_ACEOF
4443
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4445
echo "$as_me:$LINENO: checking for library containing FAMOpen" >&5
4446
echo $ECHO_N "checking for library containing FAMOpen... $ECHO_C" >&6
4447
if test "${ac_cv_search_FAMOpen+set}" = set; then
4448
echo $ECHO_N "(cached) $ECHO_C" >&6
4450
ac_func_search_save_LIBS=$LIBS
4451
ac_cv_search_FAMOpen=no
4452
cat >conftest.$ac_ext <<_ACEOF
4453
#line $LINENO "configure"
4456
cat confdefs.h >>conftest.$ac_ext
4457
cat >>conftest.$ac_ext <<_ACEOF
4458
/* end confdefs.h. */
4460
/* Override any gcc2 internal prototype to avoid an error. */
4464
/* We use char because int might match the return type of a gcc2
4465
builtin and then its argument prototype would still apply. */
4475
rm -f conftest.$ac_objext conftest$ac_exeext
4476
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4477
(eval $ac_link) 2>&5
4479
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480
(exit $ac_status); } &&
4481
{ ac_try='test -s conftest$ac_exeext'
4482
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4485
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486
(exit $ac_status); }; }; then
4487
ac_cv_search_FAMOpen="none required"
4489
echo "$as_me: failed program was:" >&5
4490
sed 's/^/| /' conftest.$ac_ext >&5
4493
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4494
if test "$ac_cv_search_FAMOpen" = no; then
4495
for ac_lib in fam; do
4496
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4497
cat >conftest.$ac_ext <<_ACEOF
4498
#line $LINENO "configure"
4501
cat confdefs.h >>conftest.$ac_ext
4502
cat >>conftest.$ac_ext <<_ACEOF
4503
/* end confdefs.h. */
4505
/* Override any gcc2 internal prototype to avoid an error. */
4509
/* We use char because int might match the return type of a gcc2
4510
builtin and then its argument prototype would still apply. */
4520
rm -f conftest.$ac_objext conftest$ac_exeext
4521
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4522
(eval $ac_link) 2>&5
4524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525
(exit $ac_status); } &&
4526
{ ac_try='test -s conftest$ac_exeext'
4527
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531
(exit $ac_status); }; }; then
4532
ac_cv_search_FAMOpen="-l$ac_lib"
4535
echo "$as_me: failed program was:" >&5
4536
sed 's/^/| /' conftest.$ac_ext >&5
4539
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4542
LIBS=$ac_func_search_save_LIBS
4544
echo "$as_me:$LINENO: result: $ac_cv_search_FAMOpen" >&5
4545
echo "${ECHO_T}$ac_cv_search_FAMOpen" >&6
4546
if test "$ac_cv_search_FAMOpen" != no; then
4547
test "$ac_cv_search_FAMOpen" = "none required" || LIBS="$ac_cv_search_FAMOpen $LIBS"
4552
{ echo "$as_me:$LINENO: WARNING: *** fam.h not found -- consider using --with-fam" >&5
4553
echo "$as_me: WARNING: *** fam.h not found -- consider using --with-fam" >&2;}
4563
# Check whether --with-adns or --without-adns was given.
4564
if test "${with_adns+set}" = set; then
4565
withval="$with_adns"
4567
CPPFLAGS="$CPPFLAGS -I $withval/include"
4568
LDFLAGS="$LDFLAGS -L $withval/lib"
4574
for ac_header in adns.h
4576
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4577
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4578
echo "$as_me:$LINENO: checking for $ac_header" >&5
4579
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4580
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4581
echo $ECHO_N "(cached) $ECHO_C" >&6
4583
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4584
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4586
# Is the header compilable?
4587
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4588
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4589
cat >conftest.$ac_ext <<_ACEOF
4590
#line $LINENO "configure"
4593
cat confdefs.h >>conftest.$ac_ext
4594
cat >>conftest.$ac_ext <<_ACEOF
4595
/* end confdefs.h. */
4596
$ac_includes_default
4597
#include <$ac_header>
4599
rm -f conftest.$ac_objext
4600
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4601
(eval $ac_compile) 2>&5
4603
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604
(exit $ac_status); } &&
4605
{ ac_try='test -s conftest.$ac_objext'
4606
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610
(exit $ac_status); }; }; then
4611
ac_header_compiler=yes
4613
echo "$as_me: failed program was:" >&5
4614
sed 's/^/| /' conftest.$ac_ext >&5
4616
ac_header_compiler=no
4618
rm -f conftest.$ac_objext conftest.$ac_ext
4619
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4620
echo "${ECHO_T}$ac_header_compiler" >&6
4622
# Is the header present?
4623
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4624
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4625
cat >conftest.$ac_ext <<_ACEOF
4626
#line $LINENO "configure"
4629
cat confdefs.h >>conftest.$ac_ext
4630
cat >>conftest.$ac_ext <<_ACEOF
4631
/* end confdefs.h. */
4632
#include <$ac_header>
4634
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4635
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4637
grep -v '^ *+' conftest.er1 >conftest.err
4639
cat conftest.err >&5
4640
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641
(exit $ac_status); } >/dev/null; then
4642
if test -s conftest.err; then
4643
ac_cpp_err=$ac_cxx_preproc_warn_flag
4650
if test -z "$ac_cpp_err"; then
4651
ac_header_preproc=yes
4653
echo "$as_me: failed program was:" >&5
4654
sed 's/^/| /' conftest.$ac_ext >&5
4656
ac_header_preproc=no
4658
rm -f conftest.err conftest.$ac_ext
4659
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4660
echo "${ECHO_T}$ac_header_preproc" >&6
4662
# So? What about this header?
4663
case $ac_header_compiler:$ac_header_preproc in
4665
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4666
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4667
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4668
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4671
## ------------------------------------ ##
4672
## Report this to bug-autoconf@gnu.org. ##
4673
## ------------------------------------ ##
4676
sed "s/^/$as_me: WARNING: /" >&2
4679
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4680
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4681
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4682
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4683
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4684
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4687
## ------------------------------------ ##
4688
## Report this to bug-autoconf@gnu.org. ##
4689
## ------------------------------------ ##
4692
sed "s/^/$as_me: WARNING: /" >&2
4695
echo "$as_me:$LINENO: checking for $ac_header" >&5
4696
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4697
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4698
echo $ECHO_N "(cached) $ECHO_C" >&6
4700
eval "$as_ac_Header=$ac_header_preproc"
4702
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4703
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4706
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4707
cat >>confdefs.h <<_ACEOF
4708
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4710
echo "$as_me:$LINENO: checking for library containing adns_submit" >&5
4711
echo $ECHO_N "checking for library containing adns_submit... $ECHO_C" >&6
4712
if test "${ac_cv_search_adns_submit+set}" = set; then
4713
echo $ECHO_N "(cached) $ECHO_C" >&6
4715
ac_func_search_save_LIBS=$LIBS
4716
ac_cv_search_adns_submit=no
4717
cat >conftest.$ac_ext <<_ACEOF
4718
#line $LINENO "configure"
4721
cat confdefs.h >>conftest.$ac_ext
4722
cat >>conftest.$ac_ext <<_ACEOF
4723
/* end confdefs.h. */
4725
/* Override any gcc2 internal prototype to avoid an error. */
4729
/* We use char because int might match the return type of a gcc2
4730
builtin and then its argument prototype would still apply. */
4731
char adns_submit ();
4740
rm -f conftest.$ac_objext conftest$ac_exeext
4741
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4742
(eval $ac_link) 2>&5
4744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745
(exit $ac_status); } &&
4746
{ ac_try='test -s conftest$ac_exeext'
4747
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751
(exit $ac_status); }; }; then
4752
ac_cv_search_adns_submit="none required"
4754
echo "$as_me: failed program was:" >&5
4755
sed 's/^/| /' conftest.$ac_ext >&5
4758
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4759
if test "$ac_cv_search_adns_submit" = no; then
4760
for ac_lib in adns; do
4761
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4762
cat >conftest.$ac_ext <<_ACEOF
4763
#line $LINENO "configure"
4766
cat confdefs.h >>conftest.$ac_ext
4767
cat >>conftest.$ac_ext <<_ACEOF
4768
/* end confdefs.h. */
4770
/* Override any gcc2 internal prototype to avoid an error. */
4774
/* We use char because int might match the return type of a gcc2
4775
builtin and then its argument prototype would still apply. */
4776
char adns_submit ();
4785
rm -f conftest.$ac_objext conftest$ac_exeext
4786
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4787
(eval $ac_link) 2>&5
4789
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790
(exit $ac_status); } &&
4791
{ ac_try='test -s conftest$ac_exeext'
4792
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796
(exit $ac_status); }; }; then
4797
ac_cv_search_adns_submit="-l$ac_lib"
4800
echo "$as_me: failed program was:" >&5
4801
sed 's/^/| /' conftest.$ac_ext >&5
4804
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4807
LIBS=$ac_func_search_save_LIBS
4809
echo "$as_me:$LINENO: result: $ac_cv_search_adns_submit" >&5
4810
echo "${ECHO_T}$ac_cv_search_adns_submit" >&6
4811
if test "$ac_cv_search_adns_submit" != no; then
4812
test "$ac_cv_search_adns_submit" = "none required" || LIBS="$ac_cv_search_adns_submit $LIBS"
4817
{ echo "$as_me:$LINENO: WARNING: *** adns.h not found -- consider using --with-adns" >&5
4818
echo "$as_me: WARNING: *** adns.h not found -- consider using --with-adns" >&2;}
4826
# --with-logfile {{{
4828
# Check whether --with-logfile or --without-logfile was given.
4829
if test "${with_logfile+set}" = set; then
4830
withval="$with_logfile"
4832
cat >>confdefs.h <<_ACEOF
4833
#define DEFAULT_LOGFILE "$withval"
4839
echo "$as_me:$LINENO: checking for library containing socket" >&5
4840
echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
4841
if test "${ac_cv_search_socket+set}" = set; then
4842
echo $ECHO_N "(cached) $ECHO_C" >&6
4844
ac_func_search_save_LIBS=$LIBS
4845
ac_cv_search_socket=no
4846
cat >conftest.$ac_ext <<_ACEOF
4847
#line $LINENO "configure"
4850
cat confdefs.h >>conftest.$ac_ext
4851
cat >>conftest.$ac_ext <<_ACEOF
4852
/* end confdefs.h. */
4854
/* Override any gcc2 internal prototype to avoid an error. */
4858
/* We use char because int might match the return type of a gcc2
4859
builtin and then its argument prototype would still apply. */
4869
rm -f conftest.$ac_objext conftest$ac_exeext
4870
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4871
(eval $ac_link) 2>&5
4873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874
(exit $ac_status); } &&
4875
{ ac_try='test -s conftest$ac_exeext'
4876
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880
(exit $ac_status); }; }; then
4881
ac_cv_search_socket="none required"
4883
echo "$as_me: failed program was:" >&5
4884
sed 's/^/| /' conftest.$ac_ext >&5
4887
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4888
if test "$ac_cv_search_socket" = no; then
4889
for ac_lib in socket; do
4890
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4891
cat >conftest.$ac_ext <<_ACEOF
4892
#line $LINENO "configure"
4895
cat confdefs.h >>conftest.$ac_ext
4896
cat >>conftest.$ac_ext <<_ACEOF
4897
/* end confdefs.h. */
4899
/* Override any gcc2 internal prototype to avoid an error. */
4903
/* We use char because int might match the return type of a gcc2
4904
builtin and then its argument prototype would still apply. */
4914
rm -f conftest.$ac_objext conftest$ac_exeext
4915
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4916
(eval $ac_link) 2>&5
4918
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919
(exit $ac_status); } &&
4920
{ ac_try='test -s conftest$ac_exeext'
4921
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925
(exit $ac_status); }; }; then
4926
ac_cv_search_socket="-l$ac_lib"
4929
echo "$as_me: failed program was:" >&5
4930
sed 's/^/| /' conftest.$ac_ext >&5
4933
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4936
LIBS=$ac_func_search_save_LIBS
4938
echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
4939
echo "${ECHO_T}$ac_cv_search_socket" >&6
4940
if test "$ac_cv_search_socket" != no; then
4941
test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
4945
echo "$as_me:$LINENO: checking for library containing inet_addr" >&5
4946
echo $ECHO_N "checking for library containing inet_addr... $ECHO_C" >&6
4947
if test "${ac_cv_search_inet_addr+set}" = set; then
4948
echo $ECHO_N "(cached) $ECHO_C" >&6
4950
ac_func_search_save_LIBS=$LIBS
4951
ac_cv_search_inet_addr=no
4952
cat >conftest.$ac_ext <<_ACEOF
4953
#line $LINENO "configure"
4956
cat confdefs.h >>conftest.$ac_ext
4957
cat >>conftest.$ac_ext <<_ACEOF
4958
/* end confdefs.h. */
4960
/* Override any gcc2 internal prototype to avoid an error. */
4964
/* We use char because int might match the return type of a gcc2
4965
builtin and then its argument prototype would still apply. */
4975
rm -f conftest.$ac_objext conftest$ac_exeext
4976
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4977
(eval $ac_link) 2>&5
4979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980
(exit $ac_status); } &&
4981
{ ac_try='test -s conftest$ac_exeext'
4982
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986
(exit $ac_status); }; }; then
4987
ac_cv_search_inet_addr="none required"
4989
echo "$as_me: failed program was:" >&5
4990
sed 's/^/| /' conftest.$ac_ext >&5
4993
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4994
if test "$ac_cv_search_inet_addr" = no; then
4995
for ac_lib in nsl; do
4996
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4997
cat >conftest.$ac_ext <<_ACEOF
4998
#line $LINENO "configure"
5001
cat confdefs.h >>conftest.$ac_ext
5002
cat >>conftest.$ac_ext <<_ACEOF
5003
/* end confdefs.h. */
5005
/* Override any gcc2 internal prototype to avoid an error. */
5009
/* We use char because int might match the return type of a gcc2
5010
builtin and then its argument prototype would still apply. */
5020
rm -f conftest.$ac_objext conftest$ac_exeext
5021
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5022
(eval $ac_link) 2>&5
5024
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025
(exit $ac_status); } &&
5026
{ ac_try='test -s conftest$ac_exeext'
5027
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5030
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031
(exit $ac_status); }; }; then
5032
ac_cv_search_inet_addr="-l$ac_lib"
5035
echo "$as_me: failed program was:" >&5
5036
sed 's/^/| /' conftest.$ac_ext >&5
5039
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5042
LIBS=$ac_func_search_save_LIBS
5044
echo "$as_me:$LINENO: result: $ac_cv_search_inet_addr" >&5
5045
echo "${ECHO_T}$ac_cv_search_inet_addr" >&6
5046
if test "$ac_cv_search_inet_addr" != no; then
5047
test "$ac_cv_search_inet_addr" = "none required" || LIBS="$ac_cv_search_inet_addr $LIBS"
5051
echo "$as_me:$LINENO: checking for library containing attron" >&5
5052
echo $ECHO_N "checking for library containing attron... $ECHO_C" >&6
5053
if test "${ac_cv_search_attron+set}" = set; then
5054
echo $ECHO_N "(cached) $ECHO_C" >&6
5056
ac_func_search_save_LIBS=$LIBS
5057
ac_cv_search_attron=no
5058
cat >conftest.$ac_ext <<_ACEOF
5059
#line $LINENO "configure"
5062
cat confdefs.h >>conftest.$ac_ext
5063
cat >>conftest.$ac_ext <<_ACEOF
5064
/* end confdefs.h. */
5066
/* Override any gcc2 internal prototype to avoid an error. */
5070
/* We use char because int might match the return type of a gcc2
5071
builtin and then its argument prototype would still apply. */
5081
rm -f conftest.$ac_objext conftest$ac_exeext
5082
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5083
(eval $ac_link) 2>&5
5085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086
(exit $ac_status); } &&
5087
{ ac_try='test -s conftest$ac_exeext'
5088
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092
(exit $ac_status); }; }; then
5093
ac_cv_search_attron="none required"
5095
echo "$as_me: failed program was:" >&5
5096
sed 's/^/| /' conftest.$ac_ext >&5
5099
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5100
if test "$ac_cv_search_attron" = no; then
5101
for ac_lib in ncurses; do
5102
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5103
cat >conftest.$ac_ext <<_ACEOF
5104
#line $LINENO "configure"
5107
cat confdefs.h >>conftest.$ac_ext
5108
cat >>conftest.$ac_ext <<_ACEOF
5109
/* end confdefs.h. */
5111
/* Override any gcc2 internal prototype to avoid an error. */
5115
/* We use char because int might match the return type of a gcc2
5116
builtin and then its argument prototype would still apply. */
5126
rm -f conftest.$ac_objext conftest$ac_exeext
5127
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5128
(eval $ac_link) 2>&5
5130
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5131
(exit $ac_status); } &&
5132
{ ac_try='test -s conftest$ac_exeext'
5133
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137
(exit $ac_status); }; }; then
5138
ac_cv_search_attron="-l$ac_lib"
5141
echo "$as_me: failed program was:" >&5
5142
sed 's/^/| /' conftest.$ac_ext >&5
5145
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5148
LIBS=$ac_func_search_save_LIBS
5150
echo "$as_me:$LINENO: result: $ac_cv_search_attron" >&5
5151
echo "${ECHO_T}$ac_cv_search_attron" >&6
5152
if test "$ac_cv_search_attron" != no; then
5153
test "$ac_cv_search_attron" = "none required" || LIBS="$ac_cv_search_attron $LIBS"
5157
echo "$as_me:$LINENO: checking for library containing tgetstr" >&5
5158
echo $ECHO_N "checking for library containing tgetstr... $ECHO_C" >&6
5159
if test "${ac_cv_search_tgetstr+set}" = set; then
5160
echo $ECHO_N "(cached) $ECHO_C" >&6
5162
ac_func_search_save_LIBS=$LIBS
5163
ac_cv_search_tgetstr=no
5164
cat >conftest.$ac_ext <<_ACEOF
5165
#line $LINENO "configure"
5168
cat confdefs.h >>conftest.$ac_ext
5169
cat >>conftest.$ac_ext <<_ACEOF
5170
/* end confdefs.h. */
5172
/* Override any gcc2 internal prototype to avoid an error. */
5176
/* We use char because int might match the return type of a gcc2
5177
builtin and then its argument prototype would still apply. */
5187
rm -f conftest.$ac_objext conftest$ac_exeext
5188
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5189
(eval $ac_link) 2>&5
5191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192
(exit $ac_status); } &&
5193
{ ac_try='test -s conftest$ac_exeext'
5194
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198
(exit $ac_status); }; }; then
5199
ac_cv_search_tgetstr="none required"
5201
echo "$as_me: failed program was:" >&5
5202
sed 's/^/| /' conftest.$ac_ext >&5
5205
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5206
if test "$ac_cv_search_tgetstr" = no; then
5207
for ac_lib in termcap; do
5208
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5209
cat >conftest.$ac_ext <<_ACEOF
5210
#line $LINENO "configure"
5213
cat confdefs.h >>conftest.$ac_ext
5214
cat >>conftest.$ac_ext <<_ACEOF
5215
/* end confdefs.h. */
5217
/* Override any gcc2 internal prototype to avoid an error. */
5221
/* We use char because int might match the return type of a gcc2
5222
builtin and then its argument prototype would still apply. */
5232
rm -f conftest.$ac_objext conftest$ac_exeext
5233
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5234
(eval $ac_link) 2>&5
5236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237
(exit $ac_status); } &&
5238
{ ac_try='test -s conftest$ac_exeext'
5239
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243
(exit $ac_status); }; }; then
5244
ac_cv_search_tgetstr="-l$ac_lib"
5247
echo "$as_me: failed program was:" >&5
5248
sed 's/^/| /' conftest.$ac_ext >&5
5251
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5254
LIBS=$ac_func_search_save_LIBS
5256
echo "$as_me:$LINENO: result: $ac_cv_search_tgetstr" >&5
5257
echo "${ECHO_T}$ac_cv_search_tgetstr" >&6
5258
if test "$ac_cv_search_tgetstr" != no; then
5259
test "$ac_cv_search_tgetstr" = "none required" || LIBS="$ac_cv_search_tgetstr $LIBS"
5263
echo "$as_me:$LINENO: checking for library containing mvprintw" >&5
5264
echo $ECHO_N "checking for library containing mvprintw... $ECHO_C" >&6
5265
if test "${ac_cv_search_mvprintw+set}" = set; then
5266
echo $ECHO_N "(cached) $ECHO_C" >&6
5268
ac_func_search_save_LIBS=$LIBS
5269
ac_cv_search_mvprintw=no
5270
cat >conftest.$ac_ext <<_ACEOF
5271
#line $LINENO "configure"
5274
cat confdefs.h >>conftest.$ac_ext
5275
cat >>conftest.$ac_ext <<_ACEOF
5276
/* end confdefs.h. */
5278
/* Override any gcc2 internal prototype to avoid an error. */
5282
/* We use char because int might match the return type of a gcc2
5283
builtin and then its argument prototype would still apply. */
5293
rm -f conftest.$ac_objext conftest$ac_exeext
5294
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5295
(eval $ac_link) 2>&5
5297
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298
(exit $ac_status); } &&
5299
{ ac_try='test -s conftest$ac_exeext'
5300
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5303
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304
(exit $ac_status); }; }; then
5305
ac_cv_search_mvprintw="none required"
5307
echo "$as_me: failed program was:" >&5
5308
sed 's/^/| /' conftest.$ac_ext >&5
5311
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5312
if test "$ac_cv_search_mvprintw" = no; then
5313
for ac_lib in curses ncurses ; do
5314
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5315
cat >conftest.$ac_ext <<_ACEOF
5316
#line $LINENO "configure"
5319
cat confdefs.h >>conftest.$ac_ext
5320
cat >>conftest.$ac_ext <<_ACEOF
5321
/* end confdefs.h. */
5323
/* Override any gcc2 internal prototype to avoid an error. */
5327
/* We use char because int might match the return type of a gcc2
5328
builtin and then its argument prototype would still apply. */
5338
rm -f conftest.$ac_objext conftest$ac_exeext
5339
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5340
(eval $ac_link) 2>&5
5342
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343
(exit $ac_status); } &&
5344
{ ac_try='test -s conftest$ac_exeext'
5345
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5348
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349
(exit $ac_status); }; }; then
5350
ac_cv_search_mvprintw="-l$ac_lib"
5353
echo "$as_me: failed program was:" >&5
5354
sed 's/^/| /' conftest.$ac_ext >&5
5357
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5360
LIBS=$ac_func_search_save_LIBS
5362
echo "$as_me:$LINENO: result: $ac_cv_search_mvprintw" >&5
5363
echo "${ECHO_T}$ac_cv_search_mvprintw" >&6
5364
if test "$ac_cv_search_mvprintw" != no; then
5365
test "$ac_cv_search_mvprintw" = "none required" || LIBS="$ac_cv_search_mvprintw $LIBS"
5369
{ { echo "$as_me:$LINENO: error: No useful curses library found!" >&5
5370
echo "$as_me: error: No useful curses library found!" >&2;}
5371
{ (exit 1); exit 1; }; }
5377
echo "$as_me:$LINENO: checking for library containing readline" >&5
5378
echo $ECHO_N "checking for library containing readline... $ECHO_C" >&6
5379
if test "${ac_cv_search_readline+set}" = set; then
5380
echo $ECHO_N "(cached) $ECHO_C" >&6
5382
ac_func_search_save_LIBS=$LIBS
5383
ac_cv_search_readline=no
5384
cat >conftest.$ac_ext <<_ACEOF
5385
#line $LINENO "configure"
5388
cat confdefs.h >>conftest.$ac_ext
5389
cat >>conftest.$ac_ext <<_ACEOF
5390
/* end confdefs.h. */
5392
/* Override any gcc2 internal prototype to avoid an error. */
5396
/* We use char because int might match the return type of a gcc2
5397
builtin and then its argument prototype would still apply. */
5407
rm -f conftest.$ac_objext conftest$ac_exeext
5408
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5409
(eval $ac_link) 2>&5
5411
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412
(exit $ac_status); } &&
5413
{ ac_try='test -s conftest$ac_exeext'
5414
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5417
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418
(exit $ac_status); }; }; then
5419
ac_cv_search_readline="none required"
5421
echo "$as_me: failed program was:" >&5
5422
sed 's/^/| /' conftest.$ac_ext >&5
5425
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5426
if test "$ac_cv_search_readline" = no; then
5427
for ac_lib in readline; do
5428
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5429
cat >conftest.$ac_ext <<_ACEOF
5430
#line $LINENO "configure"
5433
cat confdefs.h >>conftest.$ac_ext
5434
cat >>conftest.$ac_ext <<_ACEOF
5435
/* end confdefs.h. */
5437
/* Override any gcc2 internal prototype to avoid an error. */
5441
/* We use char because int might match the return type of a gcc2
5442
builtin and then its argument prototype would still apply. */
5452
rm -f conftest.$ac_objext conftest$ac_exeext
5453
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5454
(eval $ac_link) 2>&5
5456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457
(exit $ac_status); } &&
5458
{ ac_try='test -s conftest$ac_exeext'
5459
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5463
(exit $ac_status); }; }; then
5464
ac_cv_search_readline="-l$ac_lib"
5467
echo "$as_me: failed program was:" >&5
5468
sed 's/^/| /' conftest.$ac_ext >&5
5471
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5474
LIBS=$ac_func_search_save_LIBS
5476
echo "$as_me:$LINENO: result: $ac_cv_search_readline" >&5
5477
echo "${ECHO_T}$ac_cv_search_readline" >&6
5478
if test "$ac_cv_search_readline" != no; then
5479
test "$ac_cv_search_readline" = "none required" || LIBS="$ac_cv_search_readline $LIBS"
5482
cat >>confdefs.h <<\_ACEOF
5483
#define HAVE_READLINE 1
5490
{ { echo "$as_me:$LINENO: error: readline library not found" >&5
5491
echo "$as_me: error: readline library not found" >&2;}
5492
{ (exit 1); exit 1; }; }
5499
# everything is in CPPFLAGS up to this point, now we move to CXXFLAGS
5500
# this is mostly done for pcre test, AC_CHECK_HEADERS wants to use CPP
5501
#CXXFLAGS="$CXXFLAGS $CPPFLAGS"
5504
ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile config/Makefile"
5505
cat >confcache <<\_ACEOF
5506
# This file is a shell script that caches the results of configure
5507
# tests run on this system so they can be shared between configure
5508
# scripts and configure runs, see configure's option --config-cache.
5509
# It is not useful on other systems. If it contains results you don't
5510
# want to keep, you may remove or edit it.
5512
# config.status only pays attention to the cache file if you give it
5513
# the --recheck option to rerun configure.
5515
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5516
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5521
# The following way of writing the cache mishandles newlines in values,
5522
# but we know of no workaround that is simple, portable, and efficient.
5523
# So, don't put newlines in cache variables' values.
5524
# Ultrix sh set writes to stderr and can't be redirected directly,
5525
# and sets the high bit in the cache file unless we assign to the vars.
5528
case `(ac_space=' '; set | grep ac_space) 2>&1` in
5530
# `set' does not quote correctly, so add quotes (double-quote
5531
# substitution turns \\\\ into \\, and sed turns \\ into \).
5534
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5537
# `set' quotes correctly as required by POSIX, so do not add quotes.
5539
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5546
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5548
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5550
if diff $cache_file confcache >/dev/null 2>&1; then :; else
5551
if test -w $cache_file; then
5552
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5553
cat confcache >$cache_file
5555
echo "not updating unwritable cache $cache_file"
5560
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5561
# Let make expand exec_prefix.
5562
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5564
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5565
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5566
# trailing colons and then remove the whole line if VPATH becomes empty
5567
# (actually we leave an empty line to preserve line numbers).
5568
if test "x$srcdir" = x.; then
5569
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5570
s/:*\$(srcdir):*/:/;
5571
s/:*\${srcdir}:*/:/;
5573
s/^\([^=]*=[ ]*\):*/\1/;
5579
DEFS=-DHAVE_CONFIG_H
5583
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5584
# 1. Remove the extension, and $U if already installed.
5585
ac_i=`echo "$ac_i" |
5586
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5588
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5589
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5593
LTLIBOBJS=$ac_ltlibobjs
5597
: ${CONFIG_STATUS=./config.status}
5598
ac_clean_files_save=$ac_clean_files
5599
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5600
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5601
echo "$as_me: creating $CONFIG_STATUS" >&6;}
5602
cat >$CONFIG_STATUS <<_ACEOF
5604
# Generated by $as_me.
5605
# Run this file to recreate the current configuration.
5606
# Compiler output produced by configure, useful for debugging
5607
# configure, is in config.log if it exists.
5612
SHELL=\${CONFIG_SHELL-$SHELL}
5615
cat >>$CONFIG_STATUS <<\_ACEOF
5616
## --------------------- ##
5617
## M4sh Initialization. ##
5618
## --------------------- ##
5620
# Be Bourne compatible
5621
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5624
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5625
# is contrary to our usage. Disable this feature.
5626
alias -g '${1+"$@"}'='"$@"'
5627
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5631
# Support unset when possible.
5632
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5639
# Work around bugs in pre-3.0 UWIN ksh.
5640
$as_unset ENV MAIL MAILPATH
5647
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5648
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5649
LC_TELEPHONE LC_TIME
5651
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
5652
eval $as_var=C; export $as_var
5658
# Required to use basename.
5659
if expr a : '\(a\)' >/dev/null 2>&1; then
5665
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5666
as_basename=basename
5672
# Name of the executable.
5673
as_me=`$as_basename "$0" ||
5674
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5675
X"$0" : 'X\(//\)$' \| \
5676
X"$0" : 'X\(/\)$' \| \
5677
. : '\(.\)' 2>/dev/null ||
5679
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5680
/^X\/\(\/\/\)$/{ s//\1/; q; }
5681
/^X\/\(\/\).*/{ s//\1/; q; }
5685
# PATH needs CR, and LINENO needs CR and PATH.
5686
# Avoid depending upon Character Ranges.
5687
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5688
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5689
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5690
as_cr_digits='0123456789'
5691
as_cr_alnum=$as_cr_Letters$as_cr_digits
5693
# The user is always right.
5694
if test "${PATH_SEPARATOR+set}" != set; then
5695
echo "#! /bin/sh" >conf$$.sh
5696
echo "exit 0" >>conf$$.sh
5698
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5709
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5710
test "x$as_lineno_1" != "x$as_lineno_2" &&
5711
test "x$as_lineno_3" = "x$as_lineno_2" || {
5712
# Find who we are. Look in the path if we contain no path at all
5715
*[\\/]* ) as_myself=$0 ;;
5716
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720
test -z "$as_dir" && as_dir=.
5721
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5726
# We did not find ourselves, most probably we were run as `sh COMMAND'
5727
# in which case we are not to be found in the path.
5728
if test "x$as_myself" = x; then
5731
if test ! -f "$as_myself"; then
5732
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5733
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5734
{ (exit 1); exit 1; }; }
5736
case $CONFIG_SHELL in
5738
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5742
test -z "$as_dir" && as_dir=.
5743
for as_base in sh bash ksh sh5; do
5746
if ("$as_dir/$as_base" -c '
5749
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5750
test "x$as_lineno_1" != "x$as_lineno_2" &&
5751
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5752
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5753
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5754
CONFIG_SHELL=$as_dir/$as_base
5756
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5764
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5765
# uniformly replaced by the line number. The first 'sed' inserts a
5766
# line-number line before each line; the second 'sed' does the real
5767
# work. The second script uses 'N' to pair each line-number line
5768
# with the numbered line, and appends trailing '-' during
5769
# substitution so that $LINENO is not a special case at line end.
5770
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5771
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5772
sed '=' <$as_myself |
5777
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5780
s,^['$as_cr_digits']*\n,,
5782
chmod +x $as_me.lineno ||
5783
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5784
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5785
{ (exit 1); exit 1; }; }
5787
# Don't try to exec as it changes $[0], causing all sort of problems
5788
# (the dirname of $[0] is not the place where we might find the
5789
# original and so on. Autoconf is especially sensible to this).
5791
# Exit status is that of the last command.
5796
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5797
*c*,-n*) ECHO_N= ECHO_C='
5799
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5800
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5803
if expr a : '\(a\)' >/dev/null 2>&1; then
5809
rm -f conf$$ conf$$.exe conf$$.file
5811
if ln -s conf$$.file conf$$ 2>/dev/null; then
5812
# We could just check for DJGPP; but this test a) works b) is more generic
5813
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5814
if test -f conf$$.exe; then
5815
# Don't use ln at all; we don't have any links
5820
elif ln conf$$.file conf$$ 2>/dev/null; then
5825
rm -f conf$$ conf$$.exe conf$$.file
5827
if mkdir -p . 2>/dev/null; then
5833
as_executable_p="test -f"
5835
# Sed expression to map a string onto a valid CPP name.
5836
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5838
# Sed expression to map a string onto a valid variable name.
5839
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5843
# We need space, tab and new line, in precisely that order.
5853
# Open the log real soon, to keep \$[0] and so on meaningful, and to
5854
# report actual input values of CONFIG_FILES etc. instead of their
5855
# values after options handling. Logging --version etc. is OK.
5859
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5860
## Running $as_me. ##
5865
This file was extended by apachetop $as_me 0.12.6, which was
5866
generated by GNU Autoconf 2.57. Invocation command line was
5868
CONFIG_FILES = $CONFIG_FILES
5869
CONFIG_HEADERS = $CONFIG_HEADERS
5870
CONFIG_LINKS = $CONFIG_LINKS
5871
CONFIG_COMMANDS = $CONFIG_COMMANDS
5875
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5879
# Files that config.status was made for.
5880
if test -n "$ac_config_files"; then
5881
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5884
if test -n "$ac_config_headers"; then
5885
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5888
if test -n "$ac_config_links"; then
5889
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5892
if test -n "$ac_config_commands"; then
5893
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5896
cat >>$CONFIG_STATUS <<\_ACEOF
5899
\`$as_me' instantiates files from templates according to the
5900
current configuration.
5902
Usage: $0 [OPTIONS] [FILE]...
5904
-h, --help print this help, then exit
5905
-V, --version print version number, then exit
5906
-q, --quiet do not print progress messages
5907
-d, --debug don't remove temporary files
5908
--recheck update $as_me by reconfiguring in the same conditions
5909
--file=FILE[:TEMPLATE]
5910
instantiate the configuration file FILE
5911
--header=FILE[:TEMPLATE]
5912
instantiate the configuration header FILE
5914
Configuration files:
5917
Configuration headers:
5920
Configuration commands:
5923
Report bugs to <bug-autoconf@gnu.org>."
5926
cat >>$CONFIG_STATUS <<_ACEOF
5928
apachetop config.status 0.12.6
5929
configured by $0, generated by GNU Autoconf 2.57,
5930
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5932
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5933
Free Software Foundation, Inc.
5934
This config.status script is free software; the Free Software Foundation
5935
gives unlimited permission to copy, distribute and modify it."
5940
cat >>$CONFIG_STATUS <<\_ACEOF
5941
# If no file are specified by the user, then we need to provide default
5942
# value. By we need to know if files were specified by the user.
5948
ac_option=`expr "x$1" : 'x\([^=]*\)='`
5949
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5957
*) # This is not an option, so the user has probably given explicit
5960
ac_need_defaults=false;;
5964
# Handling of the options.
5966
cat >>$CONFIG_STATUS <<\_ACEOF
5967
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5969
--version | --vers* | -V )
5970
echo "$ac_cs_version"; exit 0 ;;
5972
# Conflict between --help and --header
5973
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
5974
Try \`$0 --help' for more information." >&5
5975
echo "$as_me: error: ambiguous option: $1
5976
Try \`$0 --help' for more information." >&2;}
5977
{ (exit 1); exit 1; }; };;
5978
--help | --hel | -h )
5979
echo "$ac_cs_usage"; exit 0 ;;
5980
--debug | --d* | -d )
5982
--file | --fil | --fi | --f )
5984
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5985
ac_need_defaults=false;;
5986
--header | --heade | --head | --hea )
5988
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5989
ac_need_defaults=false;;
5990
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5991
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5995
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5996
Try \`$0 --help' for more information." >&5
5997
echo "$as_me: error: unrecognized option: $1
5998
Try \`$0 --help' for more information." >&2;}
5999
{ (exit 1); exit 1; }; } ;;
6001
*) ac_config_targets="$ac_config_targets $1" ;;
6007
ac_configure_extra_args=
6009
if $ac_cs_silent; then
6011
ac_configure_extra_args="$ac_configure_extra_args --silent"
6015
cat >>$CONFIG_STATUS <<_ACEOF
6016
if \$ac_cs_recheck; then
6017
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6018
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6023
cat >>$CONFIG_STATUS <<_ACEOF
6025
# INIT-COMMANDS section.
6028
AMDEP_TRUE="$AMDEP_TRUE"
6029
ac_aux_dir="$ac_aux_dir"
6035
cat >>$CONFIG_STATUS <<\_ACEOF
6036
for ac_config_target in $ac_config_targets
6038
case "$ac_config_target" in
6039
# Handling of arguments.
6040
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6041
"man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
6042
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6043
"config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
6044
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6045
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6046
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6047
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6048
{ (exit 1); exit 1; }; };;
6052
# If the user did not use the arguments to specify the items to instantiate,
6053
# then the envvar interface is used. Set only those that are not.
6054
# We use the long form for the default assignment because of an extremely
6055
# bizarre bug on SunOS 4.1.3.
6056
if $ac_need_defaults; then
6057
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6058
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6059
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6062
# Have a temporary directory for convenience. Make it in the build tree
6063
# simply because there is no reason to put it here, and in addition,
6064
# creating and moving files from /tmp can sometimes cause problems.
6065
# Create a temporary directory, and hook for its removal unless debugging.
6068
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6069
trap '{ (exit 1); exit 1; }' 1 2 13 15
6072
# Create a (secure) tmp directory for tmp files.
6075
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6076
test -n "$tmp" && test -d "$tmp"
6079
tmp=./confstat$$-$RANDOM
6080
(umask 077 && mkdir $tmp)
6083
echo "$me: cannot create a temporary directory in ." >&2
6084
{ (exit 1); exit 1; }
6089
cat >>$CONFIG_STATUS <<_ACEOF
6092
# CONFIG_FILES section.
6095
# No need to generate the scripts if there are no CONFIG_FILES.
6096
# This happens for instance when ./config.status config.h
6097
if test -n "\$CONFIG_FILES"; then
6098
# Protect against being on the right side of a sed subst in config.status.
6099
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6100
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6101
s,@SHELL@,$SHELL,;t t
6102
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6103
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6104
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6105
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6106
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6107
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6108
s,@exec_prefix@,$exec_prefix,;t t
6109
s,@prefix@,$prefix,;t t
6110
s,@program_transform_name@,$program_transform_name,;t t
6111
s,@bindir@,$bindir,;t t
6112
s,@sbindir@,$sbindir,;t t
6113
s,@libexecdir@,$libexecdir,;t t
6114
s,@datadir@,$datadir,;t t
6115
s,@sysconfdir@,$sysconfdir,;t t
6116
s,@sharedstatedir@,$sharedstatedir,;t t
6117
s,@localstatedir@,$localstatedir,;t t
6118
s,@libdir@,$libdir,;t t
6119
s,@includedir@,$includedir,;t t
6120
s,@oldincludedir@,$oldincludedir,;t t
6121
s,@infodir@,$infodir,;t t
6122
s,@mandir@,$mandir,;t t
6123
s,@build_alias@,$build_alias,;t t
6124
s,@host_alias@,$host_alias,;t t
6125
s,@target_alias@,$target_alias,;t t
6127
s,@ECHO_C@,$ECHO_C,;t t
6128
s,@ECHO_N@,$ECHO_N,;t t
6129
s,@ECHO_T@,$ECHO_T,;t t
6131
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6132
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6133
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6134
s,@PACKAGE@,$PACKAGE,;t t
6135
s,@VERSION@,$VERSION,;t t
6136
s,@EXEEXT@,$EXEEXT,;t t
6137
s,@OBJEXT@,$OBJEXT,;t t
6138
s,@ACLOCAL@,$ACLOCAL,;t t
6139
s,@AUTOCONF@,$AUTOCONF,;t t
6140
s,@AUTOMAKE@,$AUTOMAKE,;t t
6141
s,@AUTOHEADER@,$AUTOHEADER,;t t
6142
s,@MAKEINFO@,$MAKEINFO,;t t
6143
s,@AMTAR@,$AMTAR,;t t
6144
s,@install_sh@,$install_sh,;t t
6145
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6147
s,@SET_MAKE@,$SET_MAKE,;t t
6148
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6149
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6150
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6151
s,@DEPDIR@,$DEPDIR,;t t
6153
s,@CXXFLAGS@,$CXXFLAGS,;t t
6154
s,@LDFLAGS@,$LDFLAGS,;t t
6155
s,@CPPFLAGS@,$CPPFLAGS,;t t
6156
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6157
s,@am__include@,$am__include,;t t
6158
s,@am__quote@,$am__quote,;t t
6159
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6160
s,@CXXCPP@,$CXXCPP,;t t
6161
s,@EGREP@,$EGREP,;t t
6162
s,@LIBOBJS@,$LIBOBJS,;t t
6163
s,@HAVE_READLINE@,$HAVE_READLINE,;t t
6164
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6169
cat >>$CONFIG_STATUS <<\_ACEOF
6170
# Split the substitutions into bite-sized pieces for seds with
6171
# small command number limits, like on Digital OSF/1 and HP-UX.
6173
ac_sed_frag=1 # Number of current file.
6174
ac_beg=1 # First line for current file.
6175
ac_end=$ac_max_sed_lines # Line after last line for current file.
6178
while $ac_more_lines; do
6179
if test $ac_beg -gt 1; then
6180
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6182
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6184
if test ! -s $tmp/subs.frag; then
6187
# The purpose of the label and of the branching condition is to
6188
# speed up the sed processing (if there are no `@' at all, there
6189
# is no need to browse any of the substitutions).
6190
# These are the two extra sed commands mentioned above.
6192
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6193
if test -z "$ac_sed_cmds"; then
6194
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6196
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6198
ac_sed_frag=`expr $ac_sed_frag + 1`
6200
ac_end=`expr $ac_end + $ac_max_sed_lines`
6203
if test -z "$ac_sed_cmds"; then
6206
fi # test -n "$CONFIG_FILES"
6209
cat >>$CONFIG_STATUS <<\_ACEOF
6210
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6211
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6213
- | *:- | *:-:* ) # input from stdin
6215
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6216
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6217
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6218
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6219
* ) ac_file_in=$ac_file.in ;;
6222
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6223
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6224
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6225
X"$ac_file" : 'X\(//\)[^/]' \| \
6226
X"$ac_file" : 'X\(//\)$' \| \
6227
X"$ac_file" : 'X\(/\)' \| \
6228
. : '\(.\)' 2>/dev/null ||
6230
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6231
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6232
/^X\(\/\/\)$/{ s//\1/; q; }
6233
/^X\(\/\).*/{ s//\1/; q; }
6235
{ if $as_mkdir_p; then
6240
while test ! -d "$as_dir"; do
6241
as_dirs="$as_dir $as_dirs"
6242
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6243
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6244
X"$as_dir" : 'X\(//\)[^/]' \| \
6245
X"$as_dir" : 'X\(//\)$' \| \
6246
X"$as_dir" : 'X\(/\)' \| \
6247
. : '\(.\)' 2>/dev/null ||
6249
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6250
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6251
/^X\(\/\/\)$/{ s//\1/; q; }
6252
/^X\(\/\).*/{ s//\1/; q; }
6255
test ! -n "$as_dirs" || mkdir $as_dirs
6256
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6257
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6258
{ (exit 1); exit 1; }; }; }
6262
if test "$ac_dir" != .; then
6263
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6264
# A "../" for each directory in $ac_dir_suffix.
6265
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6267
ac_dir_suffix= ac_top_builddir=
6271
.) # No --srcdir option. We are building in place.
6273
if test -z "$ac_top_builddir"; then
6276
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6278
[\\/]* | ?:[\\/]* ) # Absolute path.
6279
ac_srcdir=$srcdir$ac_dir_suffix;
6280
ac_top_srcdir=$srcdir ;;
6282
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6283
ac_top_srcdir=$ac_top_builddir$srcdir ;;
6285
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6287
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6288
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6289
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6290
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6294
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6295
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6298
if test x"$ac_file" != x-; then
6299
{ echo "$as_me:$LINENO: creating $ac_file" >&5
6300
echo "$as_me: creating $ac_file" >&6;}
6303
# Let's still pretend it is `configure' which instantiates (i.e., don't
6304
# use $as_me), people would be surprised to read:
6305
# /* config.h. Generated by config.status. */
6306
if test x"$ac_file" = x-; then
6309
configure_input="$ac_file. "
6311
configure_input=$configure_input"Generated from `echo $ac_file_in |
6312
sed 's,.*/,,'` by configure."
6314
# First look for the input files in the build tree, otherwise in the
6316
ac_file_inputs=`IFS=:
6317
for f in $ac_file_in; do
6319
-) echo $tmp/stdin ;;
6321
# Absolute (can't be DOS-style, as IFS=:)
6322
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6323
echo "$as_me: error: cannot find input file: $f" >&2;}
6324
{ (exit 1); exit 1; }; }
6327
if test -f "$f"; then
6330
elif test -f "$srcdir/$f"; then
6335
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6336
echo "$as_me: error: cannot find input file: $f" >&2;}
6337
{ (exit 1); exit 1; }; }
6340
done` || { (exit 1); exit 1; }
6342
cat >>$CONFIG_STATUS <<_ACEOF
6346
cat >>$CONFIG_STATUS <<\_ACEOF
6348
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6349
s,@configure_input@,$configure_input,;t t
6350
s,@srcdir@,$ac_srcdir,;t t
6351
s,@abs_srcdir@,$ac_abs_srcdir,;t t
6352
s,@top_srcdir@,$ac_top_srcdir,;t t
6353
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6354
s,@builddir@,$ac_builddir,;t t
6355
s,@abs_builddir@,$ac_abs_builddir,;t t
6356
s,@top_builddir@,$ac_top_builddir,;t t
6357
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6358
s,@INSTALL@,$ac_INSTALL,;t t
6359
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6361
if test x"$ac_file" != x-; then
6362
mv $tmp/out $ac_file
6370
cat >>$CONFIG_STATUS <<\_ACEOF
6373
# CONFIG_HEADER section.
6376
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6377
# NAME is the cpp macro being defined and VALUE is the value it is being given.
6379
# ac_d sets the value in "#define NAME VALUE" lines.
6380
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6381
ac_dB='[ ].*$,\1#\2'
6384
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6385
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6386
ac_uB='$,\1#\2define\3'
6390
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6391
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6393
- | *:- | *:-:* ) # input from stdin
6395
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6396
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6397
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6398
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6399
* ) ac_file_in=$ac_file.in ;;
6402
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6403
echo "$as_me: creating $ac_file" >&6;}
6405
# First look for the input files in the build tree, otherwise in the
6407
ac_file_inputs=`IFS=:
6408
for f in $ac_file_in; do
6410
-) echo $tmp/stdin ;;
6412
# Absolute (can't be DOS-style, as IFS=:)
6413
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6414
echo "$as_me: error: cannot find input file: $f" >&2;}
6415
{ (exit 1); exit 1; }; }
6418
if test -f "$f"; then
6421
elif test -f "$srcdir/$f"; then
6426
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6427
echo "$as_me: error: cannot find input file: $f" >&2;}
6428
{ (exit 1); exit 1; }; }
6431
done` || { (exit 1); exit 1; }
6432
# Remove the trailing spaces.
6433
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6437
# Transform confdefs.h into two sed scripts, `conftest.defines' and
6438
# `conftest.undefs', that substitutes the proper values into
6439
# config.h.in to produce config.h. The first handles `#define'
6440
# templates, and the second `#undef' templates.
6441
# And first: Protect against being on the right side of a sed subst in
6442
# config.status. Protect against being in an unquoted here document
6444
rm -f conftest.defines conftest.undefs
6445
# Using a here document instead of a string reduces the quoting nightmare.
6446
# Putting comments in sed scripts is not portable.
6448
# `end' is used to avoid that the second main sed command (meant for
6449
# 0-ary CPP macros) applies to n-ary macro definitions.
6450
# See the Autoconf documentation for `clear'.
6451
cat >confdef2sed.sed <<\_ACEOF
6456
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6458
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6461
# If some macros were called several times there might be several times
6462
# the same #defines, which is useless. Nevertheless, we may not want to
6463
# sort them, since we want the *last* AC-DEFINE to be honored.
6464
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6465
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6466
rm -f confdef2sed.sed
6468
# This sed command replaces #undef with comments. This is necessary, for
6469
# example, in the case of _POSIX_SOURCE, which is predefined and required
6470
# on some systems where configure will not decide to define it.
6471
cat >>conftest.undefs <<\_ACEOF
6472
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6475
# Break up conftest.defines because some shells have a limit on the size
6476
# of here documents, and old seds have small limits too (100 cmds).
6477
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6478
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6479
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6480
echo ' :' >>$CONFIG_STATUS
6482
while grep . conftest.defines >/dev/null
6484
# Write a limited-size here document to $tmp/defines.sed.
6485
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6486
# Speed up: don't consider the non `#define' lines.
6487
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6488
# Work around the forget-to-reset-the-flag bug.
6489
echo 't clr' >>$CONFIG_STATUS
6490
echo ': clr' >>$CONFIG_STATUS
6491
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6493
sed -f $tmp/defines.sed $tmp/in >$tmp/out
6497
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6498
rm -f conftest.defines
6499
mv conftest.tail conftest.defines
6501
rm -f conftest.defines
6502
echo ' fi # grep' >>$CONFIG_STATUS
6503
echo >>$CONFIG_STATUS
6505
# Break up conftest.undefs because some shells have a limit on the size
6506
# of here documents, and old seds have small limits too (100 cmds).
6507
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6509
while grep . conftest.undefs >/dev/null
6511
# Write a limited-size here document to $tmp/undefs.sed.
6512
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6513
# Speed up: don't consider the non `#undef'
6514
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6515
# Work around the forget-to-reset-the-flag bug.
6516
echo 't clr' >>$CONFIG_STATUS
6517
echo ': clr' >>$CONFIG_STATUS
6518
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6520
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6524
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6525
rm -f conftest.undefs
6526
mv conftest.tail conftest.undefs
6528
rm -f conftest.undefs
6530
cat >>$CONFIG_STATUS <<\_ACEOF
6531
# Let's still pretend it is `configure' which instantiates (i.e., don't
6532
# use $as_me), people would be surprised to read:
6533
# /* config.h. Generated by config.status. */
6534
if test x"$ac_file" = x-; then
6535
echo "/* Generated by configure. */" >$tmp/config.h
6537
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6539
cat $tmp/in >>$tmp/config.h
6541
if test x"$ac_file" != x-; then
6542
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6543
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6544
echo "$as_me: $ac_file is unchanged" >&6;}
6546
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6547
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6548
X"$ac_file" : 'X\(//\)[^/]' \| \
6549
X"$ac_file" : 'X\(//\)$' \| \
6550
X"$ac_file" : 'X\(/\)' \| \
6551
. : '\(.\)' 2>/dev/null ||
6553
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6554
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6555
/^X\(\/\/\)$/{ s//\1/; q; }
6556
/^X\(\/\).*/{ s//\1/; q; }
6558
{ if $as_mkdir_p; then
6563
while test ! -d "$as_dir"; do
6564
as_dirs="$as_dir $as_dirs"
6565
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6566
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6567
X"$as_dir" : 'X\(//\)[^/]' \| \
6568
X"$as_dir" : 'X\(//\)$' \| \
6569
X"$as_dir" : 'X\(/\)' \| \
6570
. : '\(.\)' 2>/dev/null ||
6572
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6573
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6574
/^X\(\/\/\)$/{ s//\1/; q; }
6575
/^X\(\/\).*/{ s//\1/; q; }
6578
test ! -n "$as_dirs" || mkdir $as_dirs
6579
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6580
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6581
{ (exit 1); exit 1; }; }; }
6584
mv $tmp/config.h $ac_file
6590
# Run the commands associated with the file.
6592
config.h ) # update the timestamp
6593
echo timestamp >"./stamp-h1"
6598
cat >>$CONFIG_STATUS <<\_ACEOF
6601
# CONFIG_COMMANDS section.
6603
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6604
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6605
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6606
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6607
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6608
X"$ac_dest" : 'X\(//\)[^/]' \| \
6609
X"$ac_dest" : 'X\(//\)$' \| \
6610
X"$ac_dest" : 'X\(/\)' \| \
6611
. : '\(.\)' 2>/dev/null ||
6613
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6614
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6615
/^X\(\/\/\)$/{ s//\1/; q; }
6616
/^X\(\/\).*/{ s//\1/; q; }
6620
if test "$ac_dir" != .; then
6621
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6622
# A "../" for each directory in $ac_dir_suffix.
6623
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6625
ac_dir_suffix= ac_top_builddir=
6629
.) # No --srcdir option. We are building in place.
6631
if test -z "$ac_top_builddir"; then
6634
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6636
[\\/]* | ?:[\\/]* ) # Absolute path.
6637
ac_srcdir=$srcdir$ac_dir_suffix;
6638
ac_top_srcdir=$srcdir ;;
6640
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6641
ac_top_srcdir=$ac_top_builddir$srcdir ;;
6643
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6645
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6646
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6647
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6648
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6651
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6652
echo "$as_me: executing $ac_dest commands" >&6;}
6655
test x"$AMDEP_TRUE" != x"" ||
6656
for mf in $CONFIG_FILES; do
6658
Makefile) dirpart=.;;
6659
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
6662
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6663
# Extract the definition of DEP_FILES from the Makefile without
6665
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6666
test -z "$DEPDIR" && continue
6667
# When using ansi2knr, U may be empty or an underscore; expand it
6668
U=`sed -n -e '/^U = / s///p' < "$mf"`
6669
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6670
# We invoke sed twice because it is the simplest approach to
6671
# changing $(DEPDIR) to its actual value in the expansion.
6672
for file in `sed -n -e '
6673
/^DEP_FILES = .*\\\\$/ {
6682
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6683
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6684
# Make sure the directory exists.
6685
test -f "$dirpart/$file" && continue
6686
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
6687
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
6688
# echo "creating $dirpart/$file"
6689
echo '# dummy' > "$dirpart/$file"
6697
cat >>$CONFIG_STATUS <<\_ACEOF
6699
{ (exit 0); exit 0; }
6701
chmod +x $CONFIG_STATUS
6702
ac_clean_files=$ac_clean_files_save
6705
# configure is writing to config.log, and then calls config.status.
6706
# config.status does its own redirection, appending to config.log.
6707
# Unfortunately, on DOS this fails, as config.log is still kept open
6708
# by configure, so config.status won't be able to write to it; its
6709
# output is simply discarded. So we exec the FD to /dev/null,
6710
# effectively closing config.log, so it can be properly (re)opened and
6711
# appended to by config.status. When coming back to configure, we
6712
# need to make the FD available again.
6713
if test "$no_create" != yes; then
6715
ac_config_status_args=
6716
test "$silent" = yes &&
6717
ac_config_status_args="$ac_config_status_args --quiet"
6719
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6721
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6722
# would make configure fail if this is the last instruction.
6723
$ac_cs_success || { (exit 1); exit 1; }