2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for sphinx 0.9.8.
5
# Report bugs to <shodan(at)shodan.ru>.
7
# Copyright (C) 2003 Free Software Foundation, Inc.
8
# This configure script is free software; the Free Software Foundation
9
# gives unlimited permission to copy, distribute and modify it.
10
## --------------------- ##
11
## M4sh Initialization. ##
12
## --------------------- ##
14
# Be Bourne compatible
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
21
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24
DUALCASE=1; export DUALCASE # for MKS sh
26
# Support unset when possible.
27
if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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
223
test -d ./-p && rmdir ./-p
227
as_executable_p="test -f"
229
# Sed expression to map a string onto a valid CPP name.
230
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
# Sed expression to map a string onto a valid variable name.
233
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237
# We need space, tab and new line, in precisely that order.
247
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
# so uname gets run too.
249
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256
ac_default_prefix=/usr/local
257
ac_config_libobj_dir=.
262
SHELL=${CONFIG_SHELL-/bin/sh}
264
# Maximum number of lines to put in a shell here document.
265
# This variable seems obsolete. It should probably be removed, and
266
# only ac_max_sed_lines should be used.
267
: ${ac_max_here_lines=38}
269
# Identity of this package.
270
PACKAGE_NAME='sphinx'
271
PACKAGE_TARNAME='sphinx'
272
PACKAGE_VERSION='0.9.8'
273
PACKAGE_STRING='sphinx 0.9.8'
274
PACKAGE_BUGREPORT='shodan(at)shodan.ru'
276
ac_unique_file="src/searchd.cpp"
277
# Factoring default headers for most tests.
278
ac_includes_default="\
281
# include <sys/types.h>
284
# include <sys/stat.h>
295
# if !STDC_HEADERS && HAVE_MEMORY_H
301
# include <strings.h>
304
# include <inttypes.h>
314
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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS MYSQL_LIBS MYSQL_CFLAGS USE_MYSQL_TRUE USE_MYSQL_FALSE pgconfig PGSQL_LIBS PGSQL_CFLAGS USE_PGSQL_TRUE USE_PGSQL_FALSE USE_LIBSTEMMER_TRUE USE_LIBSTEMMER_FALSE CONFDIR LTLIBOBJS'
317
# Initialize some variables set by options.
319
ac_init_version=false
320
# The variables have the same names as the options, with
321
# dashes changed to underlines.
329
program_transform_name=s,x,x,
337
# Installation directory options.
338
# These are left unexpanded so users can "make install exec_prefix=/foo"
339
# and all the variables that are supposed to be based on exec_prefix
340
# by default will actually change.
341
# Use braces instead of parens because sh, perl, etc. also accept them.
342
bindir='${exec_prefix}/bin'
343
sbindir='${exec_prefix}/sbin'
344
libexecdir='${exec_prefix}/libexec'
345
datadir='${prefix}/share'
346
sysconfdir='${prefix}/etc'
347
sharedstatedir='${prefix}/com'
348
localstatedir='${prefix}/var'
349
libdir='${exec_prefix}/lib'
350
includedir='${prefix}/include'
351
oldincludedir='/usr/include'
352
infodir='${prefix}/info'
353
mandir='${prefix}/man'
358
# If the previous option needs an argument, assign it.
359
if test -n "$ac_prev"; then
360
eval "$ac_prev=\$ac_option"
365
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
# Accept the important Cygnus configure options, so we can diagnose typos.
371
-bindir | --bindir | --bindi | --bind | --bin | --bi)
373
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376
-build | --build | --buil | --bui | --bu)
377
ac_prev=build_alias ;;
378
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
379
build_alias=$ac_optarg ;;
381
-cache-file | --cache-file | --cache-fil | --cache-fi \
382
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383
ac_prev=cache_file ;;
384
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386
cache_file=$ac_optarg ;;
389
cache_file=config.cache ;;
391
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395
datadir=$ac_optarg ;;
397
-disable-* | --disable-*)
398
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399
# Reject names that are not valid shell variable names.
400
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
402
{ (exit 1); exit 1; }; }
403
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404
eval "enable_$ac_feature=no" ;;
406
-enable-* | --enable-*)
407
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408
# Reject names that are not valid shell variable names.
409
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
411
{ (exit 1); exit 1; }; }
412
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417
eval "enable_$ac_feature='$ac_optarg'" ;;
419
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421
| --exec | --exe | --ex)
422
ac_prev=exec_prefix ;;
423
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425
| --exec=* | --exe=* | --ex=*)
426
exec_prefix=$ac_optarg ;;
428
-gas | --gas | --ga | --g)
429
# Obsolete; use --with-gas.
432
-help | --help | --hel | --he | -h)
434
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435
ac_init_help=recursive ;;
436
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437
ac_init_help=short ;;
439
-host | --host | --hos | --ho)
440
ac_prev=host_alias ;;
441
-host=* | --host=* | --hos=* | --ho=*)
442
host_alias=$ac_optarg ;;
444
-includedir | --includedir | --includedi | --included | --include \
445
| --includ | --inclu | --incl | --inc)
446
ac_prev=includedir ;;
447
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448
| --includ=* | --inclu=* | --incl=* | --inc=*)
449
includedir=$ac_optarg ;;
451
-infodir | --infodir | --infodi | --infod | --info | --inf)
453
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454
infodir=$ac_optarg ;;
456
-libdir | --libdir | --libdi | --libd)
458
-libdir=* | --libdir=* | --libdi=* | --libd=*)
461
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462
| --libexe | --libex | --libe)
463
ac_prev=libexecdir ;;
464
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465
| --libexe=* | --libex=* | --libe=*)
466
libexecdir=$ac_optarg ;;
468
-localstatedir | --localstatedir | --localstatedi | --localstated \
469
| --localstate | --localstat | --localsta | --localst \
470
| --locals | --local | --loca | --loc | --lo)
471
ac_prev=localstatedir ;;
472
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
474
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475
localstatedir=$ac_optarg ;;
477
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483
# Obsolete; use --without-fp.
486
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
487
| --no-cr | --no-c | -n)
490
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
491
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496
| --oldin | --oldi | --old | --ol | --o)
497
ac_prev=oldincludedir ;;
498
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501
oldincludedir=$ac_optarg ;;
503
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508
-program-prefix | --program-prefix | --program-prefi | --program-pref \
509
| --program-pre | --program-pr | --program-p)
510
ac_prev=program_prefix ;;
511
-program-prefix=* | --program-prefix=* | --program-prefi=* \
512
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513
program_prefix=$ac_optarg ;;
515
-program-suffix | --program-suffix | --program-suffi | --program-suff \
516
| --program-suf | --program-su | --program-s)
517
ac_prev=program_suffix ;;
518
-program-suffix=* | --program-suffix=* | --program-suffi=* \
519
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520
program_suffix=$ac_optarg ;;
522
-program-transform-name | --program-transform-name \
523
| --program-transform-nam | --program-transform-na \
524
| --program-transform-n | --program-transform- \
525
| --program-transform | --program-transfor \
526
| --program-transfo | --program-transf \
527
| --program-trans | --program-tran \
528
| --progr-tra | --program-tr | --program-t)
529
ac_prev=program_transform_name ;;
530
-program-transform-name=* | --program-transform-name=* \
531
| --program-transform-nam=* | --program-transform-na=* \
532
| --program-transform-n=* | --program-transform-=* \
533
| --program-transform=* | --program-transfor=* \
534
| --program-transfo=* | --program-transf=* \
535
| --program-trans=* | --program-tran=* \
536
| --progr-tra=* | --program-tr=* | --program-t=*)
537
program_transform_name=$ac_optarg ;;
539
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
540
| -silent | --silent | --silen | --sile | --sil)
543
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547
sbindir=$ac_optarg ;;
549
-sharedstatedir | --sharedstatedir | --sharedstatedi \
550
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551
| --sharedst | --shareds | --shared | --share | --shar \
553
ac_prev=sharedstatedir ;;
554
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558
sharedstatedir=$ac_optarg ;;
560
-site | --site | --sit)
562
-site=* | --site=* | --sit=*)
565
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571
| --syscon | --sysco | --sysc | --sys | --sy)
572
ac_prev=sysconfdir ;;
573
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575
sysconfdir=$ac_optarg ;;
577
-target | --target | --targe | --targ | --tar | --ta | --t)
578
ac_prev=target_alias ;;
579
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580
target_alias=$ac_optarg ;;
582
-v | -verbose | --verbose | --verbos | --verbo | --verb)
585
-version | --version | --versio | --versi | --vers | -V)
589
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590
# Reject names that are not valid shell variable names.
591
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592
{ echo "$as_me: error: invalid package name: $ac_package" >&2
593
{ (exit 1); exit 1; }; }
594
ac_package=`echo $ac_package| sed 's/-/_/g'`
596
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599
eval "with_$ac_package='$ac_optarg'" ;;
601
-without-* | --without-*)
602
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603
# Reject names that are not valid shell variable names.
604
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605
{ echo "$as_me: error: invalid package name: $ac_package" >&2
606
{ (exit 1); exit 1; }; }
607
ac_package=`echo $ac_package | sed 's/-/_/g'`
608
eval "with_$ac_package=no" ;;
611
# Obsolete; use --with-x.
614
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615
| --x-incl | --x-inc | --x-in | --x-i)
616
ac_prev=x_includes ;;
617
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619
x_includes=$ac_optarg ;;
621
-x-libraries | --x-libraries | --x-librarie | --x-librari \
622
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623
ac_prev=x_libraries ;;
624
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626
x_libraries=$ac_optarg ;;
628
-*) { echo "$as_me: error: unrecognized option: $ac_option
629
Try \`$0 --help' for more information." >&2
630
{ (exit 1); exit 1; }; }
634
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635
# Reject names that are not valid shell variable names.
636
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638
{ (exit 1); exit 1; }; }
639
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640
eval "$ac_envvar='$ac_optarg'"
644
# FIXME: should be removed in autoconf 3.0.
645
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654
if test -n "$ac_prev"; then
655
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656
{ echo "$as_me: error: missing argument to $ac_option" >&2
657
{ (exit 1); exit 1; }; }
660
# Be sure to have absolute paths.
661
for ac_var in exec_prefix prefix
663
eval ac_val=$`echo $ac_var`
665
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667
{ (exit 1); exit 1; }; };;
671
# Be sure to have absolute paths.
672
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673
localstatedir libdir includedir oldincludedir infodir mandir
675
eval ac_val=$`echo $ac_var`
677
[\\/$]* | ?:[\\/]* ) ;;
678
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679
{ (exit 1); exit 1; }; };;
683
# There might be people who depend on the old broken behavior: `$host'
684
# used to hold the argument of --host etc.
685
# FIXME: To remove some day.
690
# FIXME: To remove some day.
691
if test "x$host_alias" != x; then
692
if test "x$build_alias" = x; then
693
cross_compiling=maybe
694
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695
If a cross compiler is detected then cross compile mode will be used." >&2
696
elif test "x$build_alias" != "x$host_alias"; then
702
test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
test "$silent" = yes && exec 6>/dev/null
707
# Find the source files, if location was not specified.
708
if test -z "$srcdir"; then
709
ac_srcdir_defaulted=yes
710
# Try the directory containing this script, then its parent.
711
ac_confdir=`(dirname "$0") 2>/dev/null ||
712
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713
X"$0" : 'X\(//\)[^/]' \| \
714
X"$0" : 'X\(//\)$' \| \
715
X"$0" : 'X\(/\)' \| \
716
. : '\(.\)' 2>/dev/null ||
718
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
720
/^X\(\/\/\)$/{ s//\1/; q; }
721
/^X\(\/\).*/{ s//\1/; q; }
724
if test ! -r $srcdir/$ac_unique_file; then
728
ac_srcdir_defaulted=no
730
if test ! -r $srcdir/$ac_unique_file; then
731
if test "$ac_srcdir_defaulted" = yes; then
732
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733
{ (exit 1); exit 1; }; }
735
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736
{ (exit 1); exit 1; }; }
739
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741
{ (exit 1); exit 1; }; }
742
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743
ac_env_build_alias_set=${build_alias+set}
744
ac_env_build_alias_value=$build_alias
745
ac_cv_env_build_alias_set=${build_alias+set}
746
ac_cv_env_build_alias_value=$build_alias
747
ac_env_host_alias_set=${host_alias+set}
748
ac_env_host_alias_value=$host_alias
749
ac_cv_env_host_alias_set=${host_alias+set}
750
ac_cv_env_host_alias_value=$host_alias
751
ac_env_target_alias_set=${target_alias+set}
752
ac_env_target_alias_value=$target_alias
753
ac_cv_env_target_alias_set=${target_alias+set}
754
ac_cv_env_target_alias_value=$target_alias
755
ac_env_CC_set=${CC+set}
757
ac_cv_env_CC_set=${CC+set}
758
ac_cv_env_CC_value=$CC
759
ac_env_CFLAGS_set=${CFLAGS+set}
760
ac_env_CFLAGS_value=$CFLAGS
761
ac_cv_env_CFLAGS_set=${CFLAGS+set}
762
ac_cv_env_CFLAGS_value=$CFLAGS
763
ac_env_LDFLAGS_set=${LDFLAGS+set}
764
ac_env_LDFLAGS_value=$LDFLAGS
765
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766
ac_cv_env_LDFLAGS_value=$LDFLAGS
767
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768
ac_env_CPPFLAGS_value=$CPPFLAGS
769
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771
ac_env_CXX_set=${CXX+set}
772
ac_env_CXX_value=$CXX
773
ac_cv_env_CXX_set=${CXX+set}
774
ac_cv_env_CXX_value=$CXX
775
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
776
ac_env_CXXFLAGS_value=$CXXFLAGS
777
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
778
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
779
ac_env_CPP_set=${CPP+set}
780
ac_env_CPP_value=$CPP
781
ac_cv_env_CPP_set=${CPP+set}
782
ac_cv_env_CPP_value=$CPP
785
# Report the --help message.
787
if test "$ac_init_help" = "long"; then
788
# Omit some internal or obsolete options to make the list less imposing.
789
# This message is too long to be a string in the A/UX 3.1 sh.
791
\`configure' configures sphinx 0.9.8 to adapt to many kinds of systems.
793
Usage: $0 [OPTION]... [VAR=VALUE]...
795
To assign environment variables (e.g., CC, CFLAGS...), specify them as
796
VAR=VALUE. See below for descriptions of some of the useful variables.
798
Defaults for the options are specified in brackets.
801
-h, --help display this help and exit
802
--help=short display options specific to this package
803
--help=recursive display the short help of all the included packages
804
-V, --version display version information and exit
805
-q, --quiet, --silent do not print \`checking...' messages
806
--cache-file=FILE cache test results in FILE [disabled]
807
-C, --config-cache alias for \`--cache-file=config.cache'
808
-n, --no-create do not create output files
809
--srcdir=DIR find the sources in DIR [configure dir or \`..']
814
Installation directories:
815
--prefix=PREFIX install architecture-independent files in PREFIX
817
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
820
By default, \`make install' will install all the files in
821
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823
for instance \`--prefix=\$HOME'.
825
For better control, use the options below.
827
Fine tuning of the installation directories:
828
--bindir=DIR user executables [EPREFIX/bin]
829
--sbindir=DIR system admin executables [EPREFIX/sbin]
830
--libexecdir=DIR program executables [EPREFIX/libexec]
831
--datadir=DIR read-only architecture-independent data [PREFIX/share]
832
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
835
--libdir=DIR object code libraries [EPREFIX/lib]
836
--includedir=DIR C header files [PREFIX/include]
837
--oldincludedir=DIR C header files for non-gcc [/usr/include]
838
--infodir=DIR info documentation [PREFIX/info]
839
--mandir=DIR man documentation [PREFIX/man]
845
--program-prefix=PREFIX prepend PREFIX to installed program names
846
--program-suffix=SUFFIX append SUFFIX to installed program names
847
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
851
if test -n "$ac_init_help"; then
852
case $ac_init_help in
853
short | recursive ) echo "Configuration of sphinx 0.9.8:";;
858
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
859
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
860
--enable-maintainer-mode enable make rules and dependencies not useful
861
(and sometimes confusing) to the casual installer
862
--disable-dependency-tracking speeds up one-time build
863
--enable-dependency-tracking do not reject slow dependency extractors
864
--enable-id64 use 64-bit document and word IDs (default is no)
867
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
868
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
869
--with-debug compile slower debug version (default is disabled)
870
--with-mysql compile with MySQL support (default is enabled)
871
--with-mysql-includes path to MySQL header files
872
--with-mysql-libs path to MySQL libraries
873
--with-pgsql compile with PostgreSQL support (default is
875
--with-pgsql-includes path to PostgreSQL header files
876
--with-pgsql-libs path to PostgreSQL libraries
877
--with-libstemmer compile with libstemmer support (default is
879
--with-iconv compile with iconv support (default is autodetect)
881
Some influential environment variables:
882
CC C compiler command
883
CFLAGS C compiler flags
884
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
885
nonstandard directory <lib dir>
886
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
887
headers in a nonstandard directory <include dir>
888
CXX C++ compiler command
889
CXXFLAGS C++ compiler flags
892
Use these variables to override the choices made by `configure' or to help
893
it to find libraries and programs with nonstandard names/locations.
895
Report bugs to <shodan(at)shodan.ru>.
899
if test "$ac_init_help" = "recursive"; then
900
# If there are subdirs, report their specific --help.
902
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
903
test -d $ac_dir || continue
906
if test "$ac_dir" != .; then
907
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
908
# A "../" for each directory in $ac_dir_suffix.
909
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
911
ac_dir_suffix= ac_top_builddir=
915
.) # No --srcdir option. We are building in place.
917
if test -z "$ac_top_builddir"; then
920
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
922
[\\/]* | ?:[\\/]* ) # Absolute path.
923
ac_srcdir=$srcdir$ac_dir_suffix;
924
ac_top_srcdir=$srcdir ;;
926
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
927
ac_top_srcdir=$ac_top_builddir$srcdir ;;
930
# Do not use `cd foo && pwd` to compute absolute paths, because
931
# the directories may not exist.
933
.) ac_abs_builddir="$ac_dir";;
936
.) ac_abs_builddir=`pwd`;;
937
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
938
*) ac_abs_builddir=`pwd`/"$ac_dir";;
941
case $ac_abs_builddir in
942
.) ac_abs_top_builddir=${ac_top_builddir}.;;
944
case ${ac_top_builddir}. in
945
.) ac_abs_top_builddir=$ac_abs_builddir;;
946
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
947
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
950
case $ac_abs_builddir in
951
.) ac_abs_srcdir=$ac_srcdir;;
954
.) ac_abs_srcdir=$ac_abs_builddir;;
955
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
956
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
959
case $ac_abs_builddir in
960
.) ac_abs_top_srcdir=$ac_top_srcdir;;
962
case $ac_top_srcdir in
963
.) ac_abs_top_srcdir=$ac_abs_builddir;;
964
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
965
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
970
# Check for guested configure; otherwise get Cygnus style configure.
971
if test -f $ac_srcdir/configure.gnu; then
973
$SHELL $ac_srcdir/configure.gnu --help=recursive
974
elif test -f $ac_srcdir/configure; then
976
$SHELL $ac_srcdir/configure --help=recursive
977
elif test -f $ac_srcdir/configure.ac ||
978
test -f $ac_srcdir/configure.in; then
982
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
988
test -n "$ac_init_help" && exit 0
989
if $ac_init_version; then
991
sphinx configure 0.9.8
992
generated by GNU Autoconf 2.59
994
Copyright (C) 2003 Free Software Foundation, Inc.
995
This configure script is free software; the Free Software Foundation
996
gives unlimited permission to copy, distribute and modify it.
1002
This file contains any messages produced by compilers while
1003
running configure, to aid debugging if configure makes a mistake.
1005
It was created by sphinx $as_me 0.9.8, which was
1006
generated by GNU Autoconf 2.59. Invocation command line was
1017
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1018
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1019
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1020
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1021
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1023
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1024
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1026
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1027
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1028
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1029
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1030
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1031
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1032
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1036
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1040
test -z "$as_dir" && as_dir=.
1041
echo "PATH: $as_dir"
1056
# Keep a trace of the command line.
1057
# Strip out --no-create and --no-recursion so they do not pile up.
1058
# Strip out --silent because we don't want to record it for future runs.
1059
# Also quote any args containing shell meta-characters.
1060
# Make two passes to allow for proper duplicate-argument suppression.
1065
ac_must_keep_next=false
1071
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1072
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1073
| -silent | --silent | --silen | --sile | --sil)
1075
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1076
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1079
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1081
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1082
if test $ac_must_keep_next = true; then
1083
ac_must_keep_next=false # Got value, back to normal.
1086
*=* | --config-cache | -C | -disable-* | --disable-* \
1087
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1088
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1089
| -with-* | --with-* | -without-* | --without-* | --x)
1090
case "$ac_configure_args0 " in
1091
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1094
-* ) ac_must_keep_next=true ;;
1097
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1098
# Get rid of the leading space.
1104
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1105
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1107
# When interrupted or exit'd, cleanup temporary files, and complete
1108
# config.log. We remove comments because anyway the quotes in there
1109
# would cause problems or look ugly.
1110
# WARNING: Be sure not to use single quotes in there, as some shells,
1111
# such as our DU 5.0 friend, will then `close' the trap.
1112
trap 'exit_status=$?
1113
# Save into config.log some information that might help in debugging.
1118
## ---------------- ##
1119
## Cache variables. ##
1120
## ---------------- ##
1123
# The following way of writing the cache mishandles newlines in values,
1126
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1129
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1130
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1134
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1141
## ----------------- ##
1142
## Output variables. ##
1143
## ----------------- ##
1146
for ac_var in $ac_subst_vars
1148
eval ac_val=$`echo $ac_var`
1149
echo "$ac_var='"'"'$ac_val'"'"'"
1153
if test -n "$ac_subst_files"; then
1160
for ac_var in $ac_subst_files
1162
eval ac_val=$`echo $ac_var`
1163
echo "$ac_var='"'"'$ac_val'"'"'"
1168
if test -s confdefs.h; then
1175
sed "/^$/d" confdefs.h | sort
1178
test "$ac_signal" != 0 &&
1179
echo "$as_me: caught signal $ac_signal"
1180
echo "$as_me: exit $exit_status"
1182
rm -f core *.core &&
1183
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1186
for ac_signal in 1 2 13 15; do
1187
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1191
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1192
rm -rf conftest* confdefs.h
1193
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1196
# Predefined preprocessor variables.
1198
cat >>confdefs.h <<_ACEOF
1199
#define PACKAGE_NAME "$PACKAGE_NAME"
1203
cat >>confdefs.h <<_ACEOF
1204
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1208
cat >>confdefs.h <<_ACEOF
1209
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1213
cat >>confdefs.h <<_ACEOF
1214
#define PACKAGE_STRING "$PACKAGE_STRING"
1218
cat >>confdefs.h <<_ACEOF
1219
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1223
# Let the site file select an alternate cache file if it wants to.
1224
# Prefer explicitly selected file to automatically selected ones.
1225
if test -z "$CONFIG_SITE"; then
1226
if test "x$prefix" != xNONE; then
1227
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1229
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1232
for ac_site_file in $CONFIG_SITE; do
1233
if test -r "$ac_site_file"; then
1234
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1235
echo "$as_me: loading site script $ac_site_file" >&6;}
1236
sed 's/^/| /' "$ac_site_file" >&5
1241
if test -r "$cache_file"; then
1242
# Some versions of bash will fail to source /dev/null (special
1243
# files actually), so we avoid doing that.
1244
if test -f "$cache_file"; then
1245
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1246
echo "$as_me: loading cache $cache_file" >&6;}
1248
[\\/]* | ?:[\\/]* ) . $cache_file;;
1249
*) . ./$cache_file;;
1253
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1254
echo "$as_me: creating cache $cache_file" >&6;}
1258
# Check that the precious variables saved in the cache have kept the same
1260
ac_cache_corrupted=false
1261
for ac_var in `(set) 2>&1 |
1262
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1263
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1264
eval ac_new_set=\$ac_env_${ac_var}_set
1265
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1266
eval ac_new_val="\$ac_env_${ac_var}_value"
1267
case $ac_old_set,$ac_new_set in
1269
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1270
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1271
ac_cache_corrupted=: ;;
1273
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1274
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1275
ac_cache_corrupted=: ;;
1278
if test "x$ac_old_val" != "x$ac_new_val"; then
1279
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1280
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1281
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1282
echo "$as_me: former value: $ac_old_val" >&2;}
1283
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1284
echo "$as_me: current value: $ac_new_val" >&2;}
1285
ac_cache_corrupted=:
1288
# Pass precious variables to config.status.
1289
if test "$ac_new_set" = set; then
1291
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1292
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1293
*) ac_arg=$ac_var=$ac_new_val ;;
1295
case " $ac_configure_args " in
1296
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1297
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1301
if $ac_cache_corrupted; then
1302
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1303
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1304
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1305
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1306
{ (exit 1); exit 1; }; }
1310
ac_cpp='$CPP $CPPFLAGS'
1311
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1312
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1313
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1344
echo "$as_me:$LINENO: result: " >&5
1345
echo "${ECHO_T}" >&6
1346
echo "$as_me:$LINENO: result: checking build environment" >&5
1347
echo "${ECHO_T}checking build environment" >&6
1348
TMP=`echo checking build environment | sed -e sX.X-Xg`
1349
echo "$as_me:$LINENO: result: $TMP" >&5
1350
echo "${ECHO_T}$TMP" >&6
1351
echo "$as_me:$LINENO: result: " >&5
1352
echo "${ECHO_T}" >&6
1356
for ac_dir in config $srcdir/config; do
1357
if test -f $ac_dir/install-sh; then
1359
ac_install_sh="$ac_aux_dir/install-sh -c"
1361
elif test -f $ac_dir/install.sh; then
1363
ac_install_sh="$ac_aux_dir/install.sh -c"
1365
elif test -f $ac_dir/shtool; then
1367
ac_install_sh="$ac_aux_dir/shtool install -c"
1371
if test -z "$ac_aux_dir"; then
1372
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1373
echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1374
{ (exit 1); exit 1; }; }
1376
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1377
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1378
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1380
am__api_version="1.9"
1381
# Find a good install program. We prefer a C program (faster),
1382
# so one script is as good as another. But avoid the broken or
1383
# incompatible versions:
1384
# SysV /etc/install, /usr/sbin/install
1385
# SunOS /usr/etc/install
1386
# IRIX /sbin/install
1388
# AmigaOS /C/install, which installs bootblocks on floppy discs
1389
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1390
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1391
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1392
# OS/2's system install, which has a completely different semantic
1393
# ./install, which can be erroneously created by make from ./install.sh.
1394
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1395
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1396
if test -z "$INSTALL"; then
1397
if test "${ac_cv_path_install+set}" = set; then
1398
echo $ECHO_N "(cached) $ECHO_C" >&6
1400
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1404
test -z "$as_dir" && as_dir=.
1405
# Account for people who put trailing slashes in PATH elements.
1407
./ | .// | /cC/* | \
1408
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1409
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1412
# OSF1 and SCO ODT 3.0 have their own names for install.
1413
# Don't use installbsd from OSF since it installs stuff as root
1415
for ac_prog in ginstall scoinst install; do
1416
for ac_exec_ext in '' $ac_executable_extensions; do
1417
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1418
if test $ac_prog = install &&
1419
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1420
# AIX install. It has an incompatible calling convention.
1422
elif test $ac_prog = install &&
1423
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1424
# program-specific install script used by HP pwplus--don't use.
1427
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1439
if test "${ac_cv_path_install+set}" = set; then
1440
INSTALL=$ac_cv_path_install
1442
# As a last resort, use the slow shell script. We don't cache a
1443
# path for INSTALL within a source directory, because that will
1444
# break other packages using the cache if that directory is
1445
# removed, or if the path is relative.
1446
INSTALL=$ac_install_sh
1449
echo "$as_me:$LINENO: result: $INSTALL" >&5
1450
echo "${ECHO_T}$INSTALL" >&6
1452
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1453
# It thinks the first close brace ends the variable substitution.
1454
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1456
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1458
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1460
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1461
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1464
echo timestamp > conftest.file
1465
# Do `set' in a subshell so we don't clobber the current shell's
1466
# arguments. Must try -L first in case configure is actually a
1467
# symlink; some systems play weird games with the mod time of symlinks
1468
# (eg FreeBSD returns the mod time of the symlink's containing
1471
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1472
if test "$*" = "X"; then
1474
set X `ls -t $srcdir/configure conftest.file`
1477
if test "$*" != "X $srcdir/configure conftest.file" \
1478
&& test "$*" != "X conftest.file $srcdir/configure"; then
1480
# If neither matched, then we have a broken ls. This can happen
1481
# if, for instance, CONFIG_SHELL is bash and it inherits a
1482
# broken ls alias from the environment. This has actually
1483
# happened. Such a system could not be considered "sane".
1484
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1485
alias in your environment" >&5
1486
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1487
alias in your environment" >&2;}
1488
{ (exit 1); exit 1; }; }
1491
test "$2" = conftest.file
1497
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1498
Check your system clock" >&5
1499
echo "$as_me: error: newly created file is older than distributed files!
1500
Check your system clock" >&2;}
1501
{ (exit 1); exit 1; }; }
1503
echo "$as_me:$LINENO: result: yes" >&5
1504
echo "${ECHO_T}yes" >&6
1505
test "$program_prefix" != NONE &&
1506
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1507
# Use a double $ so make ignores it.
1508
test "$program_suffix" != NONE &&
1509
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1510
# Double any \ or $. echo might interpret backslashes.
1511
# By default was `s,x,x', remove it if useless.
1512
cat <<\_ACEOF >conftest.sed
1513
s/[\\$]/&&/g;s/;s,x,x,$//
1515
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1518
# expand $ac_aux_dir to an absolute path
1519
am_aux_dir=`cd $ac_aux_dir && pwd`
1521
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1522
# Use eval to expand $SHELL
1523
if eval "$MISSING --run true"; then
1524
am_missing_run="$MISSING --run "
1527
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1528
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1531
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1532
# We used to keeping the `.' as first argument, in order to
1533
# allow $(mkdir_p) to be used without argument. As in
1534
# $(mkdir_p) $(somedir)
1535
# where $(somedir) is conditionally defined. However this is wrong
1537
# 1. if the package is installed by a user who cannot write `.'
1538
# make install will fail,
1539
# 2. the above comment should most certainly read
1540
# $(mkdir_p) $(DESTDIR)$(somedir)
1541
# so it does not work when $(somedir) is undefined and
1542
# $(DESTDIR) is not.
1543
# To support the latter case, we have to write
1544
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1545
# so the `.' trick is pointless.
1546
mkdir_p='mkdir -p --'
1548
# On NextStep and OpenStep, the `mkdir' command does not
1549
# recognize any option. It will interpret all options as
1550
# directories to create, and then abort because `.' already
1552
for d in ./-p ./--version;
1554
test -d $d && rmdir $d
1556
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1557
if test -f "$ac_aux_dir/mkinstalldirs"; then
1558
mkdir_p='$(mkinstalldirs)'
1560
mkdir_p='$(install_sh) -d'
1564
for ac_prog in gawk mawk nawk awk
1566
# Extract the first word of "$ac_prog", so it can be a program name with args.
1567
set dummy $ac_prog; ac_word=$2
1568
echo "$as_me:$LINENO: checking for $ac_word" >&5
1569
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1570
if test "${ac_cv_prog_AWK+set}" = set; then
1571
echo $ECHO_N "(cached) $ECHO_C" >&6
1573
if test -n "$AWK"; then
1574
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1576
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1580
test -z "$as_dir" && as_dir=.
1581
for ac_exec_ext in '' $ac_executable_extensions; do
1582
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1583
ac_cv_prog_AWK="$ac_prog"
1584
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1593
if test -n "$AWK"; then
1594
echo "$as_me:$LINENO: result: $AWK" >&5
1595
echo "${ECHO_T}$AWK" >&6
1597
echo "$as_me:$LINENO: result: no" >&5
1598
echo "${ECHO_T}no" >&6
1601
test -n "$AWK" && break
1604
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1605
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1606
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1607
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1608
echo $ECHO_N "(cached) $ECHO_C" >&6
1610
cat >conftest.make <<\_ACEOF
1612
@echo 'ac_maketemp="$(MAKE)"'
1614
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1615
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1616
if test -n "$ac_maketemp"; then
1617
eval ac_cv_prog_make_${ac_make}_set=yes
1619
eval ac_cv_prog_make_${ac_make}_set=no
1623
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1624
echo "$as_me:$LINENO: result: yes" >&5
1625
echo "${ECHO_T}yes" >&6
1628
echo "$as_me:$LINENO: result: no" >&5
1629
echo "${ECHO_T}no" >&6
1630
SET_MAKE="MAKE=${MAKE-make}"
1633
rm -rf .tst 2>/dev/null
1634
mkdir .tst 2>/dev/null
1635
if test -d .tst; then
1640
rmdir .tst 2>/dev/null
1642
# test to see if srcdir already configured
1643
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1644
test -f $srcdir/config.status; then
1645
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1646
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1647
{ (exit 1); exit 1; }; }
1650
# test whether we have cygpath
1651
if test -z "$CYGPATH_W"; then
1652
if (cygpath --version) >/dev/null 2>/dev/null; then
1653
CYGPATH_W='cygpath -w'
1660
# Define the identity of the package.
1665
cat >>confdefs.h <<_ACEOF
1666
#define PACKAGE "$PACKAGE"
1670
cat >>confdefs.h <<_ACEOF
1671
#define VERSION "$VERSION"
1674
# Some tools Automake needs.
1676
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1679
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1682
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1685
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1688
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1690
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1692
# Installed binaries are usually stripped using `strip' when the user
1693
# run `make install-strip'. However `strip' might not be the right
1694
# tool to use in cross-compilation environments, therefore Automake
1695
# will honor the `STRIP' environment variable to overrule this program.
1696
if test "$cross_compiling" != no; then
1697
if test -n "$ac_tool_prefix"; then
1698
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1699
set dummy ${ac_tool_prefix}strip; ac_word=$2
1700
echo "$as_me:$LINENO: checking for $ac_word" >&5
1701
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1702
if test "${ac_cv_prog_STRIP+set}" = set; then
1703
echo $ECHO_N "(cached) $ECHO_C" >&6
1705
if test -n "$STRIP"; then
1706
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1708
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712
test -z "$as_dir" && as_dir=.
1713
for ac_exec_ext in '' $ac_executable_extensions; do
1714
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1715
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1716
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1724
STRIP=$ac_cv_prog_STRIP
1725
if test -n "$STRIP"; then
1726
echo "$as_me:$LINENO: result: $STRIP" >&5
1727
echo "${ECHO_T}$STRIP" >&6
1729
echo "$as_me:$LINENO: result: no" >&5
1730
echo "${ECHO_T}no" >&6
1734
if test -z "$ac_cv_prog_STRIP"; then
1736
# Extract the first word of "strip", so it can be a program name with args.
1737
set dummy strip; ac_word=$2
1738
echo "$as_me:$LINENO: checking for $ac_word" >&5
1739
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1740
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1741
echo $ECHO_N "(cached) $ECHO_C" >&6
1743
if test -n "$ac_ct_STRIP"; then
1744
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1746
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1750
test -z "$as_dir" && as_dir=.
1751
for ac_exec_ext in '' $ac_executable_extensions; do
1752
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1753
ac_cv_prog_ac_ct_STRIP="strip"
1754
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1763
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1764
if test -n "$ac_ct_STRIP"; then
1765
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1766
echo "${ECHO_T}$ac_ct_STRIP" >&6
1768
echo "$as_me:$LINENO: result: no" >&5
1769
echo "${ECHO_T}no" >&6
1774
STRIP="$ac_cv_prog_STRIP"
1778
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1780
# We need awk for the "check" target. The system "awk" is bad on
1782
# Always define AMTAR for backward compatibility.
1784
AMTAR=${AMTAR-"${am_missing_run}tar"}
1786
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1792
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1793
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1794
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1795
if test "${enable_maintainer_mode+set}" = set; then
1796
enableval="$enable_maintainer_mode"
1797
USE_MAINTAINER_MODE=$enableval
1799
USE_MAINTAINER_MODE=no
1801
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1802
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1805
if test $USE_MAINTAINER_MODE = yes; then
1806
MAINTAINER_MODE_TRUE=
1807
MAINTAINER_MODE_FALSE='#'
1809
MAINTAINER_MODE_TRUE='#'
1810
MAINTAINER_MODE_FALSE=
1813
MAINT=$MAINTAINER_MODE_TRUE
1817
ac_config_headers="$ac_config_headers config/config.h"
1820
# hack to locate expat/iconv in /usr/local on BSD systems
1821
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
1822
LIBS="$LIBS -L/usr/local/lib"
1826
echo "$as_me:$LINENO: result: " >&5
1827
echo "${ECHO_T}" >&6
1828
echo "$as_me:$LINENO: result: checking for compiler programs" >&5
1829
echo "${ECHO_T}checking for compiler programs" >&6
1830
TMP=`echo checking for compiler programs | sed -e sX.X-Xg`
1831
echo "$as_me:$LINENO: result: $TMP" >&5
1832
echo "${ECHO_T}$TMP" >&6
1833
echo "$as_me:$LINENO: result: " >&5
1834
echo "${ECHO_T}" >&6
1838
# Check whether --with-debug or --without-debug was given.
1839
if test "${with_debug+set}" = set; then
1840
withval="$with_debug"
1841
ac_cv_use_debug=$withval
1847
echo "$as_me:$LINENO: checking whether to compile debug version" >&5
1848
echo $ECHO_N "checking whether to compile debug version... $ECHO_C" >&6
1849
if test x$ac_cv_use_debug != xno; then
1850
SPHINX_CFLAGS="-Wall -g -D_FILE_OFFSET_BITS=64"
1851
SPHINX_INJECT_FLAGS="-D_FILE_OFFSET_BITS=64"
1852
echo "$as_me:$LINENO: result: yes" >&5
1853
echo "${ECHO_T}yes" >&6
1855
SPHINX_CFLAGS="-Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG"
1856
SPHINX_INJECT_FLAGS="-D_FILE_OFFSET_BITS=64 -DNDEBUG"
1857
echo "$as_me:$LINENO: result: no" >&5
1858
echo "${ECHO_T}no" >&6
1861
if test x$ac_env_CFLAGS_set != xset; then
1862
CFLAGS=$SPHINX_CFLAGS
1864
CFLAGS="$CFLAGS $SPHINX_INJECT_FLAGS"
1867
if test x$ac_env_CXXFLAGS_set != xset; then
1868
CXXFLAGS=$SPHINX_CFLAGS
1870
CXXFLAGS="$CXXFLAGS $SPHINX_INJECT_FLAGS"
1874
ac_cpp='$CPP $CPPFLAGS'
1875
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1876
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1877
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1878
if test -n "$ac_tool_prefix"; then
1879
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1880
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1881
echo "$as_me:$LINENO: checking for $ac_word" >&5
1882
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1883
if test "${ac_cv_prog_CC+set}" = set; then
1884
echo $ECHO_N "(cached) $ECHO_C" >&6
1886
if test -n "$CC"; then
1887
ac_cv_prog_CC="$CC" # Let the user override the test.
1889
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893
test -z "$as_dir" && as_dir=.
1894
for ac_exec_ext in '' $ac_executable_extensions; do
1895
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1897
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906
if test -n "$CC"; then
1907
echo "$as_me:$LINENO: result: $CC" >&5
1908
echo "${ECHO_T}$CC" >&6
1910
echo "$as_me:$LINENO: result: no" >&5
1911
echo "${ECHO_T}no" >&6
1915
if test -z "$ac_cv_prog_CC"; then
1917
# Extract the first word of "gcc", so it can be a program name with args.
1918
set dummy gcc; ac_word=$2
1919
echo "$as_me:$LINENO: checking for $ac_word" >&5
1920
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1921
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1922
echo $ECHO_N "(cached) $ECHO_C" >&6
1924
if test -n "$ac_ct_CC"; then
1925
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931
test -z "$as_dir" && as_dir=.
1932
for ac_exec_ext in '' $ac_executable_extensions; do
1933
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1934
ac_cv_prog_ac_ct_CC="gcc"
1935
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1943
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1944
if test -n "$ac_ct_CC"; then
1945
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1946
echo "${ECHO_T}$ac_ct_CC" >&6
1948
echo "$as_me:$LINENO: result: no" >&5
1949
echo "${ECHO_T}no" >&6
1957
if test -z "$CC"; then
1958
if test -n "$ac_tool_prefix"; then
1959
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1960
set dummy ${ac_tool_prefix}cc; ac_word=$2
1961
echo "$as_me:$LINENO: checking for $ac_word" >&5
1962
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1963
if test "${ac_cv_prog_CC+set}" = set; then
1964
echo $ECHO_N "(cached) $ECHO_C" >&6
1966
if test -n "$CC"; then
1967
ac_cv_prog_CC="$CC" # Let the user override the test.
1969
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973
test -z "$as_dir" && as_dir=.
1974
for ac_exec_ext in '' $ac_executable_extensions; do
1975
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1976
ac_cv_prog_CC="${ac_tool_prefix}cc"
1977
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1986
if test -n "$CC"; then
1987
echo "$as_me:$LINENO: result: $CC" >&5
1988
echo "${ECHO_T}$CC" >&6
1990
echo "$as_me:$LINENO: result: no" >&5
1991
echo "${ECHO_T}no" >&6
1995
if test -z "$ac_cv_prog_CC"; then
1997
# Extract the first word of "cc", so it can be a program name with args.
1998
set dummy cc; ac_word=$2
1999
echo "$as_me:$LINENO: checking for $ac_word" >&5
2000
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2001
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2002
echo $ECHO_N "(cached) $ECHO_C" >&6
2004
if test -n "$ac_ct_CC"; then
2005
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2007
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2011
test -z "$as_dir" && as_dir=.
2012
for ac_exec_ext in '' $ac_executable_extensions; do
2013
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2014
ac_cv_prog_ac_ct_CC="cc"
2015
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2023
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2024
if test -n "$ac_ct_CC"; then
2025
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2026
echo "${ECHO_T}$ac_ct_CC" >&6
2028
echo "$as_me:$LINENO: result: no" >&5
2029
echo "${ECHO_T}no" >&6
2038
if test -z "$CC"; then
2039
# Extract the first word of "cc", so it can be a program name with args.
2040
set dummy cc; ac_word=$2
2041
echo "$as_me:$LINENO: checking for $ac_word" >&5
2042
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2043
if test "${ac_cv_prog_CC+set}" = set; then
2044
echo $ECHO_N "(cached) $ECHO_C" >&6
2046
if test -n "$CC"; then
2047
ac_cv_prog_CC="$CC" # Let the user override the test.
2050
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054
test -z "$as_dir" && as_dir=.
2055
for ac_exec_ext in '' $ac_executable_extensions; do
2056
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2058
ac_prog_rejected=yes
2062
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068
if test $ac_prog_rejected = yes; then
2069
# We found a bogon in the path, so make sure we never use it.
2070
set dummy $ac_cv_prog_CC
2072
if test $# != 0; then
2073
# We chose a different compiler from the bogus one.
2074
# However, it has the same basename, so the bogon will be chosen
2075
# first if we set CC to just the basename; use the full file name.
2077
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2083
if test -n "$CC"; then
2084
echo "$as_me:$LINENO: result: $CC" >&5
2085
echo "${ECHO_T}$CC" >&6
2087
echo "$as_me:$LINENO: result: no" >&5
2088
echo "${ECHO_T}no" >&6
2092
if test -z "$CC"; then
2093
if test -n "$ac_tool_prefix"; then
2096
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2097
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2098
echo "$as_me:$LINENO: checking for $ac_word" >&5
2099
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2100
if test "${ac_cv_prog_CC+set}" = set; then
2101
echo $ECHO_N "(cached) $ECHO_C" >&6
2103
if test -n "$CC"; then
2104
ac_cv_prog_CC="$CC" # Let the user override the test.
2106
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110
test -z "$as_dir" && as_dir=.
2111
for ac_exec_ext in '' $ac_executable_extensions; do
2112
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2113
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2114
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123
if test -n "$CC"; then
2124
echo "$as_me:$LINENO: result: $CC" >&5
2125
echo "${ECHO_T}$CC" >&6
2127
echo "$as_me:$LINENO: result: no" >&5
2128
echo "${ECHO_T}no" >&6
2131
test -n "$CC" && break
2134
if test -z "$CC"; then
2138
# Extract the first word of "$ac_prog", so it can be a program name with args.
2139
set dummy $ac_prog; ac_word=$2
2140
echo "$as_me:$LINENO: checking for $ac_word" >&5
2141
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2142
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2143
echo $ECHO_N "(cached) $ECHO_C" >&6
2145
if test -n "$ac_ct_CC"; then
2146
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2148
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152
test -z "$as_dir" && as_dir=.
2153
for ac_exec_ext in '' $ac_executable_extensions; do
2154
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2155
ac_cv_prog_ac_ct_CC="$ac_prog"
2156
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2164
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2165
if test -n "$ac_ct_CC"; then
2166
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2167
echo "${ECHO_T}$ac_ct_CC" >&6
2169
echo "$as_me:$LINENO: result: no" >&5
2170
echo "${ECHO_T}no" >&6
2173
test -n "$ac_ct_CC" && break
2182
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2183
See \`config.log' for more details." >&5
2184
echo "$as_me: error: no acceptable C compiler found in \$PATH
2185
See \`config.log' for more details." >&2;}
2186
{ (exit 1); exit 1; }; }
2188
# Provide some information about the compiler.
2189
echo "$as_me:$LINENO:" \
2190
"checking for C compiler version" >&5
2191
ac_compiler=`set X $ac_compile; echo $2`
2192
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2193
(eval $ac_compiler --version </dev/null >&5) 2>&5
2195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196
(exit $ac_status); }
2197
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2198
(eval $ac_compiler -v </dev/null >&5) 2>&5
2200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201
(exit $ac_status); }
2202
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2203
(eval $ac_compiler -V </dev/null >&5) 2>&5
2205
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206
(exit $ac_status); }
2208
cat >conftest.$ac_ext <<_ACEOF
2211
cat confdefs.h >>conftest.$ac_ext
2212
cat >>conftest.$ac_ext <<_ACEOF
2213
/* end confdefs.h. */
2223
ac_clean_files_save=$ac_clean_files
2224
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2225
# Try to create an executable without -o first, disregard a.out.
2226
# It will help us diagnose broken compilers, and finding out an intuition
2228
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2229
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2230
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2231
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2232
(eval $ac_link_default) 2>&5
2234
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235
(exit $ac_status); }; then
2236
# Find the output, starting from the most likely. This scheme is
2237
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2240
# Be careful to initialize this variable, since it used to be cached.
2241
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2243
# b.out is created by i960 compilers.
2244
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2246
test -f "$ac_file" || continue
2248
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2251
# This is the source file.
2254
# We found the default executable, but exeext='' is most
2258
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2259
# FIXME: I believe we export ac_cv_exeext for Libtool,
2260
# but it would be cool to find out if it's true. Does anybody
2261
# maintain Libtool? --akim.
2269
echo "$as_me: failed program was:" >&5
2270
sed 's/^/| /' conftest.$ac_ext >&5
2272
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2273
See \`config.log' for more details." >&5
2274
echo "$as_me: error: C compiler cannot create executables
2275
See \`config.log' for more details." >&2;}
2276
{ (exit 77); exit 77; }; }
2279
ac_exeext=$ac_cv_exeext
2280
echo "$as_me:$LINENO: result: $ac_file" >&5
2281
echo "${ECHO_T}$ac_file" >&6
2283
# Check the compiler produces executables we can run. If not, either
2284
# the compiler is broken, or we cross compile.
2285
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2286
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2287
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2288
# If not cross compiling, check that we can run a simple program.
2289
if test "$cross_compiling" != yes; then
2290
if { ac_try='./$ac_file'
2291
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295
(exit $ac_status); }; }; then
2298
if test "$cross_compiling" = maybe; then
2301
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2302
If you meant to cross compile, use \`--host'.
2303
See \`config.log' for more details." >&5
2304
echo "$as_me: error: cannot run C compiled programs.
2305
If you meant to cross compile, use \`--host'.
2306
See \`config.log' for more details." >&2;}
2307
{ (exit 1); exit 1; }; }
2311
echo "$as_me:$LINENO: result: yes" >&5
2312
echo "${ECHO_T}yes" >&6
2314
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2315
ac_clean_files=$ac_clean_files_save
2316
# Check the compiler produces executables we can run. If not, either
2317
# the compiler is broken, or we cross compile.
2318
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2319
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2320
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2321
echo "${ECHO_T}$cross_compiling" >&6
2323
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2324
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2325
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2326
(eval $ac_link) 2>&5
2328
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329
(exit $ac_status); }; then
2330
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2331
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2332
# work properly (i.e., refer to `conftest.exe'), while it won't with
2334
for ac_file in conftest.exe conftest conftest.*; do
2335
test -f "$ac_file" || continue
2337
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2338
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2345
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2346
See \`config.log' for more details." >&5
2347
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2348
See \`config.log' for more details." >&2;}
2349
{ (exit 1); exit 1; }; }
2352
rm -f conftest$ac_cv_exeext
2353
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2354
echo "${ECHO_T}$ac_cv_exeext" >&6
2356
rm -f conftest.$ac_ext
2357
EXEEXT=$ac_cv_exeext
2359
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2360
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2361
if test "${ac_cv_objext+set}" = set; then
2362
echo $ECHO_N "(cached) $ECHO_C" >&6
2364
cat >conftest.$ac_ext <<_ACEOF
2367
cat confdefs.h >>conftest.$ac_ext
2368
cat >>conftest.$ac_ext <<_ACEOF
2369
/* end confdefs.h. */
2379
rm -f conftest.o conftest.obj
2380
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2381
(eval $ac_compile) 2>&5
2383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384
(exit $ac_status); }; then
2385
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2387
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2388
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2393
echo "$as_me: failed program was:" >&5
2394
sed 's/^/| /' conftest.$ac_ext >&5
2396
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2397
See \`config.log' for more details." >&5
2398
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2399
See \`config.log' for more details." >&2;}
2400
{ (exit 1); exit 1; }; }
2403
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2405
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2406
echo "${ECHO_T}$ac_cv_objext" >&6
2407
OBJEXT=$ac_cv_objext
2409
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2410
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2411
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2412
echo $ECHO_N "(cached) $ECHO_C" >&6
2414
cat >conftest.$ac_ext <<_ACEOF
2417
cat confdefs.h >>conftest.$ac_ext
2418
cat >>conftest.$ac_ext <<_ACEOF
2419
/* end confdefs.h. */
2432
rm -f conftest.$ac_objext
2433
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2434
(eval $ac_compile) 2>conftest.er1
2436
grep -v '^ *+' conftest.er1 >conftest.err
2438
cat conftest.err >&5
2439
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440
(exit $ac_status); } &&
2441
{ ac_try='test -z "$ac_c_werror_flag"
2442
|| test ! -s conftest.err'
2443
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2446
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447
(exit $ac_status); }; } &&
2448
{ ac_try='test -s conftest.$ac_objext'
2449
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453
(exit $ac_status); }; }; then
2456
echo "$as_me: failed program was:" >&5
2457
sed 's/^/| /' conftest.$ac_ext >&5
2461
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2462
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2465
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2466
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2467
GCC=`test $ac_compiler_gnu = yes && echo yes`
2468
ac_test_CFLAGS=${CFLAGS+set}
2469
ac_save_CFLAGS=$CFLAGS
2471
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2472
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2473
if test "${ac_cv_prog_cc_g+set}" = set; then
2474
echo $ECHO_N "(cached) $ECHO_C" >&6
2476
cat >conftest.$ac_ext <<_ACEOF
2479
cat confdefs.h >>conftest.$ac_ext
2480
cat >>conftest.$ac_ext <<_ACEOF
2481
/* end confdefs.h. */
2491
rm -f conftest.$ac_objext
2492
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2493
(eval $ac_compile) 2>conftest.er1
2495
grep -v '^ *+' conftest.er1 >conftest.err
2497
cat conftest.err >&5
2498
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499
(exit $ac_status); } &&
2500
{ ac_try='test -z "$ac_c_werror_flag"
2501
|| test ! -s conftest.err'
2502
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506
(exit $ac_status); }; } &&
2507
{ ac_try='test -s conftest.$ac_objext'
2508
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512
(exit $ac_status); }; }; then
2515
echo "$as_me: failed program was:" >&5
2516
sed 's/^/| /' conftest.$ac_ext >&5
2520
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2522
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2523
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2524
if test "$ac_test_CFLAGS" = set; then
2525
CFLAGS=$ac_save_CFLAGS
2526
elif test $ac_cv_prog_cc_g = yes; then
2527
if test "$GCC" = yes; then
2533
if test "$GCC" = yes; then
2539
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2540
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2541
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2542
echo $ECHO_N "(cached) $ECHO_C" >&6
2544
ac_cv_prog_cc_stdc=no
2546
cat >conftest.$ac_ext <<_ACEOF
2549
cat confdefs.h >>conftest.$ac_ext
2550
cat >>conftest.$ac_ext <<_ACEOF
2551
/* end confdefs.h. */
2554
#include <sys/types.h>
2555
#include <sys/stat.h>
2556
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2557
struct buf { int x; };
2558
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2559
static char *e (p, i)
2565
static char *f (char * (*g) (char **, int), char **p, ...)
2570
s = g (p, va_arg (v,int));
2575
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2576
function prototypes and stuff, but not '\xHH' hex character constants.
2577
These don't provoke an error unfortunately, instead are silently treated
2578
as 'x'. The following induces an error, until -std1 is added to get
2579
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2580
array size at least. It's necessary to write '\x00'==0 to get something
2581
that's true only with -std1. */
2582
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2584
int test (int i, double x);
2585
struct s1 {int (*f) (int a);};
2586
struct s2 {int (*f) (double a);};
2587
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2593
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2598
# Don't try gcc -ansi; that turns off useful extensions and
2599
# breaks some systems' header files.
2600
# AIX -qlanglvl=ansi
2601
# Ultrix and OSF/1 -std1
2602
# HP-UX 10.20 and later -Ae
2603
# HP-UX older versions -Aa -D_HPUX_SOURCE
2604
# SVR4 -Xc -D__EXTENSIONS__
2605
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2607
CC="$ac_save_CC $ac_arg"
2608
rm -f conftest.$ac_objext
2609
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2610
(eval $ac_compile) 2>conftest.er1
2612
grep -v '^ *+' conftest.er1 >conftest.err
2614
cat conftest.err >&5
2615
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616
(exit $ac_status); } &&
2617
{ ac_try='test -z "$ac_c_werror_flag"
2618
|| test ! -s conftest.err'
2619
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623
(exit $ac_status); }; } &&
2624
{ ac_try='test -s conftest.$ac_objext'
2625
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629
(exit $ac_status); }; }; then
2630
ac_cv_prog_cc_stdc=$ac_arg
2633
echo "$as_me: failed program was:" >&5
2634
sed 's/^/| /' conftest.$ac_ext >&5
2637
rm -f conftest.err conftest.$ac_objext
2639
rm -f conftest.$ac_ext conftest.$ac_objext
2644
case "x$ac_cv_prog_cc_stdc" in
2646
echo "$as_me:$LINENO: result: none needed" >&5
2647
echo "${ECHO_T}none needed" >&6 ;;
2649
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2650
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2651
CC="$CC $ac_cv_prog_cc_stdc" ;;
2654
# Some people use a C++ compiler to compile C. Since we use `exit',
2655
# in C++ we need to declare it. In case someone uses the same compiler
2656
# for both compiling C and C++ we need to have the C++ compiler decide
2657
# the declaration of exit, since it's the most demanding environment.
2658
cat >conftest.$ac_ext <<_ACEOF
2663
rm -f conftest.$ac_objext
2664
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2665
(eval $ac_compile) 2>conftest.er1
2667
grep -v '^ *+' conftest.er1 >conftest.err
2669
cat conftest.err >&5
2670
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671
(exit $ac_status); } &&
2672
{ ac_try='test -z "$ac_c_werror_flag"
2673
|| test ! -s conftest.err'
2674
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2677
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678
(exit $ac_status); }; } &&
2679
{ ac_try='test -s conftest.$ac_objext'
2680
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684
(exit $ac_status); }; }; then
2685
for ac_declaration in \
2687
'extern "C" void std::exit (int) throw (); using std::exit;' \
2688
'extern "C" void std::exit (int); using std::exit;' \
2689
'extern "C" void exit (int) throw ();' \
2690
'extern "C" void exit (int);' \
2693
cat >conftest.$ac_ext <<_ACEOF
2696
cat confdefs.h >>conftest.$ac_ext
2697
cat >>conftest.$ac_ext <<_ACEOF
2698
/* end confdefs.h. */
2709
rm -f conftest.$ac_objext
2710
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2711
(eval $ac_compile) 2>conftest.er1
2713
grep -v '^ *+' conftest.er1 >conftest.err
2715
cat conftest.err >&5
2716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717
(exit $ac_status); } &&
2718
{ ac_try='test -z "$ac_c_werror_flag"
2719
|| test ! -s conftest.err'
2720
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724
(exit $ac_status); }; } &&
2725
{ ac_try='test -s conftest.$ac_objext'
2726
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2729
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730
(exit $ac_status); }; }; then
2733
echo "$as_me: failed program was:" >&5
2734
sed 's/^/| /' conftest.$ac_ext >&5
2738
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2739
cat >conftest.$ac_ext <<_ACEOF
2742
cat confdefs.h >>conftest.$ac_ext
2743
cat >>conftest.$ac_ext <<_ACEOF
2744
/* end confdefs.h. */
2754
rm -f conftest.$ac_objext
2755
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2756
(eval $ac_compile) 2>conftest.er1
2758
grep -v '^ *+' conftest.er1 >conftest.err
2760
cat conftest.err >&5
2761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762
(exit $ac_status); } &&
2763
{ ac_try='test -z "$ac_c_werror_flag"
2764
|| test ! -s conftest.err'
2765
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769
(exit $ac_status); }; } &&
2770
{ ac_try='test -s conftest.$ac_objext'
2771
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2774
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775
(exit $ac_status); }; }; then
2778
echo "$as_me: failed program was:" >&5
2779
sed 's/^/| /' conftest.$ac_ext >&5
2782
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2785
if test -n "$ac_declaration"; then
2786
echo '#ifdef __cplusplus' >>confdefs.h
2787
echo $ac_declaration >>confdefs.h
2788
echo '#endif' >>confdefs.h
2792
echo "$as_me: failed program was:" >&5
2793
sed 's/^/| /' conftest.$ac_ext >&5
2796
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2798
ac_cpp='$CPP $CPPFLAGS'
2799
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2800
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2801
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2802
DEPDIR="${am__leading_dot}deps"
2804
ac_config_commands="$ac_config_commands depfiles"
2807
am_make=${MAKE-make}
2808
cat > confinc << 'END'
2813
# If we don't find an include directive, just comment out the code.
2814
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2815
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2819
# First try GNU make style include.
2820
echo "include confinc" > confmf
2821
# We grep out `Entering directory' and `Leaving directory'
2822
# messages which can occur if `w' ends up in MAKEFLAGS.
2823
# In particular we don't look at `^make:' because GNU make might
2824
# be invoked under some other name (usually "gmake"), in which
2825
# case it prints its new name instead of `make'.
2826
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2831
# Now try BSD make style include.
2832
if test "$am__include" = "#"; then
2833
echo '.include "confinc"' > confmf
2834
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2835
am__include=.include
2842
echo "$as_me:$LINENO: result: $_am_result" >&5
2843
echo "${ECHO_T}$_am_result" >&6
2844
rm -f confinc confmf
2846
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2847
if test "${enable_dependency_tracking+set}" = set; then
2848
enableval="$enable_dependency_tracking"
2851
if test "x$enable_dependency_tracking" != xno; then
2852
am_depcomp="$ac_aux_dir/depcomp"
2857
if test "x$enable_dependency_tracking" != xno; then
2868
depcc="$CC" am_compiler_list=
2870
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2871
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2872
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2873
echo $ECHO_N "(cached) $ECHO_C" >&6
2875
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2876
# We make a subdir and do the tests there. Otherwise we can end up
2877
# making bogus files that we don't know about and never remove. For
2878
# instance it was reported that on HP-UX the gcc test will end up
2879
# making a dummy file named `D' -- because `-MD' means `put the output
2882
# Copy depcomp to subdir because otherwise we won't find it if we're
2883
# using a relative directory.
2884
cp "$am_depcomp" conftest.dir
2886
# We will build objects and dependencies in a subdirectory because
2887
# it helps to detect inapplicable dependency modes. For instance
2888
# both Tru64's cc and ICC support -MD to output dependencies as a
2889
# side effect of compilation, but ICC will put the dependencies in
2890
# the current directory while Tru64 will put them in the object
2894
am_cv_CC_dependencies_compiler_type=none
2895
if test "$am_compiler_list" = ""; then
2896
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2898
for depmode in $am_compiler_list; do
2899
# Setup a source with many dependencies, because some compilers
2900
# like to wrap large dependency lists on column 80 (with \), and
2901
# we should not choose a depcomp mode which is confused by this.
2903
# We need to recreate these files for each test, as the compiler may
2904
# overwrite some of them when testing with obscure command lines.
2905
# This happens at least with the AIX C compiler.
2907
for i in 1 2 3 4 5 6; do
2908
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2909
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2910
# Solaris 8's {/usr,}/bin/sh.
2911
touch sub/conftst$i.h
2913
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2917
# after this tag, mechanisms are not by side-effect, so they'll
2918
# only be used when explicitly requested
2919
if test "x$enable_dependency_tracking" = xyes; then
2927
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2928
# mode. It turns out that the SunPro C++ compiler does not properly
2929
# handle `-M -o', and we need to detect this.
2930
if depmode=$depmode \
2931
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2932
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2933
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2934
>/dev/null 2>conftest.err &&
2935
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2936
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2937
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2938
# icc doesn't choke on unknown options, it will just issue warnings
2939
# or remarks (even with -Werror). So we grep stderr for any message
2940
# that says an option was ignored or not supported.
2941
# When given -MP, icc 7.0 and 7.1 complain thusly:
2942
# icc: Command line warning: ignoring option '-M'; no argument required
2943
# The diagnosis changed in icc 8.0:
2944
# icc: Command line remark: option '-MP' not supported
2945
if (grep 'ignoring option' conftest.err ||
2946
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2947
am_cv_CC_dependencies_compiler_type=$depmode
2956
am_cv_CC_dependencies_compiler_type=none
2960
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2961
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2962
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2967
test "x$enable_dependency_tracking" != xno \
2968
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2970
am__fastdepCC_FALSE='#'
2972
am__fastdepCC_TRUE='#'
2973
am__fastdepCC_FALSE=
2978
ac_cpp='$CXXCPP $CPPFLAGS'
2979
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2980
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2981
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2982
if test -n "$ac_tool_prefix"; then
2983
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2985
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2986
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2987
echo "$as_me:$LINENO: checking for $ac_word" >&5
2988
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2989
if test "${ac_cv_prog_CXX+set}" = set; then
2990
echo $ECHO_N "(cached) $ECHO_C" >&6
2992
if test -n "$CXX"; then
2993
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2995
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999
test -z "$as_dir" && as_dir=.
3000
for ac_exec_ext in '' $ac_executable_extensions; do
3001
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3002
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3003
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3012
if test -n "$CXX"; then
3013
echo "$as_me:$LINENO: result: $CXX" >&5
3014
echo "${ECHO_T}$CXX" >&6
3016
echo "$as_me:$LINENO: result: no" >&5
3017
echo "${ECHO_T}no" >&6
3020
test -n "$CXX" && break
3023
if test -z "$CXX"; then
3025
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3027
# Extract the first word of "$ac_prog", so it can be a program name with args.
3028
set dummy $ac_prog; ac_word=$2
3029
echo "$as_me:$LINENO: checking for $ac_word" >&5
3030
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3031
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3032
echo $ECHO_N "(cached) $ECHO_C" >&6
3034
if test -n "$ac_ct_CXX"; then
3035
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041
test -z "$as_dir" && as_dir=.
3042
for ac_exec_ext in '' $ac_executable_extensions; do
3043
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044
ac_cv_prog_ac_ct_CXX="$ac_prog"
3045
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3054
if test -n "$ac_ct_CXX"; then
3055
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3056
echo "${ECHO_T}$ac_ct_CXX" >&6
3058
echo "$as_me:$LINENO: result: no" >&5
3059
echo "${ECHO_T}no" >&6
3062
test -n "$ac_ct_CXX" && break
3064
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3070
# Provide some information about the compiler.
3071
echo "$as_me:$LINENO:" \
3072
"checking for C++ compiler version" >&5
3073
ac_compiler=`set X $ac_compile; echo $2`
3074
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3075
(eval $ac_compiler --version </dev/null >&5) 2>&5
3077
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078
(exit $ac_status); }
3079
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3080
(eval $ac_compiler -v </dev/null >&5) 2>&5
3082
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083
(exit $ac_status); }
3084
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3085
(eval $ac_compiler -V </dev/null >&5) 2>&5
3087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088
(exit $ac_status); }
3090
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3091
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3092
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3093
echo $ECHO_N "(cached) $ECHO_C" >&6
3095
cat >conftest.$ac_ext <<_ACEOF
3098
cat confdefs.h >>conftest.$ac_ext
3099
cat >>conftest.$ac_ext <<_ACEOF
3100
/* end confdefs.h. */
3113
rm -f conftest.$ac_objext
3114
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3115
(eval $ac_compile) 2>conftest.er1
3117
grep -v '^ *+' conftest.er1 >conftest.err
3119
cat conftest.err >&5
3120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121
(exit $ac_status); } &&
3122
{ ac_try='test -z "$ac_cxx_werror_flag"
3123
|| test ! -s conftest.err'
3124
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128
(exit $ac_status); }; } &&
3129
{ ac_try='test -s conftest.$ac_objext'
3130
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134
(exit $ac_status); }; }; then
3137
echo "$as_me: failed program was:" >&5
3138
sed 's/^/| /' conftest.$ac_ext >&5
3142
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3143
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3146
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3147
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3148
GXX=`test $ac_compiler_gnu = yes && echo yes`
3149
ac_test_CXXFLAGS=${CXXFLAGS+set}
3150
ac_save_CXXFLAGS=$CXXFLAGS
3152
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3153
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3154
if test "${ac_cv_prog_cxx_g+set}" = set; then
3155
echo $ECHO_N "(cached) $ECHO_C" >&6
3157
cat >conftest.$ac_ext <<_ACEOF
3160
cat confdefs.h >>conftest.$ac_ext
3161
cat >>conftest.$ac_ext <<_ACEOF
3162
/* end confdefs.h. */
3172
rm -f conftest.$ac_objext
3173
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3174
(eval $ac_compile) 2>conftest.er1
3176
grep -v '^ *+' conftest.er1 >conftest.err
3178
cat conftest.err >&5
3179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180
(exit $ac_status); } &&
3181
{ ac_try='test -z "$ac_cxx_werror_flag"
3182
|| test ! -s conftest.err'
3183
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187
(exit $ac_status); }; } &&
3188
{ ac_try='test -s conftest.$ac_objext'
3189
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193
(exit $ac_status); }; }; then
3194
ac_cv_prog_cxx_g=yes
3196
echo "$as_me: failed program was:" >&5
3197
sed 's/^/| /' conftest.$ac_ext >&5
3201
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3203
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3204
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3205
if test "$ac_test_CXXFLAGS" = set; then
3206
CXXFLAGS=$ac_save_CXXFLAGS
3207
elif test $ac_cv_prog_cxx_g = yes; then
3208
if test "$GXX" = yes; then
3214
if test "$GXX" = yes; then
3220
for ac_declaration in \
3222
'extern "C" void std::exit (int) throw (); using std::exit;' \
3223
'extern "C" void std::exit (int); using std::exit;' \
3224
'extern "C" void exit (int) throw ();' \
3225
'extern "C" void exit (int);' \
3228
cat >conftest.$ac_ext <<_ACEOF
3231
cat confdefs.h >>conftest.$ac_ext
3232
cat >>conftest.$ac_ext <<_ACEOF
3233
/* end confdefs.h. */
3244
rm -f conftest.$ac_objext
3245
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3246
(eval $ac_compile) 2>conftest.er1
3248
grep -v '^ *+' conftest.er1 >conftest.err
3250
cat conftest.err >&5
3251
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252
(exit $ac_status); } &&
3253
{ ac_try='test -z "$ac_cxx_werror_flag"
3254
|| test ! -s conftest.err'
3255
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3258
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259
(exit $ac_status); }; } &&
3260
{ ac_try='test -s conftest.$ac_objext'
3261
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3264
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265
(exit $ac_status); }; }; then
3268
echo "$as_me: failed program was:" >&5
3269
sed 's/^/| /' conftest.$ac_ext >&5
3273
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3274
cat >conftest.$ac_ext <<_ACEOF
3277
cat confdefs.h >>conftest.$ac_ext
3278
cat >>conftest.$ac_ext <<_ACEOF
3279
/* end confdefs.h. */
3289
rm -f conftest.$ac_objext
3290
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3291
(eval $ac_compile) 2>conftest.er1
3293
grep -v '^ *+' conftest.er1 >conftest.err
3295
cat conftest.err >&5
3296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297
(exit $ac_status); } &&
3298
{ ac_try='test -z "$ac_cxx_werror_flag"
3299
|| test ! -s conftest.err'
3300
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304
(exit $ac_status); }; } &&
3305
{ ac_try='test -s conftest.$ac_objext'
3306
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3309
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310
(exit $ac_status); }; }; then
3313
echo "$as_me: failed program was:" >&5
3314
sed 's/^/| /' conftest.$ac_ext >&5
3317
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3320
if test -n "$ac_declaration"; then
3321
echo '#ifdef __cplusplus' >>confdefs.h
3322
echo $ac_declaration >>confdefs.h
3323
echo '#endif' >>confdefs.h
3327
ac_cpp='$CPP $CPPFLAGS'
3328
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3329
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3330
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3332
depcc="$CXX" am_compiler_list=
3334
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3335
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3336
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3337
echo $ECHO_N "(cached) $ECHO_C" >&6
3339
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3340
# We make a subdir and do the tests there. Otherwise we can end up
3341
# making bogus files that we don't know about and never remove. For
3342
# instance it was reported that on HP-UX the gcc test will end up
3343
# making a dummy file named `D' -- because `-MD' means `put the output
3346
# Copy depcomp to subdir because otherwise we won't find it if we're
3347
# using a relative directory.
3348
cp "$am_depcomp" conftest.dir
3350
# We will build objects and dependencies in a subdirectory because
3351
# it helps to detect inapplicable dependency modes. For instance
3352
# both Tru64's cc and ICC support -MD to output dependencies as a
3353
# side effect of compilation, but ICC will put the dependencies in
3354
# the current directory while Tru64 will put them in the object
3358
am_cv_CXX_dependencies_compiler_type=none
3359
if test "$am_compiler_list" = ""; then
3360
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3362
for depmode in $am_compiler_list; do
3363
# Setup a source with many dependencies, because some compilers
3364
# like to wrap large dependency lists on column 80 (with \), and
3365
# we should not choose a depcomp mode which is confused by this.
3367
# We need to recreate these files for each test, as the compiler may
3368
# overwrite some of them when testing with obscure command lines.
3369
# This happens at least with the AIX C compiler.
3371
for i in 1 2 3 4 5 6; do
3372
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3373
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3374
# Solaris 8's {/usr,}/bin/sh.
3375
touch sub/conftst$i.h
3377
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3381
# after this tag, mechanisms are not by side-effect, so they'll
3382
# only be used when explicitly requested
3383
if test "x$enable_dependency_tracking" = xyes; then
3391
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3392
# mode. It turns out that the SunPro C++ compiler does not properly
3393
# handle `-M -o', and we need to detect this.
3394
if depmode=$depmode \
3395
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3396
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3397
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3398
>/dev/null 2>conftest.err &&
3399
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3400
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3401
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3402
# icc doesn't choke on unknown options, it will just issue warnings
3403
# or remarks (even with -Werror). So we grep stderr for any message
3404
# that says an option was ignored or not supported.
3405
# When given -MP, icc 7.0 and 7.1 complain thusly:
3406
# icc: Command line warning: ignoring option '-M'; no argument required
3407
# The diagnosis changed in icc 8.0:
3408
# icc: Command line remark: option '-MP' not supported
3409
if (grep 'ignoring option' conftest.err ||
3410
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3411
am_cv_CXX_dependencies_compiler_type=$depmode
3420
am_cv_CXX_dependencies_compiler_type=none
3424
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3425
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3426
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3431
test "x$enable_dependency_tracking" != xno \
3432
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3433
am__fastdepCXX_TRUE=
3434
am__fastdepCXX_FALSE='#'
3436
am__fastdepCXX_TRUE='#'
3437
am__fastdepCXX_FALSE=
3441
if test -n "$ac_tool_prefix"; then
3442
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3443
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3444
echo "$as_me:$LINENO: checking for $ac_word" >&5
3445
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3446
if test "${ac_cv_prog_RANLIB+set}" = set; then
3447
echo $ECHO_N "(cached) $ECHO_C" >&6
3449
if test -n "$RANLIB"; then
3450
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3452
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3456
test -z "$as_dir" && as_dir=.
3457
for ac_exec_ext in '' $ac_executable_extensions; do
3458
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3459
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3460
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3468
RANLIB=$ac_cv_prog_RANLIB
3469
if test -n "$RANLIB"; then
3470
echo "$as_me:$LINENO: result: $RANLIB" >&5
3471
echo "${ECHO_T}$RANLIB" >&6
3473
echo "$as_me:$LINENO: result: no" >&5
3474
echo "${ECHO_T}no" >&6
3478
if test -z "$ac_cv_prog_RANLIB"; then
3479
ac_ct_RANLIB=$RANLIB
3480
# Extract the first word of "ranlib", so it can be a program name with args.
3481
set dummy ranlib; ac_word=$2
3482
echo "$as_me:$LINENO: checking for $ac_word" >&5
3483
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3484
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3485
echo $ECHO_N "(cached) $ECHO_C" >&6
3487
if test -n "$ac_ct_RANLIB"; then
3488
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3490
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3494
test -z "$as_dir" && as_dir=.
3495
for ac_exec_ext in '' $ac_executable_extensions; do
3496
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3497
ac_cv_prog_ac_ct_RANLIB="ranlib"
3498
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3504
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3507
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3508
if test -n "$ac_ct_RANLIB"; then
3509
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3510
echo "${ECHO_T}$ac_ct_RANLIB" >&6
3512
echo "$as_me:$LINENO: result: no" >&5
3513
echo "${ECHO_T}no" >&6
3516
RANLIB=$ac_ct_RANLIB
3518
RANLIB="$ac_cv_prog_RANLIB"
3524
echo "$as_me:$LINENO: result: " >&5
3525
echo "${ECHO_T}" >&6
3526
echo "$as_me:$LINENO: result: checking for header files" >&5
3527
echo "${ECHO_T}checking for header files" >&6
3528
TMP=`echo checking for header files | sed -e sX.X-Xg`
3529
echo "$as_me:$LINENO: result: $TMP" >&5
3530
echo "${ECHO_T}$TMP" >&6
3531
echo "$as_me:$LINENO: result: " >&5
3532
echo "${ECHO_T}" >&6
3535
# Checks for header files.
3538
ac_cpp='$CPP $CPPFLAGS'
3539
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3542
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3543
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3544
# On Suns, sometimes $CPP names a directory.
3545
if test -n "$CPP" && test -d "$CPP"; then
3548
if test -z "$CPP"; then
3549
if test "${ac_cv_prog_CPP+set}" = set; then
3550
echo $ECHO_N "(cached) $ECHO_C" >&6
3552
# Double quotes because CPP needs to be expanded
3553
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3556
for ac_c_preproc_warn_flag in '' yes
3558
# Use a header file that comes with gcc, so configuring glibc
3559
# with a fresh cross-compiler works.
3560
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3561
# <limits.h> exists even on freestanding compilers.
3562
# On the NeXT, cc -E runs the code through the compiler's parser,
3563
# not just through cpp. "Syntax error" is here to catch this case.
3564
cat >conftest.$ac_ext <<_ACEOF
3567
cat confdefs.h >>conftest.$ac_ext
3568
cat >>conftest.$ac_ext <<_ACEOF
3569
/* end confdefs.h. */
3571
# include <limits.h>
3573
# include <assert.h>
3577
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3578
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3580
grep -v '^ *+' conftest.er1 >conftest.err
3582
cat conftest.err >&5
3583
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584
(exit $ac_status); } >/dev/null; then
3585
if test -s conftest.err; then
3586
ac_cpp_err=$ac_c_preproc_warn_flag
3587
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3594
if test -z "$ac_cpp_err"; then
3597
echo "$as_me: failed program was:" >&5
3598
sed 's/^/| /' conftest.$ac_ext >&5
3600
# Broken: fails on valid input.
3603
rm -f conftest.err conftest.$ac_ext
3605
# OK, works on sane cases. Now check whether non-existent headers
3606
# can be detected and how.
3607
cat >conftest.$ac_ext <<_ACEOF
3610
cat confdefs.h >>conftest.$ac_ext
3611
cat >>conftest.$ac_ext <<_ACEOF
3612
/* end confdefs.h. */
3613
#include <ac_nonexistent.h>
3615
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3616
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3618
grep -v '^ *+' conftest.er1 >conftest.err
3620
cat conftest.err >&5
3621
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622
(exit $ac_status); } >/dev/null; then
3623
if test -s conftest.err; then
3624
ac_cpp_err=$ac_c_preproc_warn_flag
3625
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3632
if test -z "$ac_cpp_err"; then
3633
# Broken: success on invalid input.
3636
echo "$as_me: failed program was:" >&5
3637
sed 's/^/| /' conftest.$ac_ext >&5
3639
# Passes both tests.
3643
rm -f conftest.err conftest.$ac_ext
3646
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3647
rm -f conftest.err conftest.$ac_ext
3648
if $ac_preproc_ok; then
3660
echo "$as_me:$LINENO: result: $CPP" >&5
3661
echo "${ECHO_T}$CPP" >&6
3663
for ac_c_preproc_warn_flag in '' yes
3665
# Use a header file that comes with gcc, so configuring glibc
3666
# with a fresh cross-compiler works.
3667
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3668
# <limits.h> exists even on freestanding compilers.
3669
# On the NeXT, cc -E runs the code through the compiler's parser,
3670
# not just through cpp. "Syntax error" is here to catch this case.
3671
cat >conftest.$ac_ext <<_ACEOF
3674
cat confdefs.h >>conftest.$ac_ext
3675
cat >>conftest.$ac_ext <<_ACEOF
3676
/* end confdefs.h. */
3678
# include <limits.h>
3680
# include <assert.h>
3684
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3685
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3687
grep -v '^ *+' conftest.er1 >conftest.err
3689
cat conftest.err >&5
3690
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691
(exit $ac_status); } >/dev/null; then
3692
if test -s conftest.err; then
3693
ac_cpp_err=$ac_c_preproc_warn_flag
3694
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3701
if test -z "$ac_cpp_err"; then
3704
echo "$as_me: failed program was:" >&5
3705
sed 's/^/| /' conftest.$ac_ext >&5
3707
# Broken: fails on valid input.
3710
rm -f conftest.err conftest.$ac_ext
3712
# OK, works on sane cases. Now check whether non-existent headers
3713
# can be detected and how.
3714
cat >conftest.$ac_ext <<_ACEOF
3717
cat confdefs.h >>conftest.$ac_ext
3718
cat >>conftest.$ac_ext <<_ACEOF
3719
/* end confdefs.h. */
3720
#include <ac_nonexistent.h>
3722
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3723
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3725
grep -v '^ *+' conftest.er1 >conftest.err
3727
cat conftest.err >&5
3728
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729
(exit $ac_status); } >/dev/null; then
3730
if test -s conftest.err; then
3731
ac_cpp_err=$ac_c_preproc_warn_flag
3732
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3739
if test -z "$ac_cpp_err"; then
3740
# Broken: success on invalid input.
3743
echo "$as_me: failed program was:" >&5
3744
sed 's/^/| /' conftest.$ac_ext >&5
3746
# Passes both tests.
3750
rm -f conftest.err conftest.$ac_ext
3753
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3754
rm -f conftest.err conftest.$ac_ext
3755
if $ac_preproc_ok; then
3758
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3759
See \`config.log' for more details." >&5
3760
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3761
See \`config.log' for more details." >&2;}
3762
{ (exit 1); exit 1; }; }
3766
ac_cpp='$CPP $CPPFLAGS'
3767
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3768
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3769
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3772
echo "$as_me:$LINENO: checking for egrep" >&5
3773
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3774
if test "${ac_cv_prog_egrep+set}" = set; then
3775
echo $ECHO_N "(cached) $ECHO_C" >&6
3777
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3778
then ac_cv_prog_egrep='grep -E'
3779
else ac_cv_prog_egrep='egrep'
3782
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3783
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3784
EGREP=$ac_cv_prog_egrep
3787
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3788
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3789
if test "${ac_cv_header_stdc+set}" = set; then
3790
echo $ECHO_N "(cached) $ECHO_C" >&6
3792
cat >conftest.$ac_ext <<_ACEOF
3795
cat confdefs.h >>conftest.$ac_ext
3796
cat >>conftest.$ac_ext <<_ACEOF
3797
/* end confdefs.h. */
3811
rm -f conftest.$ac_objext
3812
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3813
(eval $ac_compile) 2>conftest.er1
3815
grep -v '^ *+' conftest.er1 >conftest.err
3817
cat conftest.err >&5
3818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819
(exit $ac_status); } &&
3820
{ ac_try='test -z "$ac_c_werror_flag"
3821
|| test ! -s conftest.err'
3822
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826
(exit $ac_status); }; } &&
3827
{ ac_try='test -s conftest.$ac_objext'
3828
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3831
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832
(exit $ac_status); }; }; then
3833
ac_cv_header_stdc=yes
3835
echo "$as_me: failed program was:" >&5
3836
sed 's/^/| /' conftest.$ac_ext >&5
3838
ac_cv_header_stdc=no
3840
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3842
if test $ac_cv_header_stdc = yes; then
3843
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3844
cat >conftest.$ac_ext <<_ACEOF
3847
cat confdefs.h >>conftest.$ac_ext
3848
cat >>conftest.$ac_ext <<_ACEOF
3849
/* end confdefs.h. */
3853
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3854
$EGREP "memchr" >/dev/null 2>&1; then
3857
ac_cv_header_stdc=no
3863
if test $ac_cv_header_stdc = yes; then
3864
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3865
cat >conftest.$ac_ext <<_ACEOF
3868
cat confdefs.h >>conftest.$ac_ext
3869
cat >>conftest.$ac_ext <<_ACEOF
3870
/* end confdefs.h. */
3874
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3875
$EGREP "free" >/dev/null 2>&1; then
3878
ac_cv_header_stdc=no
3884
if test $ac_cv_header_stdc = yes; then
3885
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3886
if test "$cross_compiling" = yes; then
3889
cat >conftest.$ac_ext <<_ACEOF
3892
cat confdefs.h >>conftest.$ac_ext
3893
cat >>conftest.$ac_ext <<_ACEOF
3894
/* end confdefs.h. */
3896
#if ((' ' & 0x0FF) == 0x020)
3897
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3898
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3900
# define ISLOWER(c) \
3901
(('a' <= (c) && (c) <= 'i') \
3902
|| ('j' <= (c) && (c) <= 'r') \
3903
|| ('s' <= (c) && (c) <= 'z'))
3904
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3907
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3912
for (i = 0; i < 256; i++)
3913
if (XOR (islower (i), ISLOWER (i))
3914
|| toupper (i) != TOUPPER (i))
3919
rm -f conftest$ac_exeext
3920
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3921
(eval $ac_link) 2>&5
3923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3925
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3928
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929
(exit $ac_status); }; }; then
3932
echo "$as_me: program exited with status $ac_status" >&5
3933
echo "$as_me: failed program was:" >&5
3934
sed 's/^/| /' conftest.$ac_ext >&5
3937
ac_cv_header_stdc=no
3939
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3943
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3944
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3945
if test $ac_cv_header_stdc = yes; then
3947
cat >>confdefs.h <<\_ACEOF
3948
#define STDC_HEADERS 1
3953
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3954
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
3955
if test "${ac_cv_header_sys_wait_h+set}" = set; then
3956
echo $ECHO_N "(cached) $ECHO_C" >&6
3958
cat >conftest.$ac_ext <<_ACEOF
3961
cat confdefs.h >>conftest.$ac_ext
3962
cat >>conftest.$ac_ext <<_ACEOF
3963
/* end confdefs.h. */
3964
#include <sys/types.h>
3965
#include <sys/wait.h>
3967
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3970
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3978
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3983
rm -f conftest.$ac_objext
3984
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3985
(eval $ac_compile) 2>conftest.er1
3987
grep -v '^ *+' conftest.er1 >conftest.err
3989
cat conftest.err >&5
3990
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991
(exit $ac_status); } &&
3992
{ ac_try='test -z "$ac_c_werror_flag"
3993
|| test ! -s conftest.err'
3994
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998
(exit $ac_status); }; } &&
3999
{ ac_try='test -s conftest.$ac_objext'
4000
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004
(exit $ac_status); }; }; then
4005
ac_cv_header_sys_wait_h=yes
4007
echo "$as_me: failed program was:" >&5
4008
sed 's/^/| /' conftest.$ac_ext >&5
4010
ac_cv_header_sys_wait_h=no
4012
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4014
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4015
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4016
if test $ac_cv_header_sys_wait_h = yes; then
4018
cat >>confdefs.h <<\_ACEOF
4019
#define HAVE_SYS_WAIT_H 1
4024
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4034
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4035
inttypes.h stdint.h unistd.h
4037
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4038
echo "$as_me:$LINENO: checking for $ac_header" >&5
4039
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4040
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4041
echo $ECHO_N "(cached) $ECHO_C" >&6
4043
cat >conftest.$ac_ext <<_ACEOF
4046
cat confdefs.h >>conftest.$ac_ext
4047
cat >>conftest.$ac_ext <<_ACEOF
4048
/* end confdefs.h. */
4049
$ac_includes_default
4051
#include <$ac_header>
4053
rm -f conftest.$ac_objext
4054
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4055
(eval $ac_compile) 2>conftest.er1
4057
grep -v '^ *+' conftest.er1 >conftest.err
4059
cat conftest.err >&5
4060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061
(exit $ac_status); } &&
4062
{ ac_try='test -z "$ac_c_werror_flag"
4063
|| test ! -s conftest.err'
4064
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4067
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068
(exit $ac_status); }; } &&
4069
{ ac_try='test -s conftest.$ac_objext'
4070
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4073
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074
(exit $ac_status); }; }; then
4075
eval "$as_ac_Header=yes"
4077
echo "$as_me: failed program was:" >&5
4078
sed 's/^/| /' conftest.$ac_ext >&5
4080
eval "$as_ac_Header=no"
4082
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4084
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4085
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4086
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4087
cat >>confdefs.h <<_ACEOF
4088
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4106
for ac_header in fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/file.h sys/socket.h sys/time.h unistd.h
4108
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4109
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4110
echo "$as_me:$LINENO: checking for $ac_header" >&5
4111
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4112
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4113
echo $ECHO_N "(cached) $ECHO_C" >&6
4115
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4116
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4118
# Is the header compilable?
4119
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4120
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4121
cat >conftest.$ac_ext <<_ACEOF
4124
cat confdefs.h >>conftest.$ac_ext
4125
cat >>conftest.$ac_ext <<_ACEOF
4126
/* end confdefs.h. */
4127
$ac_includes_default
4128
#include <$ac_header>
4130
rm -f conftest.$ac_objext
4131
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4132
(eval $ac_compile) 2>conftest.er1
4134
grep -v '^ *+' conftest.er1 >conftest.err
4136
cat conftest.err >&5
4137
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138
(exit $ac_status); } &&
4139
{ ac_try='test -z "$ac_c_werror_flag"
4140
|| test ! -s conftest.err'
4141
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4144
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145
(exit $ac_status); }; } &&
4146
{ ac_try='test -s conftest.$ac_objext'
4147
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4150
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151
(exit $ac_status); }; }; then
4152
ac_header_compiler=yes
4154
echo "$as_me: failed program was:" >&5
4155
sed 's/^/| /' conftest.$ac_ext >&5
4157
ac_header_compiler=no
4159
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4160
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4161
echo "${ECHO_T}$ac_header_compiler" >&6
4163
# Is the header present?
4164
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4165
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4166
cat >conftest.$ac_ext <<_ACEOF
4169
cat confdefs.h >>conftest.$ac_ext
4170
cat >>conftest.$ac_ext <<_ACEOF
4171
/* end confdefs.h. */
4172
#include <$ac_header>
4174
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4175
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4177
grep -v '^ *+' conftest.er1 >conftest.err
4179
cat conftest.err >&5
4180
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181
(exit $ac_status); } >/dev/null; then
4182
if test -s conftest.err; then
4183
ac_cpp_err=$ac_c_preproc_warn_flag
4184
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4191
if test -z "$ac_cpp_err"; then
4192
ac_header_preproc=yes
4194
echo "$as_me: failed program was:" >&5
4195
sed 's/^/| /' conftest.$ac_ext >&5
4197
ac_header_preproc=no
4199
rm -f conftest.err conftest.$ac_ext
4200
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4201
echo "${ECHO_T}$ac_header_preproc" >&6
4203
# So? What about this header?
4204
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4206
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4207
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4208
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4209
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4210
ac_header_preproc=yes
4213
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4214
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4215
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4216
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4217
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4218
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4219
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4220
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4221
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4222
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4223
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4224
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4227
## ---------------------------------- ##
4228
## Report this to shodan(at)shodan.ru ##
4229
## ---------------------------------- ##
4232
sed "s/^/$as_me: WARNING: /" >&2
4235
echo "$as_me:$LINENO: checking for $ac_header" >&5
4236
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4237
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4238
echo $ECHO_N "(cached) $ECHO_C" >&6
4240
eval "$as_ac_Header=\$ac_header_preproc"
4242
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4243
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4246
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4247
cat >>confdefs.h <<_ACEOF
4248
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4255
if test "${ac_cv_header_expat_h+set}" = set; then
4256
echo "$as_me:$LINENO: checking for expat.h" >&5
4257
echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
4258
if test "${ac_cv_header_expat_h+set}" = set; then
4259
echo $ECHO_N "(cached) $ECHO_C" >&6
4261
echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
4262
echo "${ECHO_T}$ac_cv_header_expat_h" >&6
4264
# Is the header compilable?
4265
echo "$as_me:$LINENO: checking expat.h usability" >&5
4266
echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
4267
cat >conftest.$ac_ext <<_ACEOF
4270
cat confdefs.h >>conftest.$ac_ext
4271
cat >>conftest.$ac_ext <<_ACEOF
4272
/* end confdefs.h. */
4273
$ac_includes_default
4276
rm -f conftest.$ac_objext
4277
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4278
(eval $ac_compile) 2>conftest.er1
4280
grep -v '^ *+' conftest.er1 >conftest.err
4282
cat conftest.err >&5
4283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284
(exit $ac_status); } &&
4285
{ ac_try='test -z "$ac_c_werror_flag"
4286
|| test ! -s conftest.err'
4287
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291
(exit $ac_status); }; } &&
4292
{ ac_try='test -s conftest.$ac_objext'
4293
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297
(exit $ac_status); }; }; then
4298
ac_header_compiler=yes
4300
echo "$as_me: failed program was:" >&5
4301
sed 's/^/| /' conftest.$ac_ext >&5
4303
ac_header_compiler=no
4305
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4306
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4307
echo "${ECHO_T}$ac_header_compiler" >&6
4309
# Is the header present?
4310
echo "$as_me:$LINENO: checking expat.h presence" >&5
4311
echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
4312
cat >conftest.$ac_ext <<_ACEOF
4315
cat confdefs.h >>conftest.$ac_ext
4316
cat >>conftest.$ac_ext <<_ACEOF
4317
/* end confdefs.h. */
4320
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4321
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4323
grep -v '^ *+' conftest.er1 >conftest.err
4325
cat conftest.err >&5
4326
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327
(exit $ac_status); } >/dev/null; then
4328
if test -s conftest.err; then
4329
ac_cpp_err=$ac_c_preproc_warn_flag
4330
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4337
if test -z "$ac_cpp_err"; then
4338
ac_header_preproc=yes
4340
echo "$as_me: failed program was:" >&5
4341
sed 's/^/| /' conftest.$ac_ext >&5
4343
ac_header_preproc=no
4345
rm -f conftest.err conftest.$ac_ext
4346
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4347
echo "${ECHO_T}$ac_header_preproc" >&6
4349
# So? What about this header?
4350
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4352
{ echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
4353
echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4354
{ echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
4355
echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
4356
ac_header_preproc=yes
4359
{ echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
4360
echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
4361
{ echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
4362
echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
4363
{ echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
4364
echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
4365
{ echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
4366
echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
4367
{ echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
4368
echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
4369
{ echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
4370
echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
4373
## ---------------------------------- ##
4374
## Report this to shodan(at)shodan.ru ##
4375
## ---------------------------------- ##
4378
sed "s/^/$as_me: WARNING: /" >&2
4381
echo "$as_me:$LINENO: checking for expat.h" >&5
4382
echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
4383
if test "${ac_cv_header_expat_h+set}" = set; then
4384
echo $ECHO_N "(cached) $ECHO_C" >&6
4386
ac_cv_header_expat_h=$ac_header_preproc
4388
echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
4389
echo "${ECHO_T}$ac_cv_header_expat_h" >&6
4392
if test $ac_cv_header_expat_h = yes; then
4399
if test "${ac_cv_header_iconv_h+set}" = set; then
4400
echo "$as_me:$LINENO: checking for iconv.h" >&5
4401
echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
4402
if test "${ac_cv_header_iconv_h+set}" = set; then
4403
echo $ECHO_N "(cached) $ECHO_C" >&6
4405
echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
4406
echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
4408
# Is the header compilable?
4409
echo "$as_me:$LINENO: checking iconv.h usability" >&5
4410
echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
4411
cat >conftest.$ac_ext <<_ACEOF
4414
cat confdefs.h >>conftest.$ac_ext
4415
cat >>conftest.$ac_ext <<_ACEOF
4416
/* end confdefs.h. */
4417
$ac_includes_default
4420
rm -f conftest.$ac_objext
4421
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4422
(eval $ac_compile) 2>conftest.er1
4424
grep -v '^ *+' conftest.er1 >conftest.err
4426
cat conftest.err >&5
4427
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428
(exit $ac_status); } &&
4429
{ ac_try='test -z "$ac_c_werror_flag"
4430
|| test ! -s conftest.err'
4431
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435
(exit $ac_status); }; } &&
4436
{ ac_try='test -s conftest.$ac_objext'
4437
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4440
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441
(exit $ac_status); }; }; then
4442
ac_header_compiler=yes
4444
echo "$as_me: failed program was:" >&5
4445
sed 's/^/| /' conftest.$ac_ext >&5
4447
ac_header_compiler=no
4449
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4450
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4451
echo "${ECHO_T}$ac_header_compiler" >&6
4453
# Is the header present?
4454
echo "$as_me:$LINENO: checking iconv.h presence" >&5
4455
echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
4456
cat >conftest.$ac_ext <<_ACEOF
4459
cat confdefs.h >>conftest.$ac_ext
4460
cat >>conftest.$ac_ext <<_ACEOF
4461
/* end confdefs.h. */
4464
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4465
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4467
grep -v '^ *+' conftest.er1 >conftest.err
4469
cat conftest.err >&5
4470
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471
(exit $ac_status); } >/dev/null; then
4472
if test -s conftest.err; then
4473
ac_cpp_err=$ac_c_preproc_warn_flag
4474
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4481
if test -z "$ac_cpp_err"; then
4482
ac_header_preproc=yes
4484
echo "$as_me: failed program was:" >&5
4485
sed 's/^/| /' conftest.$ac_ext >&5
4487
ac_header_preproc=no
4489
rm -f conftest.err conftest.$ac_ext
4490
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4491
echo "${ECHO_T}$ac_header_preproc" >&6
4493
# So? What about this header?
4494
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4496
{ echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
4497
echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4498
{ echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
4499
echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
4500
ac_header_preproc=yes
4503
{ echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
4504
echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
4505
{ echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
4506
echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
4507
{ echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
4508
echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
4509
{ echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
4510
echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
4511
{ echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
4512
echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
4513
{ echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
4514
echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
4517
## ---------------------------------- ##
4518
## Report this to shodan(at)shodan.ru ##
4519
## ---------------------------------- ##
4522
sed "s/^/$as_me: WARNING: /" >&2
4525
echo "$as_me:$LINENO: checking for iconv.h" >&5
4526
echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
4527
if test "${ac_cv_header_iconv_h+set}" = set; then
4528
echo $ECHO_N "(cached) $ECHO_C" >&6
4530
ac_cv_header_iconv_h=$ac_header_preproc
4532
echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
4533
echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
4536
if test $ac_cv_header_iconv_h = yes; then
4546
echo "$as_me:$LINENO: result: " >&5
4547
echo "${ECHO_T}" >&6
4548
echo "$as_me:$LINENO: result: checking for types" >&5
4549
echo "${ECHO_T}checking for types" >&6
4550
TMP=`echo checking for types | sed -e sX.X-Xg`
4551
echo "$as_me:$LINENO: result: $TMP" >&5
4552
echo "${ECHO_T}$TMP" >&6
4553
echo "$as_me:$LINENO: result: " >&5
4554
echo "${ECHO_T}" >&6
4557
# Checks for typedefs, structures, and compiler characteristics.
4558
echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4559
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
4560
if test "${ac_cv_header_stdbool_h+set}" = set; then
4561
echo $ECHO_N "(cached) $ECHO_C" >&6
4563
cat >conftest.$ac_ext <<_ACEOF
4566
cat confdefs.h >>conftest.$ac_ext
4567
cat >>conftest.$ac_ext <<_ACEOF
4568
/* end confdefs.h. */
4570
#include <stdbool.h>
4572
# error bool is not defined
4575
# error false is not defined
4578
# error false is not 0
4581
# error true is not defined
4584
# error true is not 1
4586
#ifndef __bool_true_false_are_defined
4587
# error __bool_true_false_are_defined is not defined
4590
struct s { _Bool s: 1; _Bool t; } s;
4592
char a[true == 1 ? 1 : -1];
4593
char b[false == 0 ? 1 : -1];
4594
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4595
char d[(bool) -0.5 == true ? 1 : -1];
4597
char f[(_Bool) -0.0 == false ? 1 : -1];
4599
char h[sizeof (_Bool)];
4605
return !a + !b + !c + !d + !e + !f + !g + !h + !i;
4610
rm -f conftest.$ac_objext
4611
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4612
(eval $ac_compile) 2>conftest.er1
4614
grep -v '^ *+' conftest.er1 >conftest.err
4616
cat conftest.err >&5
4617
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618
(exit $ac_status); } &&
4619
{ ac_try='test -z "$ac_c_werror_flag"
4620
|| test ! -s conftest.err'
4621
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625
(exit $ac_status); }; } &&
4626
{ ac_try='test -s conftest.$ac_objext'
4627
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4630
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631
(exit $ac_status); }; }; then
4632
ac_cv_header_stdbool_h=yes
4634
echo "$as_me: failed program was:" >&5
4635
sed 's/^/| /' conftest.$ac_ext >&5
4637
ac_cv_header_stdbool_h=no
4639
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4641
echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4642
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
4643
echo "$as_me:$LINENO: checking for _Bool" >&5
4644
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
4645
if test "${ac_cv_type__Bool+set}" = set; then
4646
echo $ECHO_N "(cached) $ECHO_C" >&6
4648
cat >conftest.$ac_ext <<_ACEOF
4651
cat confdefs.h >>conftest.$ac_ext
4652
cat >>conftest.$ac_ext <<_ACEOF
4653
/* end confdefs.h. */
4654
$ac_includes_default
4666
rm -f conftest.$ac_objext
4667
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4668
(eval $ac_compile) 2>conftest.er1
4670
grep -v '^ *+' conftest.er1 >conftest.err
4672
cat conftest.err >&5
4673
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674
(exit $ac_status); } &&
4675
{ ac_try='test -z "$ac_c_werror_flag"
4676
|| test ! -s conftest.err'
4677
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4680
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681
(exit $ac_status); }; } &&
4682
{ ac_try='test -s conftest.$ac_objext'
4683
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4686
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687
(exit $ac_status); }; }; then
4688
ac_cv_type__Bool=yes
4690
echo "$as_me: failed program was:" >&5
4691
sed 's/^/| /' conftest.$ac_ext >&5
4695
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4697
echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4698
echo "${ECHO_T}$ac_cv_type__Bool" >&6
4699
if test $ac_cv_type__Bool = yes; then
4701
cat >>confdefs.h <<_ACEOF
4702
#define HAVE__BOOL 1
4708
if test $ac_cv_header_stdbool_h = yes; then
4710
cat >>confdefs.h <<\_ACEOF
4711
#define HAVE_STDBOOL_H 1
4716
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4717
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4718
if test "${ac_cv_c_const+set}" = set; then
4719
echo $ECHO_N "(cached) $ECHO_C" >&6
4721
cat >conftest.$ac_ext <<_ACEOF
4724
cat confdefs.h >>conftest.$ac_ext
4725
cat >>conftest.$ac_ext <<_ACEOF
4726
/* end confdefs.h. */
4731
/* FIXME: Include the comments suggested by Paul. */
4733
/* Ultrix mips cc rejects this. */
4734
typedef int charset[2];
4736
/* SunOS 4.1.1 cc rejects this. */
4737
char const *const *ccp;
4739
/* NEC SVR4.0.2 mips cc rejects this. */
4740
struct point {int x, y;};
4741
static struct point const zero = {0,0};
4742
/* AIX XL C 1.02.0.0 rejects this.
4743
It does not let you subtract one const X* pointer from another in
4744
an arm of an if-expression whose if-part is not a constant
4746
const char *g = "string";
4747
ccp = &g + (g ? g-g : 0);
4748
/* HPUX 7.0 cc rejects these. */
4751
ccp = (char const *const *) p;
4752
{ /* SCO 3.2v4 cc rejects this. */
4754
char const *s = 0 ? (char *) 0 : (char const *) 0;
4758
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4760
const int *foo = &x[0];
4763
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4764
typedef const int *iptr;
4768
{ /* AIX XL C 1.02.0.0 rejects this saying
4769
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4770
struct s { int j; const int *ap[3]; };
4771
struct s *b; b->j = 5;
4773
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4782
rm -f conftest.$ac_objext
4783
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4784
(eval $ac_compile) 2>conftest.er1
4786
grep -v '^ *+' conftest.er1 >conftest.err
4788
cat conftest.err >&5
4789
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790
(exit $ac_status); } &&
4791
{ ac_try='test -z "$ac_c_werror_flag"
4792
|| test ! -s conftest.err'
4793
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4796
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797
(exit $ac_status); }; } &&
4798
{ ac_try='test -s conftest.$ac_objext'
4799
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803
(exit $ac_status); }; }; then
4806
echo "$as_me: failed program was:" >&5
4807
sed 's/^/| /' conftest.$ac_ext >&5
4811
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4813
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4814
echo "${ECHO_T}$ac_cv_c_const" >&6
4815
if test $ac_cv_c_const = no; then
4817
cat >>confdefs.h <<\_ACEOF
4823
echo "$as_me:$LINENO: checking for inline" >&5
4824
echo $ECHO_N "checking for inline... $ECHO_C" >&6
4825
if test "${ac_cv_c_inline+set}" = set; then
4826
echo $ECHO_N "(cached) $ECHO_C" >&6
4829
for ac_kw in inline __inline__ __inline; do
4830
cat >conftest.$ac_ext <<_ACEOF
4833
cat confdefs.h >>conftest.$ac_ext
4834
cat >>conftest.$ac_ext <<_ACEOF
4835
/* end confdefs.h. */
4838
static $ac_kw foo_t static_foo () {return 0; }
4839
$ac_kw foo_t foo () {return 0; }
4843
rm -f conftest.$ac_objext
4844
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4845
(eval $ac_compile) 2>conftest.er1
4847
grep -v '^ *+' conftest.er1 >conftest.err
4849
cat conftest.err >&5
4850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851
(exit $ac_status); } &&
4852
{ ac_try='test -z "$ac_c_werror_flag"
4853
|| test ! -s conftest.err'
4854
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858
(exit $ac_status); }; } &&
4859
{ ac_try='test -s conftest.$ac_objext'
4860
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864
(exit $ac_status); }; }; then
4865
ac_cv_c_inline=$ac_kw; break
4867
echo "$as_me: failed program was:" >&5
4868
sed 's/^/| /' conftest.$ac_ext >&5
4871
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4875
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4876
echo "${ECHO_T}$ac_cv_c_inline" >&6
4879
case $ac_cv_c_inline in
4882
case $ac_cv_c_inline in
4884
*) ac_val=$ac_cv_c_inline;;
4886
cat >>confdefs.h <<_ACEOF
4888
#define inline $ac_val
4894
echo "$as_me:$LINENO: checking for off_t" >&5
4895
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4896
if test "${ac_cv_type_off_t+set}" = set; then
4897
echo $ECHO_N "(cached) $ECHO_C" >&6
4899
cat >conftest.$ac_ext <<_ACEOF
4902
cat confdefs.h >>conftest.$ac_ext
4903
cat >>conftest.$ac_ext <<_ACEOF
4904
/* end confdefs.h. */
4905
$ac_includes_default
4917
rm -f conftest.$ac_objext
4918
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4919
(eval $ac_compile) 2>conftest.er1
4921
grep -v '^ *+' conftest.er1 >conftest.err
4923
cat conftest.err >&5
4924
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925
(exit $ac_status); } &&
4926
{ ac_try='test -z "$ac_c_werror_flag"
4927
|| test ! -s conftest.err'
4928
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932
(exit $ac_status); }; } &&
4933
{ ac_try='test -s conftest.$ac_objext'
4934
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938
(exit $ac_status); }; }; then
4939
ac_cv_type_off_t=yes
4941
echo "$as_me: failed program was:" >&5
4942
sed 's/^/| /' conftest.$ac_ext >&5
4946
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4948
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4949
echo "${ECHO_T}$ac_cv_type_off_t" >&6
4950
if test $ac_cv_type_off_t = yes; then
4954
cat >>confdefs.h <<_ACEOF
4960
echo "$as_me:$LINENO: checking for size_t" >&5
4961
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4962
if test "${ac_cv_type_size_t+set}" = set; then
4963
echo $ECHO_N "(cached) $ECHO_C" >&6
4965
cat >conftest.$ac_ext <<_ACEOF
4968
cat confdefs.h >>conftest.$ac_ext
4969
cat >>conftest.$ac_ext <<_ACEOF
4970
/* end confdefs.h. */
4971
$ac_includes_default
4977
if (sizeof (size_t))
4983
rm -f conftest.$ac_objext
4984
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4985
(eval $ac_compile) 2>conftest.er1
4987
grep -v '^ *+' conftest.er1 >conftest.err
4989
cat conftest.err >&5
4990
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991
(exit $ac_status); } &&
4992
{ ac_try='test -z "$ac_c_werror_flag"
4993
|| test ! -s conftest.err'
4994
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998
(exit $ac_status); }; } &&
4999
{ ac_try='test -s conftest.$ac_objext'
5000
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004
(exit $ac_status); }; }; then
5005
ac_cv_type_size_t=yes
5007
echo "$as_me: failed program was:" >&5
5008
sed 's/^/| /' conftest.$ac_ext >&5
5010
ac_cv_type_size_t=no
5012
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5014
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5015
echo "${ECHO_T}$ac_cv_type_size_t" >&6
5016
if test $ac_cv_type_size_t = yes; then
5020
cat >>confdefs.h <<_ACEOF
5021
#define size_t unsigned
5026
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5027
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5028
if test "${ac_cv_header_time+set}" = set; then
5029
echo $ECHO_N "(cached) $ECHO_C" >&6
5031
cat >conftest.$ac_ext <<_ACEOF
5034
cat confdefs.h >>conftest.$ac_ext
5035
cat >>conftest.$ac_ext <<_ACEOF
5036
/* end confdefs.h. */
5037
#include <sys/types.h>
5038
#include <sys/time.h>
5044
if ((struct tm *) 0)
5050
rm -f conftest.$ac_objext
5051
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5052
(eval $ac_compile) 2>conftest.er1
5054
grep -v '^ *+' conftest.er1 >conftest.err
5056
cat conftest.err >&5
5057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058
(exit $ac_status); } &&
5059
{ ac_try='test -z "$ac_c_werror_flag"
5060
|| test ! -s conftest.err'
5061
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5064
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065
(exit $ac_status); }; } &&
5066
{ ac_try='test -s conftest.$ac_objext'
5067
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5070
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071
(exit $ac_status); }; }; then
5072
ac_cv_header_time=yes
5074
echo "$as_me: failed program was:" >&5
5075
sed 's/^/| /' conftest.$ac_ext >&5
5077
ac_cv_header_time=no
5079
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5081
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5082
echo "${ECHO_T}$ac_cv_header_time" >&6
5083
if test $ac_cv_header_time = yes; then
5085
cat >>confdefs.h <<\_ACEOF
5086
#define TIME_WITH_SYS_TIME 1
5094
echo "$as_me:$LINENO: result: " >&5
5095
echo "${ECHO_T}" >&6
5096
echo "$as_me:$LINENO: result: checking for library functions" >&5
5097
echo "${ECHO_T}checking for library functions" >&6
5098
TMP=`echo checking for library functions | sed -e sX.X-Xg`
5099
echo "$as_me:$LINENO: result: $TMP" >&5
5100
echo "${ECHO_T}$TMP" >&6
5101
echo "$as_me:$LINENO: result: " >&5
5102
echo "${ECHO_T}" >&6
5105
# Checks for library functions.
5106
echo "$as_me:$LINENO: checking for pid_t" >&5
5107
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
5108
if test "${ac_cv_type_pid_t+set}" = set; then
5109
echo $ECHO_N "(cached) $ECHO_C" >&6
5111
cat >conftest.$ac_ext <<_ACEOF
5114
cat confdefs.h >>conftest.$ac_ext
5115
cat >>conftest.$ac_ext <<_ACEOF
5116
/* end confdefs.h. */
5117
$ac_includes_default
5129
rm -f conftest.$ac_objext
5130
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5131
(eval $ac_compile) 2>conftest.er1
5133
grep -v '^ *+' conftest.er1 >conftest.err
5135
cat conftest.err >&5
5136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137
(exit $ac_status); } &&
5138
{ ac_try='test -z "$ac_c_werror_flag"
5139
|| test ! -s conftest.err'
5140
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5143
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144
(exit $ac_status); }; } &&
5145
{ ac_try='test -s conftest.$ac_objext'
5146
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5149
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150
(exit $ac_status); }; }; then
5151
ac_cv_type_pid_t=yes
5153
echo "$as_me: failed program was:" >&5
5154
sed 's/^/| /' conftest.$ac_ext >&5
5158
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5160
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5161
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
5162
if test $ac_cv_type_pid_t = yes; then
5166
cat >>confdefs.h <<_ACEOF
5174
for ac_header in unistd.h vfork.h
5176
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5177
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5178
echo "$as_me:$LINENO: checking for $ac_header" >&5
5179
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5180
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5181
echo $ECHO_N "(cached) $ECHO_C" >&6
5183
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5184
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5186
# Is the header compilable?
5187
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5188
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5189
cat >conftest.$ac_ext <<_ACEOF
5192
cat confdefs.h >>conftest.$ac_ext
5193
cat >>conftest.$ac_ext <<_ACEOF
5194
/* end confdefs.h. */
5195
$ac_includes_default
5196
#include <$ac_header>
5198
rm -f conftest.$ac_objext
5199
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5200
(eval $ac_compile) 2>conftest.er1
5202
grep -v '^ *+' conftest.er1 >conftest.err
5204
cat conftest.err >&5
5205
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206
(exit $ac_status); } &&
5207
{ ac_try='test -z "$ac_c_werror_flag"
5208
|| test ! -s conftest.err'
5209
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5212
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213
(exit $ac_status); }; } &&
5214
{ ac_try='test -s conftest.$ac_objext'
5215
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5218
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219
(exit $ac_status); }; }; then
5220
ac_header_compiler=yes
5222
echo "$as_me: failed program was:" >&5
5223
sed 's/^/| /' conftest.$ac_ext >&5
5225
ac_header_compiler=no
5227
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5228
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5229
echo "${ECHO_T}$ac_header_compiler" >&6
5231
# Is the header present?
5232
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5233
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5234
cat >conftest.$ac_ext <<_ACEOF
5237
cat confdefs.h >>conftest.$ac_ext
5238
cat >>conftest.$ac_ext <<_ACEOF
5239
/* end confdefs.h. */
5240
#include <$ac_header>
5242
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5243
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5245
grep -v '^ *+' conftest.er1 >conftest.err
5247
cat conftest.err >&5
5248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249
(exit $ac_status); } >/dev/null; then
5250
if test -s conftest.err; then
5251
ac_cpp_err=$ac_c_preproc_warn_flag
5252
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5259
if test -z "$ac_cpp_err"; then
5260
ac_header_preproc=yes
5262
echo "$as_me: failed program was:" >&5
5263
sed 's/^/| /' conftest.$ac_ext >&5
5265
ac_header_preproc=no
5267
rm -f conftest.err conftest.$ac_ext
5268
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5269
echo "${ECHO_T}$ac_header_preproc" >&6
5271
# So? What about this header?
5272
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5274
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5275
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5276
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5277
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5278
ac_header_preproc=yes
5281
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5282
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5283
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5284
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5285
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5286
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5287
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5288
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5289
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5290
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5291
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5292
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5295
## ---------------------------------- ##
5296
## Report this to shodan(at)shodan.ru ##
5297
## ---------------------------------- ##
5300
sed "s/^/$as_me: WARNING: /" >&2
5303
echo "$as_me:$LINENO: checking for $ac_header" >&5
5304
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5305
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5306
echo $ECHO_N "(cached) $ECHO_C" >&6
5308
eval "$as_ac_Header=\$ac_header_preproc"
5310
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5311
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5314
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5315
cat >>confdefs.h <<_ACEOF
5316
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5325
for ac_func in fork vfork
5327
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5328
echo "$as_me:$LINENO: checking for $ac_func" >&5
5329
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5330
if eval "test \"\${$as_ac_var+set}\" = set"; then
5331
echo $ECHO_N "(cached) $ECHO_C" >&6
5333
cat >conftest.$ac_ext <<_ACEOF
5336
cat confdefs.h >>conftest.$ac_ext
5337
cat >>conftest.$ac_ext <<_ACEOF
5338
/* end confdefs.h. */
5339
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5340
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5341
#define $ac_func innocuous_$ac_func
5343
/* System header to define __stub macros and hopefully few prototypes,
5344
which can conflict with char $ac_func (); below.
5345
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5346
<limits.h> exists even on freestanding compilers. */
5349
# include <limits.h>
5351
# include <assert.h>
5356
/* Override any gcc2 internal prototype to avoid an error. */
5361
/* We use char because int might match the return type of a gcc2
5362
builtin and then its argument prototype would still apply. */
5364
/* The GNU C library defines this for functions which it implements
5365
to always fail with ENOSYS. Some functions are actually named
5366
something starting with __ and the normal name is an alias. */
5367
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5370
char (*f) () = $ac_func;
5379
return f != $ac_func;
5384
rm -f conftest.$ac_objext conftest$ac_exeext
5385
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5386
(eval $ac_link) 2>conftest.er1
5388
grep -v '^ *+' conftest.er1 >conftest.err
5390
cat conftest.err >&5
5391
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392
(exit $ac_status); } &&
5393
{ ac_try='test -z "$ac_c_werror_flag"
5394
|| test ! -s conftest.err'
5395
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399
(exit $ac_status); }; } &&
5400
{ ac_try='test -s conftest$ac_exeext'
5401
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5404
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405
(exit $ac_status); }; }; then
5406
eval "$as_ac_var=yes"
5408
echo "$as_me: failed program was:" >&5
5409
sed 's/^/| /' conftest.$ac_ext >&5
5411
eval "$as_ac_var=no"
5413
rm -f conftest.err conftest.$ac_objext \
5414
conftest$ac_exeext conftest.$ac_ext
5416
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5417
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5418
if test `eval echo '${'$as_ac_var'}'` = yes; then
5419
cat >>confdefs.h <<_ACEOF
5420
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5426
if test "x$ac_cv_func_fork" = xyes; then
5427
echo "$as_me:$LINENO: checking for working fork" >&5
5428
echo $ECHO_N "checking for working fork... $ECHO_C" >&6
5429
if test "${ac_cv_func_fork_works+set}" = set; then
5430
echo $ECHO_N "(cached) $ECHO_C" >&6
5432
if test "$cross_compiling" = yes; then
5433
ac_cv_func_fork_works=cross
5435
cat >conftest.$ac_ext <<_ACEOF
5436
/* By Ruediger Kuhlmann. */
5437
#include <sys/types.h>
5439
# include <unistd.h>
5441
/* Some systems only have a dummy stub for fork() */
5449
rm -f conftest$ac_exeext
5450
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5451
(eval $ac_link) 2>&5
5453
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5455
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459
(exit $ac_status); }; }; then
5460
ac_cv_func_fork_works=yes
5462
echo "$as_me: program exited with status $ac_status" >&5
5463
echo "$as_me: failed program was:" >&5
5464
sed 's/^/| /' conftest.$ac_ext >&5
5467
ac_cv_func_fork_works=no
5469
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5472
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
5473
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
5476
ac_cv_func_fork_works=$ac_cv_func_fork
5478
if test "x$ac_cv_func_fork_works" = xcross; then
5480
*-*-amigaos* | *-*-msdosdjgpp*)
5481
# Override, as these systems have only a dummy fork() stub
5482
ac_cv_func_fork_works=no
5485
ac_cv_func_fork_works=yes
5488
{ echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5489
echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5491
ac_cv_func_vfork_works=$ac_cv_func_vfork
5492
if test "x$ac_cv_func_vfork" = xyes; then
5493
echo "$as_me:$LINENO: checking for working vfork" >&5
5494
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
5495
if test "${ac_cv_func_vfork_works+set}" = set; then
5496
echo $ECHO_N "(cached) $ECHO_C" >&6
5498
if test "$cross_compiling" = yes; then
5499
ac_cv_func_vfork_works=cross
5501
cat >conftest.$ac_ext <<_ACEOF
5504
cat confdefs.h >>conftest.$ac_ext
5505
cat >>conftest.$ac_ext <<_ACEOF
5506
/* end confdefs.h. */
5507
/* Thanks to Paul Eggert for this test. */
5510
#include <sys/types.h>
5511
#include <sys/stat.h>
5512
#include <sys/wait.h>
5514
# include <unistd.h>
5519
/* On some sparc systems, changes by the child to local and incoming
5520
argument registers are propagated back to the parent. The compiler
5521
is told about this with #include <vfork.h>, but some compilers
5522
(e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5523
static variable whose address is put into a register that is
5524
clobbered by the vfork. */
5527
sparc_address_test (int arg)
5529
sparc_address_test (arg) int arg;
5550
pid_t parent = getpid ();
5553
sparc_address_test (0);
5558
/* Here is another test for sparc vfork register problems. This
5559
test uses lots of local variables, at least as many local
5560
variables as main has allocated so far including compiler
5561
temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5562
4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5563
reuse the register of parent for one of the local variables,
5564
since it will think that parent can't possibly be used any more
5565
in this routine. Assigning to the local variable will thus
5566
munge parent in the parent process. */
5568
p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5569
p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5570
/* Convince the compiler that p..p7 are live; otherwise, it might
5571
use the same hardware register for all 8 local variables. */
5572
if (p != p1 || p != p2 || p != p3 || p != p4
5573
|| p != p5 || p != p6 || p != p7)
5576
/* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5577
from child file descriptors. If the child closes a descriptor
5578
before it execs or exits, this munges the parent's descriptor
5579
as well. Test for this by closing stdout in the child. */
5580
_exit(close(fileno(stdout)) != 0);
5585
while (wait(&status) != child)
5588
/* Was there some problem with vforking? */
5591
/* Did the child fail? (This shouldn't happen.) */
5594
/* Did the vfork/compiler bug occur? */
5595
|| parent != getpid()
5597
/* Did the file descriptor bug occur? */
5598
|| fstat(fileno(stdout), &st) != 0
5603
rm -f conftest$ac_exeext
5604
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5605
(eval $ac_link) 2>&5
5607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5609
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613
(exit $ac_status); }; }; then
5614
ac_cv_func_vfork_works=yes
5616
echo "$as_me: program exited with status $ac_status" >&5
5617
echo "$as_me: failed program was:" >&5
5618
sed 's/^/| /' conftest.$ac_ext >&5
5621
ac_cv_func_vfork_works=no
5623
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5626
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
5627
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
5630
if test "x$ac_cv_func_fork_works" = xcross; then
5631
ac_cv_func_vfork_works=$ac_cv_func_vfork
5632
{ echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5633
echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5636
if test "x$ac_cv_func_vfork_works" = xyes; then
5638
cat >>confdefs.h <<\_ACEOF
5639
#define HAVE_WORKING_VFORK 1
5644
cat >>confdefs.h <<\_ACEOF
5649
if test "x$ac_cv_func_fork_works" = xyes; then
5651
cat >>confdefs.h <<\_ACEOF
5652
#define HAVE_WORKING_FORK 1
5658
for ac_header in stdlib.h
5660
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5661
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5662
echo "$as_me:$LINENO: checking for $ac_header" >&5
5663
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5664
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5665
echo $ECHO_N "(cached) $ECHO_C" >&6
5667
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5668
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5670
# Is the header compilable?
5671
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5672
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5673
cat >conftest.$ac_ext <<_ACEOF
5676
cat confdefs.h >>conftest.$ac_ext
5677
cat >>conftest.$ac_ext <<_ACEOF
5678
/* end confdefs.h. */
5679
$ac_includes_default
5680
#include <$ac_header>
5682
rm -f conftest.$ac_objext
5683
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5684
(eval $ac_compile) 2>conftest.er1
5686
grep -v '^ *+' conftest.er1 >conftest.err
5688
cat conftest.err >&5
5689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690
(exit $ac_status); } &&
5691
{ ac_try='test -z "$ac_c_werror_flag"
5692
|| test ! -s conftest.err'
5693
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697
(exit $ac_status); }; } &&
5698
{ ac_try='test -s conftest.$ac_objext'
5699
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5702
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703
(exit $ac_status); }; }; then
5704
ac_header_compiler=yes
5706
echo "$as_me: failed program was:" >&5
5707
sed 's/^/| /' conftest.$ac_ext >&5
5709
ac_header_compiler=no
5711
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5712
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5713
echo "${ECHO_T}$ac_header_compiler" >&6
5715
# Is the header present?
5716
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5717
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5718
cat >conftest.$ac_ext <<_ACEOF
5721
cat confdefs.h >>conftest.$ac_ext
5722
cat >>conftest.$ac_ext <<_ACEOF
5723
/* end confdefs.h. */
5724
#include <$ac_header>
5726
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5727
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5729
grep -v '^ *+' conftest.er1 >conftest.err
5731
cat conftest.err >&5
5732
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733
(exit $ac_status); } >/dev/null; then
5734
if test -s conftest.err; then
5735
ac_cpp_err=$ac_c_preproc_warn_flag
5736
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5743
if test -z "$ac_cpp_err"; then
5744
ac_header_preproc=yes
5746
echo "$as_me: failed program was:" >&5
5747
sed 's/^/| /' conftest.$ac_ext >&5
5749
ac_header_preproc=no
5751
rm -f conftest.err conftest.$ac_ext
5752
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5753
echo "${ECHO_T}$ac_header_preproc" >&6
5755
# So? What about this header?
5756
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5758
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5759
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5760
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5761
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5762
ac_header_preproc=yes
5765
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5766
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5767
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5768
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5769
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5770
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5771
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5772
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5773
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5774
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5775
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5776
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5779
## ---------------------------------- ##
5780
## Report this to shodan(at)shodan.ru ##
5781
## ---------------------------------- ##
5784
sed "s/^/$as_me: WARNING: /" >&2
5787
echo "$as_me:$LINENO: checking for $ac_header" >&5
5788
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5789
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5790
echo $ECHO_N "(cached) $ECHO_C" >&6
5792
eval "$as_ac_Header=\$ac_header_preproc"
5794
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5795
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5798
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5799
cat >>confdefs.h <<_ACEOF
5800
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5807
echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5808
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
5809
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
5810
echo $ECHO_N "(cached) $ECHO_C" >&6
5812
if test "$cross_compiling" = yes; then
5813
ac_cv_func_malloc_0_nonnull=no
5815
cat >conftest.$ac_ext <<_ACEOF
5818
cat confdefs.h >>conftest.$ac_ext
5819
cat >>conftest.$ac_ext <<_ACEOF
5820
/* end confdefs.h. */
5821
#if STDC_HEADERS || HAVE_STDLIB_H
5822
# include <stdlib.h>
5830
exit (malloc (0) ? 0 : 1);
5835
rm -f conftest$ac_exeext
5836
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5837
(eval $ac_link) 2>&5
5839
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5841
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5844
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845
(exit $ac_status); }; }; then
5846
ac_cv_func_malloc_0_nonnull=yes
5848
echo "$as_me: program exited with status $ac_status" >&5
5849
echo "$as_me: failed program was:" >&5
5850
sed 's/^/| /' conftest.$ac_ext >&5
5853
ac_cv_func_malloc_0_nonnull=no
5855
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5858
echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
5859
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
5860
if test $ac_cv_func_malloc_0_nonnull = yes; then
5862
cat >>confdefs.h <<\_ACEOF
5863
#define HAVE_MALLOC 1
5867
cat >>confdefs.h <<\_ACEOF
5868
#define HAVE_MALLOC 0
5872
"malloc.$ac_objext" | \
5873
*" malloc.$ac_objext" | \
5874
"malloc.$ac_objext "* | \
5875
*" malloc.$ac_objext "* ) ;;
5876
*) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
5880
cat >>confdefs.h <<\_ACEOF
5881
#define malloc rpl_malloc
5889
for ac_header in stdlib.h
5891
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5892
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5893
echo "$as_me:$LINENO: checking for $ac_header" >&5
5894
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5895
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5896
echo $ECHO_N "(cached) $ECHO_C" >&6
5898
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5899
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5901
# Is the header compilable?
5902
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5903
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5904
cat >conftest.$ac_ext <<_ACEOF
5907
cat confdefs.h >>conftest.$ac_ext
5908
cat >>conftest.$ac_ext <<_ACEOF
5909
/* end confdefs.h. */
5910
$ac_includes_default
5911
#include <$ac_header>
5913
rm -f conftest.$ac_objext
5914
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5915
(eval $ac_compile) 2>conftest.er1
5917
grep -v '^ *+' conftest.er1 >conftest.err
5919
cat conftest.err >&5
5920
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921
(exit $ac_status); } &&
5922
{ ac_try='test -z "$ac_c_werror_flag"
5923
|| test ! -s conftest.err'
5924
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5927
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928
(exit $ac_status); }; } &&
5929
{ ac_try='test -s conftest.$ac_objext'
5930
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934
(exit $ac_status); }; }; then
5935
ac_header_compiler=yes
5937
echo "$as_me: failed program was:" >&5
5938
sed 's/^/| /' conftest.$ac_ext >&5
5940
ac_header_compiler=no
5942
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5943
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5944
echo "${ECHO_T}$ac_header_compiler" >&6
5946
# Is the header present?
5947
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5948
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5949
cat >conftest.$ac_ext <<_ACEOF
5952
cat confdefs.h >>conftest.$ac_ext
5953
cat >>conftest.$ac_ext <<_ACEOF
5954
/* end confdefs.h. */
5955
#include <$ac_header>
5957
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5958
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5960
grep -v '^ *+' conftest.er1 >conftest.err
5962
cat conftest.err >&5
5963
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964
(exit $ac_status); } >/dev/null; then
5965
if test -s conftest.err; then
5966
ac_cpp_err=$ac_c_preproc_warn_flag
5967
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5974
if test -z "$ac_cpp_err"; then
5975
ac_header_preproc=yes
5977
echo "$as_me: failed program was:" >&5
5978
sed 's/^/| /' conftest.$ac_ext >&5
5980
ac_header_preproc=no
5982
rm -f conftest.err conftest.$ac_ext
5983
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5984
echo "${ECHO_T}$ac_header_preproc" >&6
5986
# So? What about this header?
5987
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5989
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5990
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5991
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5992
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5993
ac_header_preproc=yes
5996
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5997
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5998
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5999
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6000
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6001
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6002
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6003
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6004
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6005
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6006
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6007
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6010
## ---------------------------------- ##
6011
## Report this to shodan(at)shodan.ru ##
6012
## ---------------------------------- ##
6015
sed "s/^/$as_me: WARNING: /" >&2
6018
echo "$as_me:$LINENO: checking for $ac_header" >&5
6019
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6020
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6021
echo $ECHO_N "(cached) $ECHO_C" >&6
6023
eval "$as_ac_Header=\$ac_header_preproc"
6025
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6026
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6029
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6030
cat >>confdefs.h <<_ACEOF
6031
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6038
echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
6039
echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
6040
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
6041
echo $ECHO_N "(cached) $ECHO_C" >&6
6043
if test "$cross_compiling" = yes; then
6044
ac_cv_func_realloc_0_nonnull=no
6046
cat >conftest.$ac_ext <<_ACEOF
6049
cat confdefs.h >>conftest.$ac_ext
6050
cat >>conftest.$ac_ext <<_ACEOF
6051
/* end confdefs.h. */
6052
#if STDC_HEADERS || HAVE_STDLIB_H
6053
# include <stdlib.h>
6061
exit (realloc (0, 0) ? 0 : 1);
6066
rm -f conftest$ac_exeext
6067
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6068
(eval $ac_link) 2>&5
6070
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6072
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076
(exit $ac_status); }; }; then
6077
ac_cv_func_realloc_0_nonnull=yes
6079
echo "$as_me: program exited with status $ac_status" >&5
6080
echo "$as_me: failed program was:" >&5
6081
sed 's/^/| /' conftest.$ac_ext >&5
6084
ac_cv_func_realloc_0_nonnull=no
6086
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6089
echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
6090
echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
6091
if test $ac_cv_func_realloc_0_nonnull = yes; then
6093
cat >>confdefs.h <<\_ACEOF
6094
#define HAVE_REALLOC 1
6098
cat >>confdefs.h <<\_ACEOF
6099
#define HAVE_REALLOC 0
6103
"realloc.$ac_objext" | \
6104
*" realloc.$ac_objext" | \
6105
"realloc.$ac_objext "* | \
6106
*" realloc.$ac_objext "* ) ;;
6107
*) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;;
6111
cat >>confdefs.h <<\_ACEOF
6112
#define realloc rpl_realloc
6121
for ac_header in sys/select.h sys/socket.h
6123
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6124
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6125
echo "$as_me:$LINENO: checking for $ac_header" >&5
6126
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6127
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6128
echo $ECHO_N "(cached) $ECHO_C" >&6
6130
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6131
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6133
# Is the header compilable?
6134
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6135
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6136
cat >conftest.$ac_ext <<_ACEOF
6139
cat confdefs.h >>conftest.$ac_ext
6140
cat >>conftest.$ac_ext <<_ACEOF
6141
/* end confdefs.h. */
6142
$ac_includes_default
6143
#include <$ac_header>
6145
rm -f conftest.$ac_objext
6146
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6147
(eval $ac_compile) 2>conftest.er1
6149
grep -v '^ *+' conftest.er1 >conftest.err
6151
cat conftest.err >&5
6152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153
(exit $ac_status); } &&
6154
{ ac_try='test -z "$ac_c_werror_flag"
6155
|| test ! -s conftest.err'
6156
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160
(exit $ac_status); }; } &&
6161
{ ac_try='test -s conftest.$ac_objext'
6162
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6165
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166
(exit $ac_status); }; }; then
6167
ac_header_compiler=yes
6169
echo "$as_me: failed program was:" >&5
6170
sed 's/^/| /' conftest.$ac_ext >&5
6172
ac_header_compiler=no
6174
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6175
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6176
echo "${ECHO_T}$ac_header_compiler" >&6
6178
# Is the header present?
6179
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6180
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6181
cat >conftest.$ac_ext <<_ACEOF
6184
cat confdefs.h >>conftest.$ac_ext
6185
cat >>conftest.$ac_ext <<_ACEOF
6186
/* end confdefs.h. */
6187
#include <$ac_header>
6189
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6190
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6192
grep -v '^ *+' conftest.er1 >conftest.err
6194
cat conftest.err >&5
6195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196
(exit $ac_status); } >/dev/null; then
6197
if test -s conftest.err; then
6198
ac_cpp_err=$ac_c_preproc_warn_flag
6199
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6206
if test -z "$ac_cpp_err"; then
6207
ac_header_preproc=yes
6209
echo "$as_me: failed program was:" >&5
6210
sed 's/^/| /' conftest.$ac_ext >&5
6212
ac_header_preproc=no
6214
rm -f conftest.err conftest.$ac_ext
6215
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6216
echo "${ECHO_T}$ac_header_preproc" >&6
6218
# So? What about this header?
6219
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6221
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6222
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6223
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6224
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6225
ac_header_preproc=yes
6228
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6229
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6230
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6231
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6232
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6233
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6234
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6235
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6236
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6237
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6238
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6239
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6242
## ---------------------------------- ##
6243
## Report this to shodan(at)shodan.ru ##
6244
## ---------------------------------- ##
6247
sed "s/^/$as_me: WARNING: /" >&2
6250
echo "$as_me:$LINENO: checking for $ac_header" >&5
6251
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6252
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6253
echo $ECHO_N "(cached) $ECHO_C" >&6
6255
eval "$as_ac_Header=\$ac_header_preproc"
6257
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6258
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6261
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6262
cat >>confdefs.h <<_ACEOF
6263
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6270
echo "$as_me:$LINENO: checking types of arguments for select" >&5
6271
echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
6272
if test "${ac_cv_func_select_args+set}" = set; then
6273
echo $ECHO_N "(cached) $ECHO_C" >&6
6275
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
6276
for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
6277
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
6278
cat >conftest.$ac_ext <<_ACEOF
6281
cat confdefs.h >>conftest.$ac_ext
6282
cat >>conftest.$ac_ext <<_ACEOF
6283
/* end confdefs.h. */
6284
$ac_includes_default
6285
#if HAVE_SYS_SELECT_H
6286
# include <sys/select.h>
6288
#if HAVE_SYS_SOCKET_H
6289
# include <sys/socket.h>
6295
extern int select ($ac_arg1,
6296
$ac_arg234, $ac_arg234, $ac_arg234,
6302
rm -f conftest.$ac_objext
6303
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6304
(eval $ac_compile) 2>conftest.er1
6306
grep -v '^ *+' conftest.er1 >conftest.err
6308
cat conftest.err >&5
6309
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310
(exit $ac_status); } &&
6311
{ ac_try='test -z "$ac_c_werror_flag"
6312
|| test ! -s conftest.err'
6313
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317
(exit $ac_status); }; } &&
6318
{ ac_try='test -s conftest.$ac_objext'
6319
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6322
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323
(exit $ac_status); }; }; then
6324
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
6326
echo "$as_me: failed program was:" >&5
6327
sed 's/^/| /' conftest.$ac_ext >&5
6330
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6334
# Provide a safe default value.
6335
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
6338
echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
6339
echo "${ECHO_T}$ac_cv_func_select_args" >&6
6340
ac_save_IFS=$IFS; IFS=','
6341
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
6345
cat >>confdefs.h <<_ACEOF
6346
#define SELECT_TYPE_ARG1 $1
6350
cat >>confdefs.h <<_ACEOF
6351
#define SELECT_TYPE_ARG234 ($2)
6355
cat >>confdefs.h <<_ACEOF
6356
#define SELECT_TYPE_ARG5 ($3)
6361
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6362
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
6363
if test "${ac_cv_type_signal+set}" = set; then
6364
echo $ECHO_N "(cached) $ECHO_C" >&6
6366
cat >conftest.$ac_ext <<_ACEOF
6369
cat confdefs.h >>conftest.$ac_ext
6370
cat >>conftest.$ac_ext <<_ACEOF
6371
/* end confdefs.h. */
6372
#include <sys/types.h>
6378
extern "C" void (*signal (int, void (*)(int)))(int);
6380
void (*signal ()) ();
6391
rm -f conftest.$ac_objext
6392
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6393
(eval $ac_compile) 2>conftest.er1
6395
grep -v '^ *+' conftest.er1 >conftest.err
6397
cat conftest.err >&5
6398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399
(exit $ac_status); } &&
6400
{ ac_try='test -z "$ac_c_werror_flag"
6401
|| test ! -s conftest.err'
6402
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6405
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406
(exit $ac_status); }; } &&
6407
{ ac_try='test -s conftest.$ac_objext'
6408
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6411
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412
(exit $ac_status); }; }; then
6413
ac_cv_type_signal=void
6415
echo "$as_me: failed program was:" >&5
6416
sed 's/^/| /' conftest.$ac_ext >&5
6418
ac_cv_type_signal=int
6420
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6422
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6423
echo "${ECHO_T}$ac_cv_type_signal" >&6
6425
cat >>confdefs.h <<_ACEOF
6426
#define RETSIGTYPE $ac_cv_type_signal
6430
echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
6431
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
6432
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
6433
echo $ECHO_N "(cached) $ECHO_C" >&6
6435
rm -f conftest.sym conftest.file
6437
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
6438
if test "$cross_compiling" = yes; then
6439
ac_cv_func_lstat_dereferences_slashed_symlink=no
6441
cat >conftest.$ac_ext <<_ACEOF
6444
cat confdefs.h >>conftest.$ac_ext
6445
cat >>conftest.$ac_ext <<_ACEOF
6446
/* end confdefs.h. */
6447
$ac_includes_default
6452
/* Linux will dereference the symlink and fail.
6453
That is better in the sense that it means we will not
6454
have to compile and use the lstat wrapper. */
6455
exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
6460
rm -f conftest$ac_exeext
6461
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6462
(eval $ac_link) 2>&5
6464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6466
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6469
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470
(exit $ac_status); }; }; then
6471
ac_cv_func_lstat_dereferences_slashed_symlink=yes
6473
echo "$as_me: program exited with status $ac_status" >&5
6474
echo "$as_me: failed program was:" >&5
6475
sed 's/^/| /' conftest.$ac_ext >&5
6478
ac_cv_func_lstat_dereferences_slashed_symlink=no
6480
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6483
# If the `ln -s' command failed, then we probably don't even
6484
# have an lstat function.
6485
ac_cv_func_lstat_dereferences_slashed_symlink=no
6487
rm -f conftest.sym conftest.file
6490
echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
6491
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
6493
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
6495
cat >>confdefs.h <<_ACEOF
6496
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
6500
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
6502
"lstat.$ac_objext" | \
6503
*" lstat.$ac_objext" | \
6504
"lstat.$ac_objext "* | \
6505
*" lstat.$ac_objext "* ) ;;
6506
*) LIBOBJS="$LIBOBJS lstat.$ac_objext" ;;
6511
echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
6512
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
6513
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
6514
echo $ECHO_N "(cached) $ECHO_C" >&6
6516
if test "$cross_compiling" = yes; then
6517
ac_cv_func_stat_empty_string_bug=yes
6519
cat >conftest.$ac_ext <<_ACEOF
6522
cat confdefs.h >>conftest.$ac_ext
6523
cat >>conftest.$ac_ext <<_ACEOF
6524
/* end confdefs.h. */
6525
$ac_includes_default
6530
exit (stat ("", &sbuf) ? 1 : 0);
6535
rm -f conftest$ac_exeext
6536
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6537
(eval $ac_link) 2>&5
6539
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6541
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545
(exit $ac_status); }; }; then
6546
ac_cv_func_stat_empty_string_bug=yes
6548
echo "$as_me: program exited with status $ac_status" >&5
6549
echo "$as_me: failed program was:" >&5
6550
sed 's/^/| /' conftest.$ac_ext >&5
6553
ac_cv_func_stat_empty_string_bug=no
6555
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6558
echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
6559
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
6560
if test $ac_cv_func_stat_empty_string_bug = yes; then
6562
"stat.$ac_objext" | \
6563
*" stat.$ac_objext" | \
6564
"stat.$ac_objext "* | \
6565
*" stat.$ac_objext "* ) ;;
6566
*) LIBOBJS="$LIBOBJS stat.$ac_objext" ;;
6570
cat >>confdefs.h <<_ACEOF
6571
#define HAVE_STAT_EMPTY_STRING_BUG 1
6577
for ac_func in vprintf
6579
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6580
echo "$as_me:$LINENO: checking for $ac_func" >&5
6581
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6582
if eval "test \"\${$as_ac_var+set}\" = set"; then
6583
echo $ECHO_N "(cached) $ECHO_C" >&6
6585
cat >conftest.$ac_ext <<_ACEOF
6588
cat confdefs.h >>conftest.$ac_ext
6589
cat >>conftest.$ac_ext <<_ACEOF
6590
/* end confdefs.h. */
6591
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6592
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6593
#define $ac_func innocuous_$ac_func
6595
/* System header to define __stub macros and hopefully few prototypes,
6596
which can conflict with char $ac_func (); below.
6597
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6598
<limits.h> exists even on freestanding compilers. */
6601
# include <limits.h>
6603
# include <assert.h>
6608
/* Override any gcc2 internal prototype to avoid an error. */
6613
/* We use char because int might match the return type of a gcc2
6614
builtin and then its argument prototype would still apply. */
6616
/* The GNU C library defines this for functions which it implements
6617
to always fail with ENOSYS. Some functions are actually named
6618
something starting with __ and the normal name is an alias. */
6619
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6622
char (*f) () = $ac_func;
6631
return f != $ac_func;
6636
rm -f conftest.$ac_objext conftest$ac_exeext
6637
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6638
(eval $ac_link) 2>conftest.er1
6640
grep -v '^ *+' conftest.er1 >conftest.err
6642
cat conftest.err >&5
6643
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644
(exit $ac_status); } &&
6645
{ ac_try='test -z "$ac_c_werror_flag"
6646
|| test ! -s conftest.err'
6647
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651
(exit $ac_status); }; } &&
6652
{ ac_try='test -s conftest$ac_exeext'
6653
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657
(exit $ac_status); }; }; then
6658
eval "$as_ac_var=yes"
6660
echo "$as_me: failed program was:" >&5
6661
sed 's/^/| /' conftest.$ac_ext >&5
6663
eval "$as_ac_var=no"
6665
rm -f conftest.err conftest.$ac_objext \
6666
conftest$ac_exeext conftest.$ac_ext
6668
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6669
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6670
if test `eval echo '${'$as_ac_var'}'` = yes; then
6671
cat >>confdefs.h <<_ACEOF
6672
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6675
echo "$as_me:$LINENO: checking for _doprnt" >&5
6676
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
6677
if test "${ac_cv_func__doprnt+set}" = set; then
6678
echo $ECHO_N "(cached) $ECHO_C" >&6
6680
cat >conftest.$ac_ext <<_ACEOF
6683
cat confdefs.h >>conftest.$ac_ext
6684
cat >>conftest.$ac_ext <<_ACEOF
6685
/* end confdefs.h. */
6686
/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
6687
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6688
#define _doprnt innocuous__doprnt
6690
/* System header to define __stub macros and hopefully few prototypes,
6691
which can conflict with char _doprnt (); below.
6692
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6693
<limits.h> exists even on freestanding compilers. */
6696
# include <limits.h>
6698
# include <assert.h>
6703
/* Override any gcc2 internal prototype to avoid an error. */
6708
/* We use char because int might match the return type of a gcc2
6709
builtin and then its argument prototype would still apply. */
6711
/* The GNU C library defines this for functions which it implements
6712
to always fail with ENOSYS. Some functions are actually named
6713
something starting with __ and the normal name is an alias. */
6714
#if defined (__stub__doprnt) || defined (__stub____doprnt)
6717
char (*f) () = _doprnt;
6726
return f != _doprnt;
6731
rm -f conftest.$ac_objext conftest$ac_exeext
6732
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6733
(eval $ac_link) 2>conftest.er1
6735
grep -v '^ *+' conftest.er1 >conftest.err
6737
cat conftest.err >&5
6738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739
(exit $ac_status); } &&
6740
{ ac_try='test -z "$ac_c_werror_flag"
6741
|| test ! -s conftest.err'
6742
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6745
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746
(exit $ac_status); }; } &&
6747
{ ac_try='test -s conftest$ac_exeext'
6748
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6751
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752
(exit $ac_status); }; }; then
6753
ac_cv_func__doprnt=yes
6755
echo "$as_me: failed program was:" >&5
6756
sed 's/^/| /' conftest.$ac_ext >&5
6758
ac_cv_func__doprnt=no
6760
rm -f conftest.err conftest.$ac_objext \
6761
conftest$ac_exeext conftest.$ac_ext
6763
echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
6764
echo "${ECHO_T}$ac_cv_func__doprnt" >&6
6765
if test $ac_cv_func__doprnt = yes; then
6767
cat >>confdefs.h <<\_ACEOF
6768
#define HAVE_DOPRNT 1
6777
echo "$as_me:$LINENO: checking for library containing setsockopt" >&5
6778
echo $ECHO_N "checking for library containing setsockopt... $ECHO_C" >&6
6779
if test "${ac_cv_search_setsockopt+set}" = set; then
6780
echo $ECHO_N "(cached) $ECHO_C" >&6
6782
ac_func_search_save_LIBS=$LIBS
6783
ac_cv_search_setsockopt=no
6784
cat >conftest.$ac_ext <<_ACEOF
6787
cat confdefs.h >>conftest.$ac_ext
6788
cat >>conftest.$ac_ext <<_ACEOF
6789
/* end confdefs.h. */
6791
/* Override any gcc2 internal prototype to avoid an error. */
6795
/* We use char because int might match the return type of a gcc2
6796
builtin and then its argument prototype would still apply. */
6806
rm -f conftest.$ac_objext conftest$ac_exeext
6807
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6808
(eval $ac_link) 2>conftest.er1
6810
grep -v '^ *+' conftest.er1 >conftest.err
6812
cat conftest.err >&5
6813
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814
(exit $ac_status); } &&
6815
{ ac_try='test -z "$ac_c_werror_flag"
6816
|| test ! -s conftest.err'
6817
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821
(exit $ac_status); }; } &&
6822
{ ac_try='test -s conftest$ac_exeext'
6823
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827
(exit $ac_status); }; }; then
6828
ac_cv_search_setsockopt="none required"
6830
echo "$as_me: failed program was:" >&5
6831
sed 's/^/| /' conftest.$ac_ext >&5
6834
rm -f conftest.err conftest.$ac_objext \
6835
conftest$ac_exeext conftest.$ac_ext
6836
if test "$ac_cv_search_setsockopt" = no; then
6837
for ac_lib in socket; do
6838
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6839
cat >conftest.$ac_ext <<_ACEOF
6842
cat confdefs.h >>conftest.$ac_ext
6843
cat >>conftest.$ac_ext <<_ACEOF
6844
/* end confdefs.h. */
6846
/* Override any gcc2 internal prototype to avoid an error. */
6850
/* We use char because int might match the return type of a gcc2
6851
builtin and then its argument prototype would still apply. */
6861
rm -f conftest.$ac_objext conftest$ac_exeext
6862
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6863
(eval $ac_link) 2>conftest.er1
6865
grep -v '^ *+' conftest.er1 >conftest.err
6867
cat conftest.err >&5
6868
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869
(exit $ac_status); } &&
6870
{ ac_try='test -z "$ac_c_werror_flag"
6871
|| test ! -s conftest.err'
6872
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876
(exit $ac_status); }; } &&
6877
{ ac_try='test -s conftest$ac_exeext'
6878
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882
(exit $ac_status); }; }; then
6883
ac_cv_search_setsockopt="-l$ac_lib"
6886
echo "$as_me: failed program was:" >&5
6887
sed 's/^/| /' conftest.$ac_ext >&5
6890
rm -f conftest.err conftest.$ac_objext \
6891
conftest$ac_exeext conftest.$ac_ext
6894
LIBS=$ac_func_search_save_LIBS
6896
echo "$as_me:$LINENO: result: $ac_cv_search_setsockopt" >&5
6897
echo "${ECHO_T}$ac_cv_search_setsockopt" >&6
6898
if test "$ac_cv_search_setsockopt" != no; then
6899
test "$ac_cv_search_setsockopt" = "none required" || LIBS="$ac_cv_search_setsockopt $LIBS"
6903
echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
6904
echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
6905
if test "${ac_cv_search_gethostbyname+set}" = set; then
6906
echo $ECHO_N "(cached) $ECHO_C" >&6
6908
ac_func_search_save_LIBS=$LIBS
6909
ac_cv_search_gethostbyname=no
6910
cat >conftest.$ac_ext <<_ACEOF
6913
cat confdefs.h >>conftest.$ac_ext
6914
cat >>conftest.$ac_ext <<_ACEOF
6915
/* end confdefs.h. */
6917
/* Override any gcc2 internal prototype to avoid an error. */
6921
/* We use char because int might match the return type of a gcc2
6922
builtin and then its argument prototype would still apply. */
6923
char gethostbyname ();
6932
rm -f conftest.$ac_objext conftest$ac_exeext
6933
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6934
(eval $ac_link) 2>conftest.er1
6936
grep -v '^ *+' conftest.er1 >conftest.err
6938
cat conftest.err >&5
6939
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940
(exit $ac_status); } &&
6941
{ ac_try='test -z "$ac_c_werror_flag"
6942
|| test ! -s conftest.err'
6943
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6946
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947
(exit $ac_status); }; } &&
6948
{ ac_try='test -s conftest$ac_exeext'
6949
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6952
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953
(exit $ac_status); }; }; then
6954
ac_cv_search_gethostbyname="none required"
6956
echo "$as_me: failed program was:" >&5
6957
sed 's/^/| /' conftest.$ac_ext >&5
6960
rm -f conftest.err conftest.$ac_objext \
6961
conftest$ac_exeext conftest.$ac_ext
6962
if test "$ac_cv_search_gethostbyname" = no; then
6963
for ac_lib in nsl socket resolv; do
6964
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6965
cat >conftest.$ac_ext <<_ACEOF
6968
cat confdefs.h >>conftest.$ac_ext
6969
cat >>conftest.$ac_ext <<_ACEOF
6970
/* end confdefs.h. */
6972
/* Override any gcc2 internal prototype to avoid an error. */
6976
/* We use char because int might match the return type of a gcc2
6977
builtin and then its argument prototype would still apply. */
6978
char gethostbyname ();
6987
rm -f conftest.$ac_objext conftest$ac_exeext
6988
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6989
(eval $ac_link) 2>conftest.er1
6991
grep -v '^ *+' conftest.er1 >conftest.err
6993
cat conftest.err >&5
6994
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995
(exit $ac_status); } &&
6996
{ ac_try='test -z "$ac_c_werror_flag"
6997
|| test ! -s conftest.err'
6998
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002
(exit $ac_status); }; } &&
7003
{ ac_try='test -s conftest$ac_exeext'
7004
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008
(exit $ac_status); }; }; then
7009
ac_cv_search_gethostbyname="-l$ac_lib"
7012
echo "$as_me: failed program was:" >&5
7013
sed 's/^/| /' conftest.$ac_ext >&5
7016
rm -f conftest.err conftest.$ac_objext \
7017
conftest$ac_exeext conftest.$ac_ext
7020
LIBS=$ac_func_search_save_LIBS
7022
echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
7023
echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
7024
if test "$ac_cv_search_gethostbyname" != no; then
7025
test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
7029
echo "$as_me:$LINENO: checking for library containing XML_Parse" >&5
7030
echo $ECHO_N "checking for library containing XML_Parse... $ECHO_C" >&6
7031
if test "${ac_cv_search_XML_Parse+set}" = set; then
7032
echo $ECHO_N "(cached) $ECHO_C" >&6
7034
ac_func_search_save_LIBS=$LIBS
7035
ac_cv_search_XML_Parse=no
7036
cat >conftest.$ac_ext <<_ACEOF
7039
cat confdefs.h >>conftest.$ac_ext
7040
cat >>conftest.$ac_ext <<_ACEOF
7041
/* end confdefs.h. */
7043
/* Override any gcc2 internal prototype to avoid an error. */
7047
/* We use char because int might match the return type of a gcc2
7048
builtin and then its argument prototype would still apply. */
7058
rm -f conftest.$ac_objext conftest$ac_exeext
7059
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7060
(eval $ac_link) 2>conftest.er1
7062
grep -v '^ *+' conftest.er1 >conftest.err
7064
cat conftest.err >&5
7065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066
(exit $ac_status); } &&
7067
{ ac_try='test -z "$ac_c_werror_flag"
7068
|| test ! -s conftest.err'
7069
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073
(exit $ac_status); }; } &&
7074
{ ac_try='test -s conftest$ac_exeext'
7075
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7078
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079
(exit $ac_status); }; }; then
7080
ac_cv_search_XML_Parse="none required"
7082
echo "$as_me: failed program was:" >&5
7083
sed 's/^/| /' conftest.$ac_ext >&5
7086
rm -f conftest.err conftest.$ac_objext \
7087
conftest$ac_exeext conftest.$ac_ext
7088
if test "$ac_cv_search_XML_Parse" = no; then
7089
for ac_lib in expat; do
7090
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7091
cat >conftest.$ac_ext <<_ACEOF
7094
cat confdefs.h >>conftest.$ac_ext
7095
cat >>conftest.$ac_ext <<_ACEOF
7096
/* end confdefs.h. */
7098
/* Override any gcc2 internal prototype to avoid an error. */
7102
/* We use char because int might match the return type of a gcc2
7103
builtin and then its argument prototype would still apply. */
7113
rm -f conftest.$ac_objext conftest$ac_exeext
7114
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7115
(eval $ac_link) 2>conftest.er1
7117
grep -v '^ *+' conftest.er1 >conftest.err
7119
cat conftest.err >&5
7120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121
(exit $ac_status); } &&
7122
{ ac_try='test -z "$ac_c_werror_flag"
7123
|| test ! -s conftest.err'
7124
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7127
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128
(exit $ac_status); }; } &&
7129
{ ac_try='test -s conftest$ac_exeext'
7130
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134
(exit $ac_status); }; }; then
7135
ac_cv_search_XML_Parse="-l$ac_lib"
7138
echo "$as_me: failed program was:" >&5
7139
sed 's/^/| /' conftest.$ac_ext >&5
7142
rm -f conftest.err conftest.$ac_objext \
7143
conftest$ac_exeext conftest.$ac_ext
7146
LIBS=$ac_func_search_save_LIBS
7148
echo "$as_me:$LINENO: result: $ac_cv_search_XML_Parse" >&5
7149
echo "${ECHO_T}$ac_cv_search_XML_Parse" >&6
7150
if test "$ac_cv_search_XML_Parse" != no; then
7151
test "$ac_cv_search_XML_Parse" = "none required" || LIBS="$ac_cv_search_XML_Parse $LIBS"
7157
echo "$as_me:$LINENO: checking for library containing iconv" >&5
7158
echo $ECHO_N "checking for library containing iconv... $ECHO_C" >&6
7159
if test "${ac_cv_search_iconv+set}" = set; then
7160
echo $ECHO_N "(cached) $ECHO_C" >&6
7162
ac_func_search_save_LIBS=$LIBS
7163
ac_cv_search_iconv=no
7164
cat >conftest.$ac_ext <<_ACEOF
7167
cat confdefs.h >>conftest.$ac_ext
7168
cat >>conftest.$ac_ext <<_ACEOF
7169
/* end confdefs.h. */
7171
/* Override any gcc2 internal prototype to avoid an error. */
7175
/* We use char because int might match the return type of a gcc2
7176
builtin and then its argument prototype would still apply. */
7186
rm -f conftest.$ac_objext conftest$ac_exeext
7187
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7188
(eval $ac_link) 2>conftest.er1
7190
grep -v '^ *+' conftest.er1 >conftest.err
7192
cat conftest.err >&5
7193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194
(exit $ac_status); } &&
7195
{ ac_try='test -z "$ac_c_werror_flag"
7196
|| test ! -s conftest.err'
7197
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201
(exit $ac_status); }; } &&
7202
{ ac_try='test -s conftest$ac_exeext'
7203
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207
(exit $ac_status); }; }; then
7208
ac_cv_search_iconv="none required"
7210
echo "$as_me: failed program was:" >&5
7211
sed 's/^/| /' conftest.$ac_ext >&5
7214
rm -f conftest.err conftest.$ac_objext \
7215
conftest$ac_exeext conftest.$ac_ext
7216
if test "$ac_cv_search_iconv" = no; then
7217
for ac_lib in iconv; do
7218
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7219
cat >conftest.$ac_ext <<_ACEOF
7222
cat confdefs.h >>conftest.$ac_ext
7223
cat >>conftest.$ac_ext <<_ACEOF
7224
/* end confdefs.h. */
7226
/* Override any gcc2 internal prototype to avoid an error. */
7230
/* We use char because int might match the return type of a gcc2
7231
builtin and then its argument prototype would still apply. */
7241
rm -f conftest.$ac_objext conftest$ac_exeext
7242
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7243
(eval $ac_link) 2>conftest.er1
7245
grep -v '^ *+' conftest.er1 >conftest.err
7247
cat conftest.err >&5
7248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249
(exit $ac_status); } &&
7250
{ ac_try='test -z "$ac_c_werror_flag"
7251
|| test ! -s conftest.err'
7252
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7255
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256
(exit $ac_status); }; } &&
7257
{ ac_try='test -s conftest$ac_exeext'
7258
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7261
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262
(exit $ac_status); }; }; then
7263
ac_cv_search_iconv="-l$ac_lib"
7266
echo "$as_me: failed program was:" >&5
7267
sed 's/^/| /' conftest.$ac_ext >&5
7270
rm -f conftest.err conftest.$ac_objext \
7271
conftest$ac_exeext conftest.$ac_ext
7274
LIBS=$ac_func_search_save_LIBS
7276
echo "$as_me:$LINENO: result: $ac_cv_search_iconv" >&5
7277
echo "${ECHO_T}$ac_cv_search_iconv" >&6
7278
if test "$ac_cv_search_iconv" != no; then
7279
test "$ac_cv_search_iconv" = "none required" || LIBS="$ac_cv_search_iconv $LIBS"
7285
echo "$as_me:$LINENO: checking for library containing logf" >&5
7286
echo $ECHO_N "checking for library containing logf... $ECHO_C" >&6
7287
if test "${ac_cv_search_logf+set}" = set; then
7288
echo $ECHO_N "(cached) $ECHO_C" >&6
7290
ac_func_search_save_LIBS=$LIBS
7291
ac_cv_search_logf=no
7292
cat >conftest.$ac_ext <<_ACEOF
7295
cat confdefs.h >>conftest.$ac_ext
7296
cat >>conftest.$ac_ext <<_ACEOF
7297
/* end confdefs.h. */
7299
/* Override any gcc2 internal prototype to avoid an error. */
7303
/* We use char because int might match the return type of a gcc2
7304
builtin and then its argument prototype would still apply. */
7314
rm -f conftest.$ac_objext conftest$ac_exeext
7315
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7316
(eval $ac_link) 2>conftest.er1
7318
grep -v '^ *+' conftest.er1 >conftest.err
7320
cat conftest.err >&5
7321
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322
(exit $ac_status); } &&
7323
{ ac_try='test -z "$ac_c_werror_flag"
7324
|| test ! -s conftest.err'
7325
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7328
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329
(exit $ac_status); }; } &&
7330
{ ac_try='test -s conftest$ac_exeext'
7331
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7334
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335
(exit $ac_status); }; }; then
7336
ac_cv_search_logf="none required"
7338
echo "$as_me: failed program was:" >&5
7339
sed 's/^/| /' conftest.$ac_ext >&5
7342
rm -f conftest.err conftest.$ac_objext \
7343
conftest$ac_exeext conftest.$ac_ext
7344
if test "$ac_cv_search_logf" = no; then
7346
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7347
cat >conftest.$ac_ext <<_ACEOF
7350
cat confdefs.h >>conftest.$ac_ext
7351
cat >>conftest.$ac_ext <<_ACEOF
7352
/* end confdefs.h. */
7354
/* Override any gcc2 internal prototype to avoid an error. */
7358
/* We use char because int might match the return type of a gcc2
7359
builtin and then its argument prototype would still apply. */
7369
rm -f conftest.$ac_objext conftest$ac_exeext
7370
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7371
(eval $ac_link) 2>conftest.er1
7373
grep -v '^ *+' conftest.er1 >conftest.err
7375
cat conftest.err >&5
7376
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377
(exit $ac_status); } &&
7378
{ ac_try='test -z "$ac_c_werror_flag"
7379
|| test ! -s conftest.err'
7380
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384
(exit $ac_status); }; } &&
7385
{ ac_try='test -s conftest$ac_exeext'
7386
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7389
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390
(exit $ac_status); }; }; then
7391
ac_cv_search_logf="-l$ac_lib"
7394
echo "$as_me: failed program was:" >&5
7395
sed 's/^/| /' conftest.$ac_ext >&5
7398
rm -f conftest.err conftest.$ac_objext \
7399
conftest$ac_exeext conftest.$ac_ext
7402
LIBS=$ac_func_search_save_LIBS
7404
echo "$as_me:$LINENO: result: $ac_cv_search_logf" >&5
7405
echo "${ECHO_T}$ac_cv_search_logf" >&6
7406
if test "$ac_cv_search_logf" != no; then
7407
test "$ac_cv_search_logf" = "none required" || LIBS="$ac_cv_search_logf $LIBS"
7425
for ac_func in dup2 gethostbyname gettimeofday memmove memset select socket strcasecmp strchr strerror strncasecmp strstr strtol logf
7427
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7428
echo "$as_me:$LINENO: checking for $ac_func" >&5
7429
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7430
if eval "test \"\${$as_ac_var+set}\" = set"; then
7431
echo $ECHO_N "(cached) $ECHO_C" >&6
7433
cat >conftest.$ac_ext <<_ACEOF
7436
cat confdefs.h >>conftest.$ac_ext
7437
cat >>conftest.$ac_ext <<_ACEOF
7438
/* end confdefs.h. */
7439
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7440
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7441
#define $ac_func innocuous_$ac_func
7443
/* System header to define __stub macros and hopefully few prototypes,
7444
which can conflict with char $ac_func (); below.
7445
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7446
<limits.h> exists even on freestanding compilers. */
7449
# include <limits.h>
7451
# include <assert.h>
7456
/* Override any gcc2 internal prototype to avoid an error. */
7461
/* We use char because int might match the return type of a gcc2
7462
builtin and then its argument prototype would still apply. */
7464
/* The GNU C library defines this for functions which it implements
7465
to always fail with ENOSYS. Some functions are actually named
7466
something starting with __ and the normal name is an alias. */
7467
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7470
char (*f) () = $ac_func;
7479
return f != $ac_func;
7484
rm -f conftest.$ac_objext conftest$ac_exeext
7485
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7486
(eval $ac_link) 2>conftest.er1
7488
grep -v '^ *+' conftest.er1 >conftest.err
7490
cat conftest.err >&5
7491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492
(exit $ac_status); } &&
7493
{ ac_try='test -z "$ac_c_werror_flag"
7494
|| test ! -s conftest.err'
7495
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7498
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499
(exit $ac_status); }; } &&
7500
{ ac_try='test -s conftest$ac_exeext'
7501
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505
(exit $ac_status); }; }; then
7506
eval "$as_ac_var=yes"
7508
echo "$as_me: failed program was:" >&5
7509
sed 's/^/| /' conftest.$ac_ext >&5
7511
eval "$as_ac_var=no"
7513
rm -f conftest.err conftest.$ac_objext \
7514
conftest$ac_exeext conftest.$ac_ext
7516
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7517
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7518
if test `eval echo '${'$as_ac_var'}'` = yes; then
7519
cat >>confdefs.h <<_ACEOF
7520
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7528
echo "$as_me:$LINENO: checking for LOCK_EX in sys/file.h" >&5
7529
echo $ECHO_N "checking for LOCK_EX in sys/file.h... $ECHO_C" >&6
7530
if test "${ac_cv_define_LOCK_EX+set}" = set; then
7531
echo $ECHO_N "(cached) $ECHO_C" >&6
7534
cat >conftest.$ac_ext <<_ACEOF
7537
cat confdefs.h >>conftest.$ac_ext
7538
cat >>conftest.$ac_ext <<_ACEOF
7539
/* end confdefs.h. */
7541
#include <sys/file.h>
7547
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7548
$EGREP "YES_IS_DEFINED" >/dev/null 2>&1; then
7549
ac_cv_define_LOCK_EX=yes
7551
ac_cv_define_LOCK_EX=no
7557
echo "$as_me:$LINENO: result: $ac_cv_define_LOCK_EX" >&5
7558
echo "${ECHO_T}$ac_cv_define_LOCK_EX" >&6
7559
if test "$ac_cv_define_LOCK_EX" = "yes"; then
7561
cat >>confdefs.h <<\_ACEOF
7562
#define HAVE_LOCK_EX 1
7568
echo "$as_me:$LINENO: checking for F_SETLKW in fcntl.h" >&5
7569
echo $ECHO_N "checking for F_SETLKW in fcntl.h... $ECHO_C" >&6
7570
if test "${ac_cv_define_F_SETLKW+set}" = set; then
7571
echo $ECHO_N "(cached) $ECHO_C" >&6
7574
cat >conftest.$ac_ext <<_ACEOF
7577
cat confdefs.h >>conftest.$ac_ext
7578
cat >>conftest.$ac_ext <<_ACEOF
7579
/* end confdefs.h. */
7587
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7588
$EGREP "YES_IS_DEFINED" >/dev/null 2>&1; then
7589
ac_cv_define_F_SETLKW=yes
7591
ac_cv_define_F_SETLKW=no
7597
echo "$as_me:$LINENO: result: $ac_cv_define_F_SETLKW" >&5
7598
echo "${ECHO_T}$ac_cv_define_F_SETLKW" >&6
7599
if test "$ac_cv_define_F_SETLKW" = "yes"; then
7601
cat >>confdefs.h <<\_ACEOF
7602
#define HAVE_F_SETLKW 1
7610
echo "$as_me:$LINENO: result: " >&5
7611
echo "${ECHO_T}" >&6
7612
echo "$as_me:$LINENO: result: configuring Sphinx" >&5
7613
echo "${ECHO_T}configuring Sphinx" >&6
7614
TMP=`echo configuring Sphinx | sed -e sX.X-Xg`
7615
echo "$as_me:$LINENO: result: $TMP" >&5
7616
echo "${ECHO_T}$TMP" >&6
7617
echo "$as_me:$LINENO: result: " >&5
7618
echo "${ECHO_T}" >&6
7621
# check if we should compile with MySQL support
7623
# Check whether --with-mysql or --without-mysql was given.
7624
if test "${with_mysql+set}" = set; then
7625
withval="$with_mysql"
7626
ac_cv_use_mysql=$withval
7631
echo "$as_me:$LINENO: checking whether to compile with MySQL support" >&5
7632
echo $ECHO_N "checking whether to compile with MySQL support... $ECHO_C" >&6
7633
if test x$ac_cv_use_mysql != xno; then
7634
echo "$as_me:$LINENO: result: yes" >&5
7635
echo "${ECHO_T}yes" >&6
7638
mysqlconfig_locations="mysql_config /usr/bin/mysql_config /usr/local/bin/mysql_config /usr/local/mysql/bin/mysql_config /opt/mysql/bin/mysql_config /usr/pkg/bin/mysql_config"
7639
user_mysql_includes=
7642
# check explicit MySQL root for mysql_config, include, lib
7643
if test x$ac_cv_use_mysql != xyes -a x$ac_cv_use_mysql != xno
7645
mysqlroot=`echo $ac_cv_use_mysql | sed -e 's+/$++'`
7646
if test -x "$mysqlroot/bin/mysql_config"
7648
# if there's mysql_config, that's the best route
7649
mysqlconfig_locations="$mysqlroot/bin/mysql_config"
7650
elif test -d "$mysqlroot/include" -a -d "$mysqlroot/lib"
7652
# explicit root; do not check well-known paths
7653
mysqlconfig_locations=
7656
if test -d "$mysqlroot/include/mysql"
7658
user_mysql_includes="$mysqlroot/include/mysql"
7660
user_mysql_includes="$mysqlroot/include"
7664
if test -d "$mysqlroot/lib/mysql"
7666
user_mysql_libs="$mysqlroot/lib/mysql"
7668
user_mysql_libs="$mysqlroot/lib"
7671
{ { echo "$as_me:$LINENO: error: invalid MySQL root directory '$mysqlroot'; neither bin/mysql_config, nor include/ and lib/ were found there" >&5
7672
echo "$as_me: error: invalid MySQL root directory '$mysqlroot'; neither bin/mysql_config, nor include/ and lib/ were found there" >&2;}
7673
{ (exit 1); exit 1; }; }
7678
# try running mysql_config
7679
echo "$as_me:$LINENO: checking for mysql_config" >&5
7680
echo $ECHO_N "checking for mysql_config... $ECHO_C" >&6
7681
for mysqlconfig in $mysqlconfig_locations
7683
if test -n "$mysqlconfig"
7685
MYSQL_CFLAGS=`${mysqlconfig} --cflags 2>/dev/null`
7686
MYSQL_LIBS=`${mysqlconfig} --libs 2>/dev/null`
7690
echo "$as_me:$LINENO: result: $mysqlconfig" >&5
7691
echo "${ECHO_T}$mysqlconfig" >&6
7700
if test -n "$mysqlconfig"
7702
echo "$as_me:$LINENO: result: not found" >&5
7703
echo "${ECHO_T}not found" >&6
7707
# if there's nothing from mysql_config, check well-known include paths
7708
# explicit overrides will be applied later
7709
if test -z "$MYSQL_CFLAGS"
7711
for CANDIDATE in "$user_mysql_includes" "/usr/local/mysql/include" "/usr/local/mysql/include/mysql" \
7712
"/usr/include/mysql"
7714
if test -n "$CANDIDATE" -a -r "$CANDIDATE/mysql.h"
7716
MYSQL_CFLAGS="-I$CANDIDATE"
7723
# if there's nothing from mysql_config, check well-known library paths
7724
# explicit overrides will be applied later
7725
if test -z "$MYSQL_LIBS"
7727
for CANDIDATE in "$user_mysql_libs" "/usr/lib64/mysql" \
7728
"/usr/local/mysql/lib/mysql" "/usr/local/mysql/lib" \
7729
"/usr/local/lib/mysql" "/usr/lib/mysql" \
7730
"/opt/mysql/lib/mysql" "/usr/pkg/lib/mysql"
7732
if test -n "$CANDIDATE" -a -d "$CANDIDATE"
7734
MYSQL_LIBS="-L$CANDIDATE -lmysqlclient -lz"
7741
# apply explicit include path overrides
7743
# Check whether --with-mysql-includes or --without-mysql-includes was given.
7744
if test "${with_mysql_includes+set}" = set; then
7745
withval="$with_mysql_includes"
7746
ac_cv_mysql_includes=$withval
7748
if test -n "$ac_cv_mysql_includes"
7750
MYSQL_CFLAGS="-I$ac_cv_mysql_includes"
7754
# apply explicit lib path overrides
7756
# Check whether --with-mysql-libs or --without-mysql-libs was given.
7757
if test "${with_mysql_libs+set}" = set; then
7758
withval="$with_mysql_libs"
7759
ac_cv_mysql_libs=$withval
7761
if test -n "$ac_cv_mysql_libs"
7763
# Trim trailing '.libs' if user passed it in --with-mysql-libs option
7764
ac_cv_mysql_libs=`echo ${ac_cv_mysql_libs} | sed -e 's/.libs$//' \
7766
MYSQL_LIBS="-L$ac_cv_mysql_libs -lmysqlclient -lz"
7770
# now that we did all we could, perform final checks
7771
echo "$as_me:$LINENO: checking MySQL include files" >&5
7772
echo $ECHO_N "checking MySQL include files... $ECHO_C" >&6
7773
if test -z "$MYSQL_CFLAGS"
7775
{ { echo "$as_me:$LINENO: error: missing include files.
7777
******************************************************************************
7778
ERROR: cannot find MySQL include files.
7780
Check that you do have MySQL include files installed.
7781
The package name is typically 'mysql-devel'.
7783
If include files are installed on your system, but you are still getting
7784
this message, you should do one of the following:
7786
1) either specify includes location explicitly, using --with-mysql-includes;
7787
2) or specify MySQL installation root location explicitly, using --with-mysql;
7788
3) or make sure that the path to 'mysql_config' program is listed in
7789
your PATH environment variable.
7791
To disable MySQL support, use --without-mysql option.
7792
******************************************************************************
7794
echo "$as_me: error: missing include files.
7796
******************************************************************************
7797
ERROR: cannot find MySQL include files.
7799
Check that you do have MySQL include files installed.
7800
The package name is typically 'mysql-devel'.
7802
If include files are installed on your system, but you are still getting
7803
this message, you should do one of the following:
7805
1) either specify includes location explicitly, using --with-mysql-includes;
7806
2) or specify MySQL installation root location explicitly, using --with-mysql;
7807
3) or make sure that the path to 'mysql_config' program is listed in
7808
your PATH environment variable.
7810
To disable MySQL support, use --without-mysql option.
7811
******************************************************************************
7813
{ (exit 1); exit 1; }; }
7815
echo "$as_me:$LINENO: result: $MYSQL_CFLAGS" >&5
7816
echo "${ECHO_T}$MYSQL_CFLAGS" >&6
7820
echo "$as_me:$LINENO: checking MySQL libraries" >&5
7821
echo $ECHO_N "checking MySQL libraries... $ECHO_C" >&6
7822
if test -z "$MYSQL_LIBS"
7824
{ { echo "$as_me:$LINENO: error: missing libraries.
7826
******************************************************************************
7827
ERROR: cannot find MySQL libraries.
7829
Check that you do have MySQL libraries installed.
7830
The package name is typically 'mysql-devel'.
7832
If libraries are installed on your system, but you are still getting
7833
this message, you should do one of the following:
7835
1) either specify libraries location explicitly, using --with-mysql-libs;
7836
2) or specify MySQL installation root location explicitly, using --with-mysql;
7837
3) or make sure that the path to 'mysql_config' program is listed in
7838
your PATH environment variable.
7840
To disable MySQL support, use --without-mysql option.
7841
******************************************************************************
7843
echo "$as_me: error: missing libraries.
7845
******************************************************************************
7846
ERROR: cannot find MySQL libraries.
7848
Check that you do have MySQL libraries installed.
7849
The package name is typically 'mysql-devel'.
7851
If libraries are installed on your system, but you are still getting
7852
this message, you should do one of the following:
7854
1) either specify libraries location explicitly, using --with-mysql-libs;
7855
2) or specify MySQL installation root location explicitly, using --with-mysql;
7856
3) or make sure that the path to 'mysql_config' program is listed in
7857
your PATH environment variable.
7859
To disable MySQL support, use --without-mysql option.
7860
******************************************************************************
7862
{ (exit 1); exit 1; }; }
7864
echo "$as_me:$LINENO: result: $MYSQL_LIBS" >&5
7865
echo "${ECHO_T}$MYSQL_LIBS" >&6
7871
cat >>confdefs.h <<\_ACEOF
7878
echo "$as_me:$LINENO: result: no" >&5
7879
echo "${ECHO_T}no" >&6
7883
if test x$ac_cv_use_mysql != xno; then
7893
# check if we should compile with PostgreSQL support
7895
# Check whether --with-pgsql or --without-pgsql was given.
7896
if test "${with_pgsql+set}" = set; then
7897
withval="$with_pgsql"
7898
ac_cv_use_pgsql=$withval
7903
echo "$as_me:$LINENO: checking whether to compile with PostgreSQL support" >&5
7904
echo $ECHO_N "checking whether to compile with PostgreSQL support... $ECHO_C" >&6
7905
if test x$ac_cv_use_pgsql != xno; then
7906
echo "$as_me:$LINENO: result: yes" >&5
7907
echo "${ECHO_T}yes" >&6
7910
# Check for custom includes path
7911
if test -z "$ac_cv_pgsql_includes"
7914
# Check whether --with-pgsql-includes or --without-pgsql-includes was given.
7915
if test "${with_pgsql_includes+set}" = set; then
7916
withval="$with_pgsql_includes"
7917
ac_cv_pgsql_includes=$withval
7920
if test -n "$ac_cv_pgsql_includes"
7922
echo "$as_me:$LINENO: checking PostgreSQL includes" >&5
7923
echo $ECHO_N "checking PostgreSQL includes... $ECHO_C" >&6
7924
if test "${ac_cv_pgsql_includes+set}" = set; then
7925
echo $ECHO_N "(cached) $ECHO_C" >&6
7927
ac_cv_pgsql_includes=""
7929
echo "$as_me:$LINENO: result: $ac_cv_pgsql_includes" >&5
7930
echo "${ECHO_T}$ac_cv_pgsql_includes" >&6
7931
PGSQL_CFLAGS="-I$ac_cv_pgsql_includes"
7934
# Check for custom library path
7935
if test -z "$ac_cv_pgsql_libs"
7938
# Check whether --with-pgsql-libs or --without-pgsql-libs was given.
7939
if test "${with_pgsql_libs+set}" = set; then
7940
withval="$with_pgsql_libs"
7941
ac_cv_pgsql_libs=$withval
7944
if test -n "$ac_cv_pgsql_libs"
7946
echo "$as_me:$LINENO: checking PostgreSQL libraries" >&5
7947
echo $ECHO_N "checking PostgreSQL libraries... $ECHO_C" >&6
7948
if test "${ac_cv_pgsql_libs+set}" = set; then
7949
echo $ECHO_N "(cached) $ECHO_C" >&6
7953
echo "$as_me:$LINENO: result: $ac_cv_pgsql_libs" >&5
7954
echo "${ECHO_T}$ac_cv_pgsql_libs" >&6
7955
PGSQL_LIBS="-L$ac_cv_pgsql_libs -lpq"
7958
# If some path is missing, try to autodetermine with pgsql_config
7959
if test -z "$ac_cv_pgsql_includes" -o -z "$ac_cv_pgsql_libs"
7961
if test -z "$pgconfig"
7963
# Extract the first word of "pg_config", so it can be a program name with args.
7964
set dummy pg_config; ac_word=$2
7965
echo "$as_me:$LINENO: checking for $ac_word" >&5
7966
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7967
if test "${ac_cv_path_pgconfig+set}" = set; then
7968
echo $ECHO_N "(cached) $ECHO_C" >&6
7972
ac_cv_path_pgconfig="$pgconfig" # Let the user override the test with a path.
7975
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979
test -z "$as_dir" && as_dir=.
7980
for ac_exec_ext in '' $ac_executable_extensions; do
7981
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7982
ac_cv_path_pgconfig="$as_dir/$ac_word$ac_exec_ext"
7983
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7992
pgconfig=$ac_cv_path_pgconfig
7994
if test -n "$pgconfig"; then
7995
echo "$as_me:$LINENO: result: $pgconfig" >&5
7996
echo "${ECHO_T}$pgconfig" >&6
7998
echo "$as_me:$LINENO: result: no" >&5
7999
echo "${ECHO_T}no" >&6
8003
if test -z "$pgconfig"
8005
{ { echo "$as_me:$LINENO: error: pg_config executable not found
8006
********************************************************************************
8007
ERROR: cannot find PostgreSQL libraries. If you want to compile with PosgregSQL support,
8008
you must either specify file locations explicitly using
8009
--with-pgsql-includes and --with-pgsql-libs options, or make sure path to
8010
pg_config is listed in your PATH environment variable. If you want to
8011
disable PostgreSQL support, use --without-pgsql option.
8012
********************************************************************************
8014
echo "$as_me: error: pg_config executable not found
8015
********************************************************************************
8016
ERROR: cannot find PostgreSQL libraries. If you want to compile with PosgregSQL support,
8017
you must either specify file locations explicitly using
8018
--with-pgsql-includes and --with-pgsql-libs options, or make sure path to
8019
pg_config is listed in your PATH environment variable. If you want to
8020
disable PostgreSQL support, use --without-pgsql option.
8021
********************************************************************************
8023
{ (exit 1); exit 1; }; }
8025
if test -z "$ac_cv_pgsql_includes"
8027
echo "$as_me:$LINENO: checking PostgreSQL C flags" >&5
8028
echo $ECHO_N "checking PostgreSQL C flags... $ECHO_C" >&6
8029
PGSQL_CFLAGS="-I`${pgconfig} --includedir`"
8030
echo "$as_me:$LINENO: result: $PGSQL_CFLAGS" >&5
8031
echo "${ECHO_T}$PGSQL_CFLAGS" >&6
8033
if test -z "$ac_cv_pgsql_libs"
8035
echo "$as_me:$LINENO: checking PostgreSQL linker flags" >&5
8036
echo $ECHO_N "checking PostgreSQL linker flags... $ECHO_C" >&6
8037
PGSQL_LIBS="-L`${pgconfig} --libdir` -lpq"
8038
echo "$as_me:$LINENO: result: $PGSQL_LIBS" >&5
8039
echo "${ECHO_T}$PGSQL_LIBS" >&6
8045
cat >>confdefs.h <<\_ACEOF
8052
echo "$as_me:$LINENO: result: no" >&5
8053
echo "${ECHO_T}no" >&6
8057
if test x$ac_cv_use_pgsql != xno; then
8067
# we can now set preprocessor flags for both C and C++ compilers
8068
CPPFLAGS="$CPPFLAGS $MYSQL_CFLAGS $PGSQL_CFLAGS"
8071
echo "$as_me:$LINENO: checking whether to use 64-bit document/word IDs" >&5
8072
echo $ECHO_N "checking whether to use 64-bit document/word IDs... $ECHO_C" >&6
8074
# Check whether --enable-id64 or --disable-id64 was given.
8075
if test "${enable_id64+set}" = set; then
8076
enableval="$enable_id64"
8077
sph_enable_id64=$enableval
8079
if test x$sph_enable_id64 != xno; then
8081
cat >>confdefs.h <<\_ACEOF
8085
echo "$as_me:$LINENO: result: yes" >&5
8086
echo "${ECHO_T}yes" >&6
8089
cat >>confdefs.h <<\_ACEOF
8093
echo "$as_me:$LINENO: result: no" >&5
8094
echo "${ECHO_T}no" >&6
8099
# Check whether --with-libstemmer or --without-libstemmer was given.
8100
if test "${with_libstemmer+set}" = set; then
8101
withval="$with_libstemmer"
8102
ac_cv_use_libstemmer=$withval
8104
ac_cv_use_libstemmer=no
8108
echo "$as_me:$LINENO: checking whether to compile with libstemmer support" >&5
8109
echo $ECHO_N "checking whether to compile with libstemmer support... $ECHO_C" >&6
8110
if test x$ac_cv_use_libstemmer != xno; then
8111
if test -d libstemmer_c && test -f libstemmer_c/include/libstemmer.h; then
8112
echo "$as_me:$LINENO: result: yes" >&5
8113
echo "${ECHO_T}yes" >&6
8115
cat >>confdefs.h <<\_ACEOF
8116
#define USE_LIBSTEMMER 1
8120
{ { echo "$as_me:$LINENO: error: missing libstemmer sources from libstemmer_c.
8122
Please download the C version of libstemmer library from
8123
http://snowball.tartarus.org/ and extract its sources over libstemmer_c/
8124
subdirectory in order to build Sphinx with libstemmer support.
8126
echo "$as_me: error: missing libstemmer sources from libstemmer_c.
8128
Please download the C version of libstemmer library from
8129
http://snowball.tartarus.org/ and extract its sources over libstemmer_c/
8130
subdirectory in order to build Sphinx with libstemmer support.
8132
{ (exit 1); exit 1; }; }
8135
echo "$as_me:$LINENO: result: no" >&5
8136
echo "${ECHO_T}no" >&6
8138
cat >>confdefs.h <<\_ACEOF
8139
#define USE_LIBSTEMMER 0
8145
if test x$ac_cv_use_libstemmer != xno; then
8146
USE_LIBSTEMMER_TRUE=
8147
USE_LIBSTEMMER_FALSE='#'
8149
USE_LIBSTEMMER_TRUE='#'
8150
USE_LIBSTEMMER_FALSE=
8156
echo "$as_me:$LINENO: checking for libexpat" >&5
8157
echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
8158
if test $have_expat_h = yes -a $have_libexpat = yes ; then
8160
cat >>confdefs.h <<\_ACEOF
8161
#define USE_LIBEXPAT 1
8164
echo "$as_me:$LINENO: result: found" >&5
8165
echo "${ECHO_T}found" >&6
8168
echo "$as_me:$LINENO: result: not found" >&5
8169
echo "${ECHO_T}not found" >&6
8170
{ echo "$as_me:$LINENO: WARNING: xmlpipe2 will NOT be available" >&5
8171
echo "$as_me: WARNING: xmlpipe2 will NOT be available" >&2;}
8176
# Check whether --with-iconv or --without-iconv was given.
8177
if test "${with_iconv+set}" = set; then
8178
withval="$with_iconv"
8179
ac_cv_use_iconv=$withval
8184
echo "$as_me:$LINENO: checking for libiconv" >&5
8185
echo $ECHO_N "checking for libiconv... $ECHO_C" >&6
8186
if test $have_iconv_h = yes \
8187
-a $have_libiconv = yes \
8188
-a $got_expat -eq 1 \
8189
-a $ac_cv_use_iconv != no ; \
8192
cat >>confdefs.h <<\_ACEOF
8193
#define USE_LIBICONV 1
8196
echo "$as_me:$LINENO: result: found" >&5
8197
echo "${ECHO_T}found" >&6
8199
echo "$as_me:$LINENO: checking for iconv() arg types" >&5
8200
echo $ECHO_N "checking for iconv() arg types... $ECHO_C" >&6
8202
ac_cpp='$CXXCPP $CPPFLAGS'
8203
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8204
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8205
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8208
cat >conftest.$ac_ext <<_ACEOF
8211
cat confdefs.h >>conftest.$ac_ext
8212
cat >>conftest.$ac_ext <<_ACEOF
8213
/* end confdefs.h. */
8222
iconv ( cd, &inbuf, NULL, NULL, NULL );
8228
rm -f conftest.$ac_objext
8229
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8230
(eval $ac_compile) 2>conftest.er1
8232
grep -v '^ *+' conftest.er1 >conftest.err
8234
cat conftest.err >&5
8235
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236
(exit $ac_status); } &&
8237
{ ac_try='test -z "$ac_cxx_werror_flag"
8238
|| test ! -s conftest.err'
8239
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243
(exit $ac_status); }; } &&
8244
{ ac_try='test -s conftest.$ac_objext'
8245
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249
(exit $ac_status); }; }; then
8250
iconv_inbuf_const=yes
8252
echo "$as_me: failed program was:" >&5
8253
sed 's/^/| /' conftest.$ac_ext >&5
8255
iconv_inbuf_const=no
8257
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8259
ac_cpp='$CPP $CPPFLAGS'
8260
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8261
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8262
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8264
if test $iconv_inbuf_const = yes ; then
8266
cat >>confdefs.h <<\_ACEOF
8267
#define ICONV_INBUF_CONST 1
8270
echo "$as_me:$LINENO: result: const char **" >&5
8271
echo "${ECHO_T}const char **" >&6
8274
cat >>confdefs.h <<\_ACEOF
8275
#define ICONV_INBUF_CONST 0
8278
echo "$as_me:$LINENO: result: char **" >&5
8279
echo "${ECHO_T}char **" >&6
8282
if test $got_expat -eq 1 ; then
8283
if test $ac_cv_use_iconv = no ; then
8284
echo "$as_me:$LINENO: result: disabled" >&5
8285
echo "${ECHO_T}disabled" >&6
8287
echo "$as_me:$LINENO: result: not found" >&5
8288
echo "${ECHO_T}not found" >&6
8290
{ echo "$as_me:$LINENO: WARNING: xmlpipe2 will only support default encodings (latin-1, utf-8)" >&5
8291
echo "$as_me: WARNING: xmlpipe2 will only support default encodings (latin-1, utf-8)" >&2;}
8293
echo "$as_me:$LINENO: result: not required" >&5
8294
echo "${ECHO_T}not required" >&6
8299
echo "$as_me:$LINENO: checking for unaligned RAM access" >&5
8300
echo $ECHO_N "checking for unaligned RAM access... $ECHO_C" >&6
8302
ac_cpp='$CXXCPP $CPPFLAGS'
8303
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8304
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8305
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8307
if test "$cross_compiling" = yes; then
8308
echo "$as_me:$LINENO: result: unknown (cross-compiling), assume yes" >&5
8309
echo "${ECHO_T}unknown (cross-compiling), assume yes" >&6
8310
cat >>confdefs.h <<\_ACEOF
8311
#define UNALIGNED_RAM_ACCESS 1
8315
cat >conftest.$ac_ext <<_ACEOF
8318
cat confdefs.h >>conftest.$ac_ext
8319
cat >>conftest.$ac_ext <<_ACEOF
8320
/* end confdefs.h. */
8327
char * sBuf = new char [ 8*sizeof(int) ];
8328
for ( int i=0; i<8*sizeof(int); i++ )
8331
// check for crashes (SPARC)
8332
volatile int iRes = 0;
8333
for ( int i=0; i<(int)sizeof(int); i++ )
8335
int * pPtr = (int*)( sBuf+i );
8339
// check for correct values (ARM)
8340
iRes = *(int*)( sBuf+1 );
8341
if (!( iRes==0x01020304 || iRes==0x04030201 ))
8349
rm -f conftest$ac_exeext
8350
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8351
(eval $ac_link) 2>&5
8353
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8355
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8358
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359
(exit $ac_status); }; }; then
8360
echo "$as_me:$LINENO: result: yes" >&5
8361
echo "${ECHO_T}yes" >&6
8363
cat >>confdefs.h <<\_ACEOF
8364
#define UNALIGNED_RAM_ACCESS 1
8368
echo "$as_me: program exited with status $ac_status" >&5
8369
echo "$as_me: failed program was:" >&5
8370
sed 's/^/| /' conftest.$ac_ext >&5
8373
echo "$as_me:$LINENO: result: no" >&5
8374
echo "${ECHO_T}no" >&6
8375
cat >>confdefs.h <<\_ACEOF
8376
#define UNALIGNED_RAM_ACCESS 0
8380
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8385
echo "$as_me:$LINENO: result: " >&5
8386
echo "${ECHO_T}" >&6
8387
echo "$as_me:$LINENO: result: generating configuration files" >&5
8388
echo "${ECHO_T}generating configuration files" >&6
8389
TMP=`echo generating configuration files | sed -e sX.X-Xg`
8390
echo "$as_me:$LINENO: result: $TMP" >&5
8391
echo "${ECHO_T}$TMP" >&6
8392
echo "$as_me:$LINENO: result: " >&5
8393
echo "${ECHO_T}" >&6
8396
if test "$prefix" = "NONE"; then
8399
my_op_prefix="$localstatedir"
8403
CONFDIR=`eval echo "${my_op_prefix}"`
8406
ac_config_files="$ac_config_files Makefile src/Makefile libstemmer_c/Makefile sphinx.conf.dist:sphinx.conf.in sphinx-min.conf.dist:sphinx-min.conf.in"
8408
cat >confcache <<\_ACEOF
8409
# This file is a shell script that caches the results of configure
8410
# tests run on this system so they can be shared between configure
8411
# scripts and configure runs, see configure's option --config-cache.
8412
# It is not useful on other systems. If it contains results you don't
8413
# want to keep, you may remove or edit it.
8415
# config.status only pays attention to the cache file if you give it
8416
# the --recheck option to rerun configure.
8418
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8419
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8424
# The following way of writing the cache mishandles newlines in values,
8425
# but we know of no workaround that is simple, portable, and efficient.
8426
# So, don't put newlines in cache variables' values.
8427
# Ultrix sh set writes to stderr and can't be redirected directly,
8428
# and sets the high bit in the cache file unless we assign to the vars.
8431
case `(ac_space=' '; set | grep ac_space) 2>&1` in
8433
# `set' does not quote correctly, so add quotes (double-quote
8434
# substitution turns \\\\ into \\, and sed turns \\ into \).
8437
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8440
# `set' quotes correctly as required by POSIX, so do not add quotes.
8442
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8449
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8451
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8453
if diff $cache_file confcache >/dev/null 2>&1; then :; else
8454
if test -w $cache_file; then
8455
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8456
cat confcache >$cache_file
8458
echo "not updating unwritable cache $cache_file"
8463
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8464
# Let make expand exec_prefix.
8465
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8467
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8468
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8469
# trailing colons and then remove the whole line if VPATH becomes empty
8470
# (actually we leave an empty line to preserve line numbers).
8471
if test "x$srcdir" = x.; then
8472
ac_vpsub='/^[ ]*VPATH[ ]*=/{
8473
s/:*\$(srcdir):*/:/;
8474
s/:*\${srcdir}:*/:/;
8476
s/^\([^=]*=[ ]*\):*/\1/;
8482
DEFS=-DHAVE_CONFIG_H
8486
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8487
# 1. Remove the extension, and $U if already installed.
8488
ac_i=`echo "$ac_i" |
8489
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8491
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8492
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8496
LTLIBOBJS=$ac_ltlibobjs
8499
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8500
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8501
Usually this means the macro was only invoked conditionally." >&5
8502
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8503
Usually this means the macro was only invoked conditionally." >&2;}
8504
{ (exit 1); exit 1; }; }
8506
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8507
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8508
Usually this means the macro was only invoked conditionally." >&5
8509
echo "$as_me: error: conditional \"AMDEP\" was never defined.
8510
Usually this means the macro was only invoked conditionally." >&2;}
8511
{ (exit 1); exit 1; }; }
8513
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8514
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8515
Usually this means the macro was only invoked conditionally." >&5
8516
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8517
Usually this means the macro was only invoked conditionally." >&2;}
8518
{ (exit 1); exit 1; }; }
8520
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8521
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
8522
Usually this means the macro was only invoked conditionally." >&5
8523
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
8524
Usually this means the macro was only invoked conditionally." >&2;}
8525
{ (exit 1); exit 1; }; }
8527
if test -z "${USE_MYSQL_TRUE}" && test -z "${USE_MYSQL_FALSE}"; then
8528
{ { echo "$as_me:$LINENO: error: conditional \"USE_MYSQL\" was never defined.
8529
Usually this means the macro was only invoked conditionally." >&5
8530
echo "$as_me: error: conditional \"USE_MYSQL\" was never defined.
8531
Usually this means the macro was only invoked conditionally." >&2;}
8532
{ (exit 1); exit 1; }; }
8534
if test -z "${USE_PGSQL_TRUE}" && test -z "${USE_PGSQL_FALSE}"; then
8535
{ { echo "$as_me:$LINENO: error: conditional \"USE_PGSQL\" was never defined.
8536
Usually this means the macro was only invoked conditionally." >&5
8537
echo "$as_me: error: conditional \"USE_PGSQL\" was never defined.
8538
Usually this means the macro was only invoked conditionally." >&2;}
8539
{ (exit 1); exit 1; }; }
8541
if test -z "${USE_LIBSTEMMER_TRUE}" && test -z "${USE_LIBSTEMMER_FALSE}"; then
8542
{ { echo "$as_me:$LINENO: error: conditional \"USE_LIBSTEMMER\" was never defined.
8543
Usually this means the macro was only invoked conditionally." >&5
8544
echo "$as_me: error: conditional \"USE_LIBSTEMMER\" was never defined.
8545
Usually this means the macro was only invoked conditionally." >&2;}
8546
{ (exit 1); exit 1; }; }
8549
: ${CONFIG_STATUS=./config.status}
8550
ac_clean_files_save=$ac_clean_files
8551
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8552
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8553
echo "$as_me: creating $CONFIG_STATUS" >&6;}
8554
cat >$CONFIG_STATUS <<_ACEOF
8556
# Generated by $as_me.
8557
# Run this file to recreate the current configuration.
8558
# Compiler output produced by configure, useful for debugging
8559
# configure, is in config.log if it exists.
8564
SHELL=\${CONFIG_SHELL-$SHELL}
8567
cat >>$CONFIG_STATUS <<\_ACEOF
8568
## --------------------- ##
8569
## M4sh Initialization. ##
8570
## --------------------- ##
8572
# Be Bourne compatible
8573
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8576
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8577
# is contrary to our usage. Disable this feature.
8578
alias -g '${1+"$@"}'='"$@"'
8579
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8582
DUALCASE=1; export DUALCASE # for MKS sh
8584
# Support unset when possible.
8585
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8592
# Work around bugs in pre-3.0 UWIN ksh.
8593
$as_unset ENV MAIL MAILPATH
8600
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8601
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8602
LC_TELEPHONE LC_TIME
8604
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8605
eval $as_var=C; export $as_var
8611
# Required to use basename.
8612
if expr a : '\(a\)' >/dev/null 2>&1; then
8618
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8619
as_basename=basename
8625
# Name of the executable.
8626
as_me=`$as_basename "$0" ||
8627
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8628
X"$0" : 'X\(//\)$' \| \
8629
X"$0" : 'X\(/\)$' \| \
8630
. : '\(.\)' 2>/dev/null ||
8632
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8633
/^X\/\(\/\/\)$/{ s//\1/; q; }
8634
/^X\/\(\/\).*/{ s//\1/; q; }
8638
# PATH needs CR, and LINENO needs CR and PATH.
8639
# Avoid depending upon Character Ranges.
8640
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8641
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8642
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8643
as_cr_digits='0123456789'
8644
as_cr_alnum=$as_cr_Letters$as_cr_digits
8646
# The user is always right.
8647
if test "${PATH_SEPARATOR+set}" != set; then
8648
echo "#! /bin/sh" >conf$$.sh
8649
echo "exit 0" >>conf$$.sh
8651
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8662
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8663
test "x$as_lineno_1" != "x$as_lineno_2" &&
8664
test "x$as_lineno_3" = "x$as_lineno_2" || {
8665
# Find who we are. Look in the path if we contain no path at all
8668
*[\\/]* ) as_myself=$0 ;;
8669
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8673
test -z "$as_dir" && as_dir=.
8674
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8679
# We did not find ourselves, most probably we were run as `sh COMMAND'
8680
# in which case we are not to be found in the path.
8681
if test "x$as_myself" = x; then
8684
if test ! -f "$as_myself"; then
8685
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8686
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8687
{ (exit 1); exit 1; }; }
8689
case $CONFIG_SHELL in
8691
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8692
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8695
test -z "$as_dir" && as_dir=.
8696
for as_base in sh bash ksh sh5; do
8699
if ("$as_dir/$as_base" -c '
8702
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8703
test "x$as_lineno_1" != "x$as_lineno_2" &&
8704
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
8705
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8706
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8707
CONFIG_SHELL=$as_dir/$as_base
8709
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8717
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8718
# uniformly replaced by the line number. The first 'sed' inserts a
8719
# line-number line before each line; the second 'sed' does the real
8720
# work. The second script uses 'N' to pair each line-number line
8721
# with the numbered line, and appends trailing '-' during
8722
# substitution so that $LINENO is not a special case at line end.
8723
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8724
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8725
sed '=' <$as_myself |
8730
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8733
s,^['$as_cr_digits']*\n,,
8735
chmod +x $as_me.lineno ||
8736
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8737
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8738
{ (exit 1); exit 1; }; }
8740
# Don't try to exec as it changes $[0], causing all sort of problems
8741
# (the dirname of $[0] is not the place where we might find the
8742
# original and so on. Autoconf is especially sensible to this).
8744
# Exit status is that of the last command.
8749
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8750
*c*,-n*) ECHO_N= ECHO_C='
8752
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8753
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
8756
if expr a : '\(a\)' >/dev/null 2>&1; then
8762
rm -f conf$$ conf$$.exe conf$$.file
8764
if ln -s conf$$.file conf$$ 2>/dev/null; then
8765
# We could just check for DJGPP; but this test a) works b) is more generic
8766
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8767
if test -f conf$$.exe; then
8768
# Don't use ln at all; we don't have any links
8773
elif ln conf$$.file conf$$ 2>/dev/null; then
8778
rm -f conf$$ conf$$.exe conf$$.file
8780
if mkdir -p . 2>/dev/null; then
8783
test -d ./-p && rmdir ./-p
8787
as_executable_p="test -f"
8789
# Sed expression to map a string onto a valid CPP name.
8790
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8792
# Sed expression to map a string onto a valid variable name.
8793
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8797
# We need space, tab and new line, in precisely that order.
8807
# Open the log real soon, to keep \$[0] and so on meaningful, and to
8808
# report actual input values of CONFIG_FILES etc. instead of their
8809
# values after options handling. Logging --version etc. is OK.
8813
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8814
## Running $as_me. ##
8819
This file was extended by sphinx $as_me 0.9.8, which was
8820
generated by GNU Autoconf 2.59. Invocation command line was
8822
CONFIG_FILES = $CONFIG_FILES
8823
CONFIG_HEADERS = $CONFIG_HEADERS
8824
CONFIG_LINKS = $CONFIG_LINKS
8825
CONFIG_COMMANDS = $CONFIG_COMMANDS
8829
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8833
# Files that config.status was made for.
8834
if test -n "$ac_config_files"; then
8835
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8838
if test -n "$ac_config_headers"; then
8839
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8842
if test -n "$ac_config_links"; then
8843
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8846
if test -n "$ac_config_commands"; then
8847
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8850
cat >>$CONFIG_STATUS <<\_ACEOF
8853
\`$as_me' instantiates files from templates according to the
8854
current configuration.
8856
Usage: $0 [OPTIONS] [FILE]...
8858
-h, --help print this help, then exit
8859
-V, --version print version number, then exit
8860
-q, --quiet do not print progress messages
8861
-d, --debug don't remove temporary files
8862
--recheck update $as_me by reconfiguring in the same conditions
8863
--file=FILE[:TEMPLATE]
8864
instantiate the configuration file FILE
8865
--header=FILE[:TEMPLATE]
8866
instantiate the configuration header FILE
8868
Configuration files:
8871
Configuration headers:
8874
Configuration commands:
8877
Report bugs to <bug-autoconf@gnu.org>."
8880
cat >>$CONFIG_STATUS <<_ACEOF
8882
sphinx config.status 0.9.8
8883
configured by $0, generated by GNU Autoconf 2.59,
8884
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8886
Copyright (C) 2003 Free Software Foundation, Inc.
8887
This config.status script is free software; the Free Software Foundation
8888
gives unlimited permission to copy, distribute and modify it."
8893
cat >>$CONFIG_STATUS <<\_ACEOF
8894
# If no file are specified by the user, then we need to provide default
8895
# value. By we need to know if files were specified by the user.
8901
ac_option=`expr "x$1" : 'x\([^=]*\)='`
8902
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8910
*) # This is not an option, so the user has probably given explicit
8913
ac_need_defaults=false;;
8917
# Handling of the options.
8919
cat >>$CONFIG_STATUS <<\_ACEOF
8920
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8922
--version | --vers* | -V )
8923
echo "$ac_cs_version"; exit 0 ;;
8925
# Conflict between --help and --header
8926
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
8927
Try \`$0 --help' for more information." >&5
8928
echo "$as_me: error: ambiguous option: $1
8929
Try \`$0 --help' for more information." >&2;}
8930
{ (exit 1); exit 1; }; };;
8931
--help | --hel | -h )
8932
echo "$ac_cs_usage"; exit 0 ;;
8933
--debug | --d* | -d )
8935
--file | --fil | --fi | --f )
8937
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8938
ac_need_defaults=false;;
8939
--header | --heade | --head | --hea )
8941
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8942
ac_need_defaults=false;;
8943
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
8944
| -silent | --silent | --silen | --sile | --sil | --si | --s)
8948
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8949
Try \`$0 --help' for more information." >&5
8950
echo "$as_me: error: unrecognized option: $1
8951
Try \`$0 --help' for more information." >&2;}
8952
{ (exit 1); exit 1; }; } ;;
8954
*) ac_config_targets="$ac_config_targets $1" ;;
8960
ac_configure_extra_args=
8962
if $ac_cs_silent; then
8964
ac_configure_extra_args="$ac_configure_extra_args --silent"
8968
cat >>$CONFIG_STATUS <<_ACEOF
8969
if \$ac_cs_recheck; then
8970
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8971
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8976
cat >>$CONFIG_STATUS <<_ACEOF
8978
# INIT-COMMANDS section.
8981
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8987
cat >>$CONFIG_STATUS <<\_ACEOF
8988
for ac_config_target in $ac_config_targets
8990
case "$ac_config_target" in
8991
# Handling of arguments.
8992
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8993
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8994
"libstemmer_c/Makefile" ) CONFIG_FILES="$CONFIG_FILES libstemmer_c/Makefile" ;;
8995
"sphinx.conf.dist" ) CONFIG_FILES="$CONFIG_FILES sphinx.conf.dist:sphinx.conf.in" ;;
8996
"sphinx-min.conf.dist" ) CONFIG_FILES="$CONFIG_FILES sphinx-min.conf.dist:sphinx-min.conf.in" ;;
8997
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8998
"config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config/config.h" ;;
8999
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9000
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9001
{ (exit 1); exit 1; }; };;
9005
# If the user did not use the arguments to specify the items to instantiate,
9006
# then the envvar interface is used. Set only those that are not.
9007
# We use the long form for the default assignment because of an extremely
9008
# bizarre bug on SunOS 4.1.3.
9009
if $ac_need_defaults; then
9010
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9011
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9012
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9015
# Have a temporary directory for convenience. Make it in the build tree
9016
# simply because there is no reason to put it here, and in addition,
9017
# creating and moving files from /tmp can sometimes cause problems.
9018
# Create a temporary directory, and hook for its removal unless debugging.
9021
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9022
trap '{ (exit 1); exit 1; }' 1 2 13 15
9025
# Create a (secure) tmp directory for tmp files.
9028
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9029
test -n "$tmp" && test -d "$tmp"
9032
tmp=./confstat$$-$RANDOM
9033
(umask 077 && mkdir $tmp)
9036
echo "$me: cannot create a temporary directory in ." >&2
9037
{ (exit 1); exit 1; }
9042
cat >>$CONFIG_STATUS <<_ACEOF
9045
# CONFIG_FILES section.
9048
# No need to generate the scripts if there are no CONFIG_FILES.
9049
# This happens for instance when ./config.status config.h
9050
if test -n "\$CONFIG_FILES"; then
9051
# Protect against being on the right side of a sed subst in config.status.
9052
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9053
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9054
s,@SHELL@,$SHELL,;t t
9055
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9056
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9057
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9058
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9059
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9060
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9061
s,@exec_prefix@,$exec_prefix,;t t
9062
s,@prefix@,$prefix,;t t
9063
s,@program_transform_name@,$program_transform_name,;t t
9064
s,@bindir@,$bindir,;t t
9065
s,@sbindir@,$sbindir,;t t
9066
s,@libexecdir@,$libexecdir,;t t
9067
s,@datadir@,$datadir,;t t
9068
s,@sysconfdir@,$sysconfdir,;t t
9069
s,@sharedstatedir@,$sharedstatedir,;t t
9070
s,@localstatedir@,$localstatedir,;t t
9071
s,@libdir@,$libdir,;t t
9072
s,@includedir@,$includedir,;t t
9073
s,@oldincludedir@,$oldincludedir,;t t
9074
s,@infodir@,$infodir,;t t
9075
s,@mandir@,$mandir,;t t
9076
s,@build_alias@,$build_alias,;t t
9077
s,@host_alias@,$host_alias,;t t
9078
s,@target_alias@,$target_alias,;t t
9080
s,@ECHO_C@,$ECHO_C,;t t
9081
s,@ECHO_N@,$ECHO_N,;t t
9082
s,@ECHO_T@,$ECHO_T,;t t
9084
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9085
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9086
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9087
s,@CYGPATH_W@,$CYGPATH_W,;t t
9088
s,@PACKAGE@,$PACKAGE,;t t
9089
s,@VERSION@,$VERSION,;t t
9090
s,@ACLOCAL@,$ACLOCAL,;t t
9091
s,@AUTOCONF@,$AUTOCONF,;t t
9092
s,@AUTOMAKE@,$AUTOMAKE,;t t
9093
s,@AUTOHEADER@,$AUTOHEADER,;t t
9094
s,@MAKEINFO@,$MAKEINFO,;t t
9095
s,@install_sh@,$install_sh,;t t
9096
s,@STRIP@,$STRIP,;t t
9097
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9098
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9099
s,@mkdir_p@,$mkdir_p,;t t
9101
s,@SET_MAKE@,$SET_MAKE,;t t
9102
s,@am__leading_dot@,$am__leading_dot,;t t
9103
s,@AMTAR@,$AMTAR,;t t
9104
s,@am__tar@,$am__tar,;t t
9105
s,@am__untar@,$am__untar,;t t
9106
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9107
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9108
s,@MAINT@,$MAINT,;t t
9110
s,@CFLAGS@,$CFLAGS,;t t
9111
s,@LDFLAGS@,$LDFLAGS,;t t
9112
s,@CPPFLAGS@,$CPPFLAGS,;t t
9113
s,@ac_ct_CC@,$ac_ct_CC,;t t
9114
s,@EXEEXT@,$EXEEXT,;t t
9115
s,@OBJEXT@,$OBJEXT,;t t
9116
s,@DEPDIR@,$DEPDIR,;t t
9117
s,@am__include@,$am__include,;t t
9118
s,@am__quote@,$am__quote,;t t
9119
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9120
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9121
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9122
s,@CCDEPMODE@,$CCDEPMODE,;t t
9123
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
9124
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
9126
s,@CXXFLAGS@,$CXXFLAGS,;t t
9127
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
9128
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
9129
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
9130
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
9131
s,@RANLIB@,$RANLIB,;t t
9132
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9134
s,@EGREP@,$EGREP,;t t
9135
s,@LIBOBJS@,$LIBOBJS,;t t
9136
s,@MYSQL_LIBS@,$MYSQL_LIBS,;t t
9137
s,@MYSQL_CFLAGS@,$MYSQL_CFLAGS,;t t
9138
s,@USE_MYSQL_TRUE@,$USE_MYSQL_TRUE,;t t
9139
s,@USE_MYSQL_FALSE@,$USE_MYSQL_FALSE,;t t
9140
s,@pgconfig@,$pgconfig,;t t
9141
s,@PGSQL_LIBS@,$PGSQL_LIBS,;t t
9142
s,@PGSQL_CFLAGS@,$PGSQL_CFLAGS,;t t
9143
s,@USE_PGSQL_TRUE@,$USE_PGSQL_TRUE,;t t
9144
s,@USE_PGSQL_FALSE@,$USE_PGSQL_FALSE,;t t
9145
s,@USE_LIBSTEMMER_TRUE@,$USE_LIBSTEMMER_TRUE,;t t
9146
s,@USE_LIBSTEMMER_FALSE@,$USE_LIBSTEMMER_FALSE,;t t
9147
s,@CONFDIR@,$CONFDIR,;t t
9148
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9153
cat >>$CONFIG_STATUS <<\_ACEOF
9154
# Split the substitutions into bite-sized pieces for seds with
9155
# small command number limits, like on Digital OSF/1 and HP-UX.
9157
ac_sed_frag=1 # Number of current file.
9158
ac_beg=1 # First line for current file.
9159
ac_end=$ac_max_sed_lines # Line after last line for current file.
9162
while $ac_more_lines; do
9163
if test $ac_beg -gt 1; then
9164
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9166
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9168
if test ! -s $tmp/subs.frag; then
9171
# The purpose of the label and of the branching condition is to
9172
# speed up the sed processing (if there are no `@' at all, there
9173
# is no need to browse any of the substitutions).
9174
# These are the two extra sed commands mentioned above.
9176
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9177
if test -z "$ac_sed_cmds"; then
9178
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9180
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9182
ac_sed_frag=`expr $ac_sed_frag + 1`
9184
ac_end=`expr $ac_end + $ac_max_sed_lines`
9187
if test -z "$ac_sed_cmds"; then
9190
fi # test -n "$CONFIG_FILES"
9193
cat >>$CONFIG_STATUS <<\_ACEOF
9194
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9195
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9197
- | *:- | *:-:* ) # input from stdin
9199
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9200
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9201
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9202
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9203
* ) ac_file_in=$ac_file.in ;;
9206
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9207
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9208
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9209
X"$ac_file" : 'X\(//\)[^/]' \| \
9210
X"$ac_file" : 'X\(//\)$' \| \
9211
X"$ac_file" : 'X\(/\)' \| \
9212
. : '\(.\)' 2>/dev/null ||
9214
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9215
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9216
/^X\(\/\/\)$/{ s//\1/; q; }
9217
/^X\(\/\).*/{ s//\1/; q; }
9219
{ if $as_mkdir_p; then
9224
while test ! -d "$as_dir"; do
9225
as_dirs="$as_dir $as_dirs"
9226
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9227
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9228
X"$as_dir" : 'X\(//\)[^/]' \| \
9229
X"$as_dir" : 'X\(//\)$' \| \
9230
X"$as_dir" : 'X\(/\)' \| \
9231
. : '\(.\)' 2>/dev/null ||
9233
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9234
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9235
/^X\(\/\/\)$/{ s//\1/; q; }
9236
/^X\(\/\).*/{ s//\1/; q; }
9239
test ! -n "$as_dirs" || mkdir $as_dirs
9240
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9241
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9242
{ (exit 1); exit 1; }; }; }
9246
if test "$ac_dir" != .; then
9247
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9248
# A "../" for each directory in $ac_dir_suffix.
9249
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9251
ac_dir_suffix= ac_top_builddir=
9255
.) # No --srcdir option. We are building in place.
9257
if test -z "$ac_top_builddir"; then
9260
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9262
[\\/]* | ?:[\\/]* ) # Absolute path.
9263
ac_srcdir=$srcdir$ac_dir_suffix;
9264
ac_top_srcdir=$srcdir ;;
9266
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9267
ac_top_srcdir=$ac_top_builddir$srcdir ;;
9270
# Do not use `cd foo && pwd` to compute absolute paths, because
9271
# the directories may not exist.
9273
.) ac_abs_builddir="$ac_dir";;
9276
.) ac_abs_builddir=`pwd`;;
9277
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9278
*) ac_abs_builddir=`pwd`/"$ac_dir";;
9281
case $ac_abs_builddir in
9282
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9284
case ${ac_top_builddir}. in
9285
.) ac_abs_top_builddir=$ac_abs_builddir;;
9286
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9287
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9290
case $ac_abs_builddir in
9291
.) ac_abs_srcdir=$ac_srcdir;;
9294
.) ac_abs_srcdir=$ac_abs_builddir;;
9295
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9296
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9299
case $ac_abs_builddir in
9300
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9302
case $ac_top_srcdir in
9303
.) ac_abs_top_srcdir=$ac_abs_builddir;;
9304
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9305
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9311
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9312
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9315
if test x"$ac_file" != x-; then
9316
{ echo "$as_me:$LINENO: creating $ac_file" >&5
9317
echo "$as_me: creating $ac_file" >&6;}
9320
# Let's still pretend it is `configure' which instantiates (i.e., don't
9321
# use $as_me), people would be surprised to read:
9322
# /* config.h. Generated by config.status. */
9323
if test x"$ac_file" = x-; then
9326
configure_input="$ac_file. "
9328
configure_input=$configure_input"Generated from `echo $ac_file_in |
9329
sed 's,.*/,,'` by configure."
9331
# First look for the input files in the build tree, otherwise in the
9333
ac_file_inputs=`IFS=:
9334
for f in $ac_file_in; do
9336
-) echo $tmp/stdin ;;
9338
# Absolute (can't be DOS-style, as IFS=:)
9339
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9340
echo "$as_me: error: cannot find input file: $f" >&2;}
9341
{ (exit 1); exit 1; }; }
9344
if test -f "$f"; then
9347
elif test -f "$srcdir/$f"; then
9352
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9353
echo "$as_me: error: cannot find input file: $f" >&2;}
9354
{ (exit 1); exit 1; }; }
9357
done` || { (exit 1); exit 1; }
9359
cat >>$CONFIG_STATUS <<_ACEOF
9363
cat >>$CONFIG_STATUS <<\_ACEOF
9365
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9366
s,@configure_input@,$configure_input,;t t
9367
s,@srcdir@,$ac_srcdir,;t t
9368
s,@abs_srcdir@,$ac_abs_srcdir,;t t
9369
s,@top_srcdir@,$ac_top_srcdir,;t t
9370
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9371
s,@builddir@,$ac_builddir,;t t
9372
s,@abs_builddir@,$ac_abs_builddir,;t t
9373
s,@top_builddir@,$ac_top_builddir,;t t
9374
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9375
s,@INSTALL@,$ac_INSTALL,;t t
9376
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9378
if test x"$ac_file" != x-; then
9379
mv $tmp/out $ac_file
9387
cat >>$CONFIG_STATUS <<\_ACEOF
9390
# CONFIG_HEADER section.
9393
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
9394
# NAME is the cpp macro being defined and VALUE is the value it is being given.
9396
# ac_d sets the value in "#define NAME VALUE" lines.
9397
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9398
ac_dB='[ ].*$,\1#\2'
9401
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9402
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9403
ac_uB='$,\1#\2define\3'
9407
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
9408
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9410
- | *:- | *:-:* ) # input from stdin
9412
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9413
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9414
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9415
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9416
* ) ac_file_in=$ac_file.in ;;
9419
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9420
echo "$as_me: creating $ac_file" >&6;}
9422
# First look for the input files in the build tree, otherwise in the
9424
ac_file_inputs=`IFS=:
9425
for f in $ac_file_in; do
9427
-) echo $tmp/stdin ;;
9429
# Absolute (can't be DOS-style, as IFS=:)
9430
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9431
echo "$as_me: error: cannot find input file: $f" >&2;}
9432
{ (exit 1); exit 1; }; }
9433
# Do quote $f, to prevent DOS paths from being IFS'd.
9436
if test -f "$f"; then
9439
elif test -f "$srcdir/$f"; then
9444
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9445
echo "$as_me: error: cannot find input file: $f" >&2;}
9446
{ (exit 1); exit 1; }; }
9449
done` || { (exit 1); exit 1; }
9450
# Remove the trailing spaces.
9451
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9455
# Transform confdefs.h into two sed scripts, `conftest.defines' and
9456
# `conftest.undefs', that substitutes the proper values into
9457
# config.h.in to produce config.h. The first handles `#define'
9458
# templates, and the second `#undef' templates.
9459
# And first: Protect against being on the right side of a sed subst in
9460
# config.status. Protect against being in an unquoted here document
9462
rm -f conftest.defines conftest.undefs
9463
# Using a here document instead of a string reduces the quoting nightmare.
9464
# Putting comments in sed scripts is not portable.
9466
# `end' is used to avoid that the second main sed command (meant for
9467
# 0-ary CPP macros) applies to n-ary macro definitions.
9468
# See the Autoconf documentation for `clear'.
9469
cat >confdef2sed.sed <<\_ACEOF
9474
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9476
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9479
# If some macros were called several times there might be several times
9480
# the same #defines, which is useless. Nevertheless, we may not want to
9481
# sort them, since we want the *last* AC-DEFINE to be honored.
9482
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9483
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9484
rm -f confdef2sed.sed
9486
# This sed command replaces #undef with comments. This is necessary, for
9487
# example, in the case of _POSIX_SOURCE, which is predefined and required
9488
# on some systems where configure will not decide to define it.
9489
cat >>conftest.undefs <<\_ACEOF
9490
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9493
# Break up conftest.defines because some shells have a limit on the size
9494
# of here documents, and old seds have small limits too (100 cmds).
9495
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9496
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9497
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9498
echo ' :' >>$CONFIG_STATUS
9500
while grep . conftest.defines >/dev/null
9502
# Write a limited-size here document to $tmp/defines.sed.
9503
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9504
# Speed up: don't consider the non `#define' lines.
9505
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9506
# Work around the forget-to-reset-the-flag bug.
9507
echo 't clr' >>$CONFIG_STATUS
9508
echo ': clr' >>$CONFIG_STATUS
9509
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9511
sed -f $tmp/defines.sed $tmp/in >$tmp/out
9515
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9516
rm -f conftest.defines
9517
mv conftest.tail conftest.defines
9519
rm -f conftest.defines
9520
echo ' fi # grep' >>$CONFIG_STATUS
9521
echo >>$CONFIG_STATUS
9523
# Break up conftest.undefs because some shells have a limit on the size
9524
# of here documents, and old seds have small limits too (100 cmds).
9525
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9527
while grep . conftest.undefs >/dev/null
9529
# Write a limited-size here document to $tmp/undefs.sed.
9530
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9531
# Speed up: don't consider the non `#undef'
9532
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9533
# Work around the forget-to-reset-the-flag bug.
9534
echo 't clr' >>$CONFIG_STATUS
9535
echo ': clr' >>$CONFIG_STATUS
9536
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9538
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9542
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9543
rm -f conftest.undefs
9544
mv conftest.tail conftest.undefs
9546
rm -f conftest.undefs
9548
cat >>$CONFIG_STATUS <<\_ACEOF
9549
# Let's still pretend it is `configure' which instantiates (i.e., don't
9550
# use $as_me), people would be surprised to read:
9551
# /* config.h. Generated by config.status. */
9552
if test x"$ac_file" = x-; then
9553
echo "/* Generated by configure. */" >$tmp/config.h
9555
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9557
cat $tmp/in >>$tmp/config.h
9559
if test x"$ac_file" != x-; then
9560
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9561
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9562
echo "$as_me: $ac_file is unchanged" >&6;}
9564
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9565
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9566
X"$ac_file" : 'X\(//\)[^/]' \| \
9567
X"$ac_file" : 'X\(//\)$' \| \
9568
X"$ac_file" : 'X\(/\)' \| \
9569
. : '\(.\)' 2>/dev/null ||
9571
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9572
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9573
/^X\(\/\/\)$/{ s//\1/; q; }
9574
/^X\(\/\).*/{ s//\1/; q; }
9576
{ if $as_mkdir_p; then
9581
while test ! -d "$as_dir"; do
9582
as_dirs="$as_dir $as_dirs"
9583
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9584
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9585
X"$as_dir" : 'X\(//\)[^/]' \| \
9586
X"$as_dir" : 'X\(//\)$' \| \
9587
X"$as_dir" : 'X\(/\)' \| \
9588
. : '\(.\)' 2>/dev/null ||
9590
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9591
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9592
/^X\(\/\/\)$/{ s//\1/; q; }
9593
/^X\(\/\).*/{ s//\1/; q; }
9596
test ! -n "$as_dirs" || mkdir $as_dirs
9597
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9598
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9599
{ (exit 1); exit 1; }; }; }
9602
mv $tmp/config.h $ac_file
9608
# Compute $ac_file's index in $config_headers.
9610
for _am_header in $config_headers :; do
9612
$ac_file | $ac_file:* )
9615
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
9618
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9619
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9620
X$ac_file : 'X\(//\)[^/]' \| \
9621
X$ac_file : 'X\(//\)$' \| \
9622
X$ac_file : 'X\(/\)' \| \
9623
. : '\(.\)' 2>/dev/null ||
9625
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9626
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9627
/^X\(\/\/\)$/{ s//\1/; q; }
9628
/^X\(\/\).*/{ s//\1/; q; }
9629
s/.*/./; q'`/stamp-h$_am_stamp_count
9632
cat >>$CONFIG_STATUS <<\_ACEOF
9635
# CONFIG_COMMANDS section.
9637
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9638
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9639
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9640
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9641
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9642
X"$ac_dest" : 'X\(//\)[^/]' \| \
9643
X"$ac_dest" : 'X\(//\)$' \| \
9644
X"$ac_dest" : 'X\(/\)' \| \
9645
. : '\(.\)' 2>/dev/null ||
9647
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9648
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9649
/^X\(\/\/\)$/{ s//\1/; q; }
9650
/^X\(\/\).*/{ s//\1/; q; }
9652
{ if $as_mkdir_p; then
9657
while test ! -d "$as_dir"; do
9658
as_dirs="$as_dir $as_dirs"
9659
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9660
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9661
X"$as_dir" : 'X\(//\)[^/]' \| \
9662
X"$as_dir" : 'X\(//\)$' \| \
9663
X"$as_dir" : 'X\(/\)' \| \
9664
. : '\(.\)' 2>/dev/null ||
9666
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9667
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9668
/^X\(\/\/\)$/{ s//\1/; q; }
9669
/^X\(\/\).*/{ s//\1/; q; }
9672
test ! -n "$as_dirs" || mkdir $as_dirs
9673
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9674
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9675
{ (exit 1); exit 1; }; }; }
9679
if test "$ac_dir" != .; then
9680
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9681
# A "../" for each directory in $ac_dir_suffix.
9682
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9684
ac_dir_suffix= ac_top_builddir=
9688
.) # No --srcdir option. We are building in place.
9690
if test -z "$ac_top_builddir"; then
9693
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9695
[\\/]* | ?:[\\/]* ) # Absolute path.
9696
ac_srcdir=$srcdir$ac_dir_suffix;
9697
ac_top_srcdir=$srcdir ;;
9699
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9700
ac_top_srcdir=$ac_top_builddir$srcdir ;;
9703
# Do not use `cd foo && pwd` to compute absolute paths, because
9704
# the directories may not exist.
9706
.) ac_abs_builddir="$ac_dir";;
9709
.) ac_abs_builddir=`pwd`;;
9710
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9711
*) ac_abs_builddir=`pwd`/"$ac_dir";;
9714
case $ac_abs_builddir in
9715
.) ac_abs_top_builddir=${ac_top_builddir}.;;
9717
case ${ac_top_builddir}. in
9718
.) ac_abs_top_builddir=$ac_abs_builddir;;
9719
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9720
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9723
case $ac_abs_builddir in
9724
.) ac_abs_srcdir=$ac_srcdir;;
9727
.) ac_abs_srcdir=$ac_abs_builddir;;
9728
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9729
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9732
case $ac_abs_builddir in
9733
.) ac_abs_top_srcdir=$ac_top_srcdir;;
9735
case $ac_top_srcdir in
9736
.) ac_abs_top_srcdir=$ac_abs_builddir;;
9737
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9738
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9743
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9744
echo "$as_me: executing $ac_dest commands" >&6;}
9746
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9747
# Strip MF so we end up with the name of the file.
9748
mf=`echo "$mf" | sed -e 's/:.*$//'`
9749
# Check whether this is an Automake generated Makefile or not.
9750
# We used to match only the files named `Makefile.in', but
9751
# some people rename them; so instead we look at the file content.
9752
# Grep'ing the first line is not enough: some people post-process
9753
# each Makefile.in and add a new line on top of each file to say so.
9754
# So let's grep whole file.
9755
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9756
dirpart=`(dirname "$mf") 2>/dev/null ||
9757
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9758
X"$mf" : 'X\(//\)[^/]' \| \
9759
X"$mf" : 'X\(//\)$' \| \
9760
X"$mf" : 'X\(/\)' \| \
9761
. : '\(.\)' 2>/dev/null ||
9763
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9764
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9765
/^X\(\/\/\)$/{ s//\1/; q; }
9766
/^X\(\/\).*/{ s//\1/; q; }
9771
# Extract the definition of DEPDIR, am__include, and am__quote
9772
# from the Makefile without running `make'.
9773
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9774
test -z "$DEPDIR" && continue
9775
am__include=`sed -n 's/^am__include = //p' < "$mf"`
9776
test -z "am__include" && continue
9777
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9778
# When using ansi2knr, U may be empty or an underscore; expand it
9779
U=`sed -n 's/^U = //p' < "$mf"`
9780
# Find all dependency output files, they are included files with
9781
# $(DEPDIR) in their names. We invoke sed twice because it is the
9782
# simplest approach to changing $(DEPDIR) to its actual value in the
9784
for file in `sed -n "
9785
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9786
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9787
# Make sure the directory exists.
9788
test -f "$dirpart/$file" && continue
9789
fdir=`(dirname "$file") 2>/dev/null ||
9790
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9791
X"$file" : 'X\(//\)[^/]' \| \
9792
X"$file" : 'X\(//\)$' \| \
9793
X"$file" : 'X\(/\)' \| \
9794
. : '\(.\)' 2>/dev/null ||
9796
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9797
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9798
/^X\(\/\/\)$/{ s//\1/; q; }
9799
/^X\(\/\).*/{ s//\1/; q; }
9801
{ if $as_mkdir_p; then
9802
mkdir -p $dirpart/$fdir
9804
as_dir=$dirpart/$fdir
9806
while test ! -d "$as_dir"; do
9807
as_dirs="$as_dir $as_dirs"
9808
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9809
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9810
X"$as_dir" : 'X\(//\)[^/]' \| \
9811
X"$as_dir" : 'X\(//\)$' \| \
9812
X"$as_dir" : 'X\(/\)' \| \
9813
. : '\(.\)' 2>/dev/null ||
9815
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9816
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9817
/^X\(\/\/\)$/{ s//\1/; q; }
9818
/^X\(\/\).*/{ s//\1/; q; }
9821
test ! -n "$as_dirs" || mkdir $as_dirs
9822
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9823
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9824
{ (exit 1); exit 1; }; }; }
9826
# echo "creating $dirpart/$file"
9827
echo '# dummy' > "$dirpart/$file"
9835
cat >>$CONFIG_STATUS <<\_ACEOF
9837
{ (exit 0); exit 0; }
9839
chmod +x $CONFIG_STATUS
9840
ac_clean_files=$ac_clean_files_save
9843
# configure is writing to config.log, and then calls config.status.
9844
# config.status does its own redirection, appending to config.log.
9845
# Unfortunately, on DOS this fails, as config.log is still kept open
9846
# by configure, so config.status won't be able to write to it; its
9847
# output is simply discarded. So we exec the FD to /dev/null,
9848
# effectively closing config.log, so it can be properly (re)opened and
9849
# appended to by config.status. When coming back to configure, we
9850
# need to make the FD available again.
9851
if test "$no_create" != yes; then
9853
ac_config_status_args=
9854
test "$silent" = yes &&
9855
ac_config_status_args="$ac_config_status_args --quiet"
9857
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9859
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
9860
# would make configure fail if this is the last instruction.
9861
$ac_cs_success || { (exit 1); exit 1; }
9867
echo "$as_me:$LINENO: result: " >&5
9868
echo "${ECHO_T}" >&6
9869
echo "$as_me:$LINENO: result: configuration done" >&5
9870
echo "${ECHO_T}configuration done" >&6
9871
TMP=`echo configuration done | sed -e sX.X-Xg`
9872
echo "$as_me:$LINENO: result: $TMP" >&5
9873
echo "${ECHO_T}$TMP" >&6
9874
echo "$as_me:$LINENO: result: " >&5
9875
echo "${ECHO_T}" >&6
9878
echo You can now run \'make\' to build Sphinx binaries,
9879
echo and then run \'make install\' to install them.