2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for ADEONA 0.2.
5
# Report bugs to <adeona@cs.washington.edu>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
42
# The user is always right.
43
if test "${PATH_SEPARATOR+set}" != set; then
44
echo "#! /bin/sh" >conf$$.sh
45
echo "exit 0" >>conf$$.sh
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64
# We need space, tab and new line, in precisely that order. Quoting is
65
# there to prevent editors from complaining about space-tab.
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
# splitting by setting IFS to empty value.)
72
# Find who we are. Look in the path if we contain no directory separator.
74
*[\\/]* ) as_myself=$0 ;;
75
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79
test -z "$as_dir" && as_dir=.
80
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
# in which case we are not to be found in the path.
88
if test "x$as_myself" = x; then
91
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
X"$0" : 'X\(//\)$' \| \
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
test -z "$as_dir" && as_dir=.
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
# uniformly replaced by the line number. The first 'sed' inserts a
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455
chmod +x "$as_me.lineno" ||
456
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
{ (exit 1); exit 1; }; }
459
# Don't try to exec as it changes $[0], causing all sort of problems
460
# (the dirname of $[0] is not the place where we might find the
461
# original and so on. Autoconf is especially sensitive to this).
463
# Exit status is that of the last command.
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
502
# ... but there are two gotchas:
503
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
# In both cases, we have to default to `cp -p'.
506
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508
elif ln conf$$.file conf$$ 2>/dev/null; then
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
516
if mkdir -p . 2>/dev/null; then
519
test -d ./-p && rmdir ./-p
523
if test -x / >/dev/null 2>&1; then
526
if ls -dL / >/dev/null 2>&1; then
533
if test -d "$1"; then
539
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
???[sx]*):;;*)false;;esac;fi
544
as_executable_p=$as_test_x
546
# Sed expression to map a string onto a valid CPP name.
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
# Sed expression to map a string onto a valid variable name.
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
exec 7<&0 </dev/null 6>&1
557
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558
# so uname gets run too.
559
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
ac_default_prefix=/usr/local
566
ac_config_libobj_dir=.
572
SHELL=${CONFIG_SHELL-/bin/sh}
574
# Identity of this package.
575
PACKAGE_NAME='ADEONA'
576
PACKAGE_TARNAME='adeona'
577
PACKAGE_VERSION='0.2'
578
PACKAGE_STRING='ADEONA 0.2'
579
PACKAGE_BUGREPORT='adeona@cs.washington.edu'
581
ac_unique_file="app/init.c"
582
# Factoring default headers for most tests.
583
ac_includes_default="\
585
#ifdef HAVE_SYS_TYPES_H
586
# include <sys/types.h>
588
#ifdef HAVE_SYS_STAT_H
589
# include <sys/stat.h>
595
# ifdef HAVE_STDLIB_H
600
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605
#ifdef HAVE_STRINGS_H
606
# include <strings.h>
608
#ifdef HAVE_INTTYPES_H
609
# include <inttypes.h>
629
program_transform_name
674
ac_precious_vars='build_alias
685
# Initialize some variables set by options.
687
ac_init_version=false
688
# The variables have the same names as the options, with
689
# dashes changed to underlines.
697
program_transform_name=s,x,x,
705
# Installation directory options.
706
# These are left unexpanded so users can "make install exec_prefix=/foo"
707
# and all the variables that are supposed to be based on exec_prefix
708
# by default will actually change.
709
# Use braces instead of parens because sh, perl, etc. also accept them.
710
# (The list follows the same order as the GNU Coding Standards.)
711
bindir='${exec_prefix}/bin'
712
sbindir='${exec_prefix}/sbin'
713
libexecdir='${exec_prefix}/libexec'
714
datarootdir='${prefix}/share'
715
datadir='${datarootdir}'
716
sysconfdir='${prefix}/etc'
717
sharedstatedir='${prefix}/com'
718
localstatedir='${prefix}/var'
719
includedir='${prefix}/include'
720
oldincludedir='/usr/include'
721
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
722
infodir='${datarootdir}/info'
727
libdir='${exec_prefix}/lib'
728
localedir='${datarootdir}/locale'
729
mandir='${datarootdir}/man'
735
# If the previous option needs an argument, assign it.
736
if test -n "$ac_prev"; then
737
eval $ac_prev=\$ac_option
743
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747
# Accept the important Cygnus configure options, so we can diagnose typos.
749
case $ac_dashdash$ac_option in
753
-bindir | --bindir | --bindi | --bind | --bin | --bi)
755
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
758
-build | --build | --buil | --bui | --bu)
759
ac_prev=build_alias ;;
760
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
761
build_alias=$ac_optarg ;;
763
-cache-file | --cache-file | --cache-fil | --cache-fi \
764
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
765
ac_prev=cache_file ;;
766
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
767
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
768
cache_file=$ac_optarg ;;
771
cache_file=config.cache ;;
773
-datadir | --datadir | --datadi | --datad)
775
-datadir=* | --datadir=* | --datadi=* | --datad=*)
776
datadir=$ac_optarg ;;
778
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
779
| --dataroo | --dataro | --datar)
780
ac_prev=datarootdir ;;
781
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
782
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
783
datarootdir=$ac_optarg ;;
785
-disable-* | --disable-*)
786
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
787
# Reject names that are not valid shell variable names.
788
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
789
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
790
{ (exit 1); exit 1; }; }
791
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
792
eval enable_$ac_feature=no ;;
794
-docdir | --docdir | --docdi | --doc | --do)
796
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
799
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
801
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
804
-enable-* | --enable-*)
805
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
806
# Reject names that are not valid shell variable names.
807
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
808
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
809
{ (exit 1); exit 1; }; }
810
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
811
eval enable_$ac_feature=\$ac_optarg ;;
813
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
814
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
815
| --exec | --exe | --ex)
816
ac_prev=exec_prefix ;;
817
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
818
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
819
| --exec=* | --exe=* | --ex=*)
820
exec_prefix=$ac_optarg ;;
822
-gas | --gas | --ga | --g)
823
# Obsolete; use --with-gas.
826
-help | --help | --hel | --he | -h)
828
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
829
ac_init_help=recursive ;;
830
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
831
ac_init_help=short ;;
833
-host | --host | --hos | --ho)
834
ac_prev=host_alias ;;
835
-host=* | --host=* | --hos=* | --ho=*)
836
host_alias=$ac_optarg ;;
838
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
840
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
842
htmldir=$ac_optarg ;;
844
-includedir | --includedir | --includedi | --included | --include \
845
| --includ | --inclu | --incl | --inc)
846
ac_prev=includedir ;;
847
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
848
| --includ=* | --inclu=* | --incl=* | --inc=*)
849
includedir=$ac_optarg ;;
851
-infodir | --infodir | --infodi | --infod | --info | --inf)
853
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
854
infodir=$ac_optarg ;;
856
-libdir | --libdir | --libdi | --libd)
858
-libdir=* | --libdir=* | --libdi=* | --libd=*)
861
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
862
| --libexe | --libex | --libe)
863
ac_prev=libexecdir ;;
864
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
865
| --libexe=* | --libex=* | --libe=*)
866
libexecdir=$ac_optarg ;;
868
-localedir | --localedir | --localedi | --localed | --locale)
870
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
871
localedir=$ac_optarg ;;
873
-localstatedir | --localstatedir | --localstatedi | --localstated \
874
| --localstate | --localstat | --localsta | --localst | --locals)
875
ac_prev=localstatedir ;;
876
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
877
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
878
localstatedir=$ac_optarg ;;
880
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
882
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
886
# Obsolete; use --without-fp.
889
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
890
| --no-cr | --no-c | -n)
893
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
894
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
897
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
898
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
899
| --oldin | --oldi | --old | --ol | --o)
900
ac_prev=oldincludedir ;;
901
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
902
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
903
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
904
oldincludedir=$ac_optarg ;;
906
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
908
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
911
-program-prefix | --program-prefix | --program-prefi | --program-pref \
912
| --program-pre | --program-pr | --program-p)
913
ac_prev=program_prefix ;;
914
-program-prefix=* | --program-prefix=* | --program-prefi=* \
915
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
916
program_prefix=$ac_optarg ;;
918
-program-suffix | --program-suffix | --program-suffi | --program-suff \
919
| --program-suf | --program-su | --program-s)
920
ac_prev=program_suffix ;;
921
-program-suffix=* | --program-suffix=* | --program-suffi=* \
922
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
923
program_suffix=$ac_optarg ;;
925
-program-transform-name | --program-transform-name \
926
| --program-transform-nam | --program-transform-na \
927
| --program-transform-n | --program-transform- \
928
| --program-transform | --program-transfor \
929
| --program-transfo | --program-transf \
930
| --program-trans | --program-tran \
931
| --progr-tra | --program-tr | --program-t)
932
ac_prev=program_transform_name ;;
933
-program-transform-name=* | --program-transform-name=* \
934
| --program-transform-nam=* | --program-transform-na=* \
935
| --program-transform-n=* | --program-transform-=* \
936
| --program-transform=* | --program-transfor=* \
937
| --program-transfo=* | --program-transf=* \
938
| --program-trans=* | --program-tran=* \
939
| --progr-tra=* | --program-tr=* | --program-t=*)
940
program_transform_name=$ac_optarg ;;
942
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
944
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
947
-psdir | --psdir | --psdi | --psd | --ps)
949
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
952
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
953
| -silent | --silent | --silen | --sile | --sil)
956
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
958
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
960
sbindir=$ac_optarg ;;
962
-sharedstatedir | --sharedstatedir | --sharedstatedi \
963
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
964
| --sharedst | --shareds | --shared | --share | --shar \
966
ac_prev=sharedstatedir ;;
967
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
968
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
969
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
971
sharedstatedir=$ac_optarg ;;
973
-site | --site | --sit)
975
-site=* | --site=* | --sit=*)
978
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
980
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
983
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
984
| --syscon | --sysco | --sysc | --sys | --sy)
985
ac_prev=sysconfdir ;;
986
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
987
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
988
sysconfdir=$ac_optarg ;;
990
-target | --target | --targe | --targ | --tar | --ta | --t)
991
ac_prev=target_alias ;;
992
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
993
target_alias=$ac_optarg ;;
995
-v | -verbose | --verbose | --verbos | --verbo | --verb)
998
-version | --version | --versio | --versi | --vers | -V)
1002
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1003
# Reject names that are not valid shell variable names.
1004
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1005
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1006
{ (exit 1); exit 1; }; }
1007
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1008
eval with_$ac_package=\$ac_optarg ;;
1010
-without-* | --without-*)
1011
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1012
# Reject names that are not valid shell variable names.
1013
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1014
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1015
{ (exit 1); exit 1; }; }
1016
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1017
eval with_$ac_package=no ;;
1020
# Obsolete; use --with-x.
1023
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1024
| --x-incl | --x-inc | --x-in | --x-i)
1025
ac_prev=x_includes ;;
1026
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1027
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1028
x_includes=$ac_optarg ;;
1030
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1031
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1032
ac_prev=x_libraries ;;
1033
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1034
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1035
x_libraries=$ac_optarg ;;
1037
-*) { echo "$as_me: error: unrecognized option: $ac_option
1038
Try \`$0 --help' for more information." >&2
1039
{ (exit 1); exit 1; }; }
1043
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1044
# Reject names that are not valid shell variable names.
1045
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1046
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1047
{ (exit 1); exit 1; }; }
1048
eval $ac_envvar=\$ac_optarg
1049
export $ac_envvar ;;
1052
# FIXME: should be removed in autoconf 3.0.
1053
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1054
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1055
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1056
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1062
if test -n "$ac_prev"; then
1063
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1064
{ echo "$as_me: error: missing argument to $ac_option" >&2
1065
{ (exit 1); exit 1; }; }
1068
# Be sure to have absolute directory names.
1069
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1070
datadir sysconfdir sharedstatedir localstatedir includedir \
1071
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1072
libdir localedir mandir
1074
eval ac_val=\$$ac_var
1076
[\\/$]* | ?:[\\/]* ) continue;;
1077
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1079
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1080
{ (exit 1); exit 1; }; }
1083
# There might be people who depend on the old broken behavior: `$host'
1084
# used to hold the argument of --host etc.
1085
# FIXME: To remove some day.
1088
target=$target_alias
1090
# FIXME: To remove some day.
1091
if test "x$host_alias" != x; then
1092
if test "x$build_alias" = x; then
1093
cross_compiling=maybe
1094
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1095
If a cross compiler is detected then cross compile mode will be used." >&2
1096
elif test "x$build_alias" != "x$host_alias"; then
1102
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1104
test "$silent" = yes && exec 6>/dev/null
1107
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1108
ac_ls_di=`ls -di .` &&
1109
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1110
{ echo "$as_me: error: Working directory cannot be determined" >&2
1111
{ (exit 1); exit 1; }; }
1112
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1113
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1114
{ (exit 1); exit 1; }; }
1117
# Find the source files, if location was not specified.
1118
if test -z "$srcdir"; then
1119
ac_srcdir_defaulted=yes
1120
# Try the directory containing this script, then the parent directory.
1121
ac_confdir=`$as_dirname -- "$0" ||
1122
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1123
X"$0" : 'X\(//\)[^/]' \| \
1124
X"$0" : 'X\(//\)$' \| \
1125
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1127
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1145
if test ! -r "$srcdir/$ac_unique_file"; then
1149
ac_srcdir_defaulted=no
1151
if test ! -r "$srcdir/$ac_unique_file"; then
1152
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1153
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1154
{ (exit 1); exit 1; }; }
1156
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1158
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1159
{ (exit 1); exit 1; }; }
1161
# When building in place, set srcdir=.
1162
if test "$ac_abs_confdir" = "$ac_pwd"; then
1165
# Remove unnecessary trailing slashes from srcdir.
1166
# Double slashes in file names in object file debugging info
1167
# mess up M-x gdb in Emacs.
1169
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1171
for ac_var in $ac_precious_vars; do
1172
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1173
eval ac_env_${ac_var}_value=\$${ac_var}
1174
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1175
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1179
# Report the --help message.
1181
if test "$ac_init_help" = "long"; then
1182
# Omit some internal or obsolete options to make the list less imposing.
1183
# This message is too long to be a string in the A/UX 3.1 sh.
1185
\`configure' configures ADEONA 0.2 to adapt to many kinds of systems.
1187
Usage: $0 [OPTION]... [VAR=VALUE]...
1189
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1190
VAR=VALUE. See below for descriptions of some of the useful variables.
1192
Defaults for the options are specified in brackets.
1195
-h, --help display this help and exit
1196
--help=short display options specific to this package
1197
--help=recursive display the short help of all the included packages
1198
-V, --version display version information and exit
1199
-q, --quiet, --silent do not print \`checking...' messages
1200
--cache-file=FILE cache test results in FILE [disabled]
1201
-C, --config-cache alias for \`--cache-file=config.cache'
1202
-n, --no-create do not create output files
1203
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1205
Installation directories:
1206
--prefix=PREFIX install architecture-independent files in PREFIX
1207
[$ac_default_prefix]
1208
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1211
By default, \`make install' will install all the files in
1212
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1213
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1214
for instance \`--prefix=\$HOME'.
1216
For better control, use the options below.
1218
Fine tuning of the installation directories:
1219
--bindir=DIR user executables [EPREFIX/bin]
1220
--sbindir=DIR system admin executables [EPREFIX/sbin]
1221
--libexecdir=DIR program executables [EPREFIX/libexec]
1222
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1223
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1224
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1225
--libdir=DIR object code libraries [EPREFIX/lib]
1226
--includedir=DIR C header files [PREFIX/include]
1227
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1228
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1229
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1230
--infodir=DIR info documentation [DATAROOTDIR/info]
1231
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1232
--mandir=DIR man documentation [DATAROOTDIR/man]
1233
--docdir=DIR documentation root [DATAROOTDIR/doc/adeona]
1234
--htmldir=DIR html documentation [DOCDIR]
1235
--dvidir=DIR dvi documentation [DOCDIR]
1236
--pdfdir=DIR pdf documentation [DOCDIR]
1237
--psdir=DIR ps documentation [DOCDIR]
1244
if test -n "$ac_init_help"; then
1245
case $ac_init_help in
1246
short | recursive ) echo "Configuration of ADEONA 0.2:";;
1250
Some influential environment variables:
1251
CC C compiler command
1252
CFLAGS C compiler flags
1253
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1254
nonstandard directory <lib dir>
1255
LIBS libraries to pass to the linker, e.g. -l<library>
1256
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1257
you have headers in a nonstandard directory <include dir>
1260
Use these variables to override the choices made by `configure' or to help
1261
it to find libraries and programs with nonstandard names/locations.
1263
Report bugs to <adeona@cs.washington.edu>.
1268
if test "$ac_init_help" = "recursive"; then
1269
# If there are subdirs, report their specific --help.
1270
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1271
test -d "$ac_dir" || continue
1275
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1277
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1278
# A ".." for each directory in $ac_dir_suffix.
1279
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1280
case $ac_top_builddir_sub in
1281
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1282
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1285
ac_abs_top_builddir=$ac_pwd
1286
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1287
# for backward compatibility:
1288
ac_top_builddir=$ac_top_build_prefix
1291
.) # We are building in place.
1293
ac_top_srcdir=$ac_top_builddir_sub
1294
ac_abs_top_srcdir=$ac_pwd ;;
1295
[\\/]* | ?:[\\/]* ) # Absolute name.
1296
ac_srcdir=$srcdir$ac_dir_suffix;
1297
ac_top_srcdir=$srcdir
1298
ac_abs_top_srcdir=$srcdir ;;
1300
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1301
ac_top_srcdir=$ac_top_build_prefix$srcdir
1302
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1304
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1306
cd "$ac_dir" || { ac_status=$?; continue; }
1307
# Check for guested configure.
1308
if test -f "$ac_srcdir/configure.gnu"; then
1310
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1311
elif test -f "$ac_srcdir/configure"; then
1313
$SHELL "$ac_srcdir/configure" --help=recursive
1315
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1317
cd "$ac_pwd" || { ac_status=$?; break; }
1321
test -n "$ac_init_help" && exit $ac_status
1322
if $ac_init_version; then
1324
ADEONA configure 0.2
1325
generated by GNU Autoconf 2.61
1327
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1328
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1329
This configure script is free software; the Free Software Foundation
1330
gives unlimited permission to copy, distribute and modify it.
1334
cat >config.log <<_ACEOF
1335
This file contains any messages produced by compilers while
1336
running configure, to aid debugging if configure makes a mistake.
1338
It was created by ADEONA $as_me 0.2, which was
1339
generated by GNU Autoconf 2.61. Invocation command line was
1351
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1352
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1353
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1354
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1355
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1357
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1358
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1360
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1361
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1362
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1363
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1364
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1365
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1366
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1370
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1374
test -z "$as_dir" && as_dir=.
1375
echo "PATH: $as_dir"
1391
# Keep a trace of the command line.
1392
# Strip out --no-create and --no-recursion so they do not pile up.
1393
# Strip out --silent because we don't want to record it for future runs.
1394
# Also quote any args containing shell meta-characters.
1395
# Make two passes to allow for proper duplicate-argument suppression.
1399
ac_must_keep_next=false
1405
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1406
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1407
| -silent | --silent | --silen | --sile | --sil)
1410
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1413
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1415
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1416
if test $ac_must_keep_next = true; then
1417
ac_must_keep_next=false # Got value, back to normal.
1420
*=* | --config-cache | -C | -disable-* | --disable-* \
1421
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1422
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1423
| -with-* | --with-* | -without-* | --without-* | --x)
1424
case "$ac_configure_args0 " in
1425
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1428
-* ) ac_must_keep_next=true ;;
1431
ac_configure_args="$ac_configure_args '$ac_arg'"
1436
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1437
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1439
# When interrupted or exit'd, cleanup temporary files, and complete
1440
# config.log. We remove comments because anyway the quotes in there
1441
# would cause problems or look ugly.
1442
# WARNING: Use '\'' to represent an apostrophe within the trap.
1443
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1444
trap 'exit_status=$?
1445
# Save into config.log some information that might help in debugging.
1450
## ---------------- ##
1451
## Cache variables. ##
1452
## ---------------- ##
1455
# The following way of writing the cache mishandles newlines in values,
1457
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1458
eval ac_val=\$$ac_var
1462
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1463
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1466
_ | IFS | as_nl) ;; #(
1467
*) $as_unset $ac_var ;;
1472
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1473
*${as_nl}ac_space=\ *)
1475
"s/'\''/'\''\\\\'\'''\''/g;
1476
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1479
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1487
## ----------------- ##
1488
## Output variables. ##
1489
## ----------------- ##
1492
for ac_var in $ac_subst_vars
1494
eval ac_val=\$$ac_var
1496
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1498
echo "$ac_var='\''$ac_val'\''"
1502
if test -n "$ac_subst_files"; then
1504
## ------------------- ##
1505
## File substitutions. ##
1506
## ------------------- ##
1509
for ac_var in $ac_subst_files
1511
eval ac_val=\$$ac_var
1513
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1515
echo "$ac_var='\''$ac_val'\''"
1520
if test -s confdefs.h; then
1530
test "$ac_signal" != 0 &&
1531
echo "$as_me: caught signal $ac_signal"
1532
echo "$as_me: exit $exit_status"
1534
rm -f core *.core core.conftest.* &&
1535
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1538
for ac_signal in 1 2 13 15; do
1539
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1543
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1544
rm -f -r conftest* confdefs.h
1546
# Predefined preprocessor variables.
1548
cat >>confdefs.h <<_ACEOF
1549
#define PACKAGE_NAME "$PACKAGE_NAME"
1553
cat >>confdefs.h <<_ACEOF
1554
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1558
cat >>confdefs.h <<_ACEOF
1559
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1563
cat >>confdefs.h <<_ACEOF
1564
#define PACKAGE_STRING "$PACKAGE_STRING"
1568
cat >>confdefs.h <<_ACEOF
1569
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1573
# Let the site file select an alternate cache file if it wants to.
1574
# Prefer explicitly selected file to automatically selected ones.
1575
if test -n "$CONFIG_SITE"; then
1576
set x "$CONFIG_SITE"
1577
elif test "x$prefix" != xNONE; then
1578
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1580
set x "$ac_default_prefix/share/config.site" \
1581
"$ac_default_prefix/etc/config.site"
1586
if test -r "$ac_site_file"; then
1587
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1588
echo "$as_me: loading site script $ac_site_file" >&6;}
1589
sed 's/^/| /' "$ac_site_file" >&5
1594
if test -r "$cache_file"; then
1595
# Some versions of bash will fail to source /dev/null (special
1596
# files actually), so we avoid doing that.
1597
if test -f "$cache_file"; then
1598
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1599
echo "$as_me: loading cache $cache_file" >&6;}
1601
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1602
*) . "./$cache_file";;
1606
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1607
echo "$as_me: creating cache $cache_file" >&6;}
1611
ac_header_list="$ac_header_list sys/time.h"
1612
ac_header_list="$ac_header_list unistd.h"
1613
ac_func_list="$ac_func_list alarm"
1614
# Check that the precious variables saved in the cache have kept the same
1616
ac_cache_corrupted=false
1617
for ac_var in $ac_precious_vars; do
1618
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1619
eval ac_new_set=\$ac_env_${ac_var}_set
1620
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1621
eval ac_new_val=\$ac_env_${ac_var}_value
1622
case $ac_old_set,$ac_new_set in
1624
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1625
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1626
ac_cache_corrupted=: ;;
1628
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1629
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1630
ac_cache_corrupted=: ;;
1633
if test "x$ac_old_val" != "x$ac_new_val"; then
1634
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1635
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1636
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1637
echo "$as_me: former value: $ac_old_val" >&2;}
1638
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1639
echo "$as_me: current value: $ac_new_val" >&2;}
1640
ac_cache_corrupted=:
1643
# Pass precious variables to config.status.
1644
if test "$ac_new_set" = set; then
1646
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1647
*) ac_arg=$ac_var=$ac_new_val ;;
1649
case " $ac_configure_args " in
1650
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1651
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1655
if $ac_cache_corrupted; then
1656
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1657
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1658
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1659
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1660
{ (exit 1); exit 1; }; }
1688
ac_cpp='$CPP $CPPFLAGS'
1689
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1690
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1691
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1695
ac_config_headers="$ac_config_headers config.h"
1698
# Checks for programs.
1700
ac_cpp='$CPP $CPPFLAGS'
1701
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1702
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1703
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1704
if test -n "$ac_tool_prefix"; then
1705
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1706
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1707
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1708
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1709
if test "${ac_cv_prog_CC+set}" = set; then
1710
echo $ECHO_N "(cached) $ECHO_C" >&6
1712
if test -n "$CC"; then
1713
ac_cv_prog_CC="$CC" # Let the user override the test.
1715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719
test -z "$as_dir" && as_dir=.
1720
for ac_exec_ext in '' $ac_executable_extensions; do
1721
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1722
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1723
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1733
if test -n "$CC"; then
1734
{ echo "$as_me:$LINENO: result: $CC" >&5
1735
echo "${ECHO_T}$CC" >&6; }
1737
{ echo "$as_me:$LINENO: result: no" >&5
1738
echo "${ECHO_T}no" >&6; }
1743
if test -z "$ac_cv_prog_CC"; then
1745
# Extract the first word of "gcc", so it can be a program name with args.
1746
set dummy gcc; ac_word=$2
1747
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1748
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1749
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1750
echo $ECHO_N "(cached) $ECHO_C" >&6
1752
if test -n "$ac_ct_CC"; then
1753
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1755
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1759
test -z "$as_dir" && as_dir=.
1760
for ac_exec_ext in '' $ac_executable_extensions; do
1761
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1762
ac_cv_prog_ac_ct_CC="gcc"
1763
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1772
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1773
if test -n "$ac_ct_CC"; then
1774
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1775
echo "${ECHO_T}$ac_ct_CC" >&6; }
1777
{ echo "$as_me:$LINENO: result: no" >&5
1778
echo "${ECHO_T}no" >&6; }
1781
if test "x$ac_ct_CC" = x; then
1784
case $cross_compiling:$ac_tool_warned in
1786
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1787
whose name does not start with the host triplet. If you think this
1788
configuration is useful to you, please write to autoconf@gnu.org." >&5
1789
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1790
whose name does not start with the host triplet. If you think this
1791
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1792
ac_tool_warned=yes ;;
1800
if test -z "$CC"; then
1801
if test -n "$ac_tool_prefix"; then
1802
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1803
set dummy ${ac_tool_prefix}cc; ac_word=$2
1804
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1805
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1806
if test "${ac_cv_prog_CC+set}" = set; then
1807
echo $ECHO_N "(cached) $ECHO_C" >&6
1809
if test -n "$CC"; then
1810
ac_cv_prog_CC="$CC" # Let the user override the test.
1812
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1816
test -z "$as_dir" && as_dir=.
1817
for ac_exec_ext in '' $ac_executable_extensions; do
1818
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1819
ac_cv_prog_CC="${ac_tool_prefix}cc"
1820
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1830
if test -n "$CC"; then
1831
{ echo "$as_me:$LINENO: result: $CC" >&5
1832
echo "${ECHO_T}$CC" >&6; }
1834
{ echo "$as_me:$LINENO: result: no" >&5
1835
echo "${ECHO_T}no" >&6; }
1841
if test -z "$CC"; then
1842
# Extract the first word of "cc", so it can be a program name with args.
1843
set dummy cc; ac_word=$2
1844
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1845
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1846
if test "${ac_cv_prog_CC+set}" = set; then
1847
echo $ECHO_N "(cached) $ECHO_C" >&6
1849
if test -n "$CC"; then
1850
ac_cv_prog_CC="$CC" # Let the user override the test.
1853
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857
test -z "$as_dir" && as_dir=.
1858
for ac_exec_ext in '' $ac_executable_extensions; do
1859
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1860
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1861
ac_prog_rejected=yes
1865
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872
if test $ac_prog_rejected = yes; then
1873
# We found a bogon in the path, so make sure we never use it.
1874
set dummy $ac_cv_prog_CC
1876
if test $# != 0; then
1877
# We chose a different compiler from the bogus one.
1878
# However, it has the same basename, so the bogon will be chosen
1879
# first if we set CC to just the basename; use the full file name.
1881
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1887
if test -n "$CC"; then
1888
{ echo "$as_me:$LINENO: result: $CC" >&5
1889
echo "${ECHO_T}$CC" >&6; }
1891
{ echo "$as_me:$LINENO: result: no" >&5
1892
echo "${ECHO_T}no" >&6; }
1897
if test -z "$CC"; then
1898
if test -n "$ac_tool_prefix"; then
1899
for ac_prog in cl.exe
1901
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1902
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1903
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1904
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1905
if test "${ac_cv_prog_CC+set}" = set; then
1906
echo $ECHO_N "(cached) $ECHO_C" >&6
1908
if test -n "$CC"; then
1909
ac_cv_prog_CC="$CC" # Let the user override the test.
1911
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1915
test -z "$as_dir" && as_dir=.
1916
for ac_exec_ext in '' $ac_executable_extensions; do
1917
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1918
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1919
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1929
if test -n "$CC"; then
1930
{ echo "$as_me:$LINENO: result: $CC" >&5
1931
echo "${ECHO_T}$CC" >&6; }
1933
{ echo "$as_me:$LINENO: result: no" >&5
1934
echo "${ECHO_T}no" >&6; }
1938
test -n "$CC" && break
1941
if test -z "$CC"; then
1943
for ac_prog in cl.exe
1945
# Extract the first word of "$ac_prog", so it can be a program name with args.
1946
set dummy $ac_prog; ac_word=$2
1947
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1948
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1949
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1950
echo $ECHO_N "(cached) $ECHO_C" >&6
1952
if test -n "$ac_ct_CC"; then
1953
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1955
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1959
test -z "$as_dir" && as_dir=.
1960
for ac_exec_ext in '' $ac_executable_extensions; do
1961
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1962
ac_cv_prog_ac_ct_CC="$ac_prog"
1963
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1972
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1973
if test -n "$ac_ct_CC"; then
1974
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1975
echo "${ECHO_T}$ac_ct_CC" >&6; }
1977
{ echo "$as_me:$LINENO: result: no" >&5
1978
echo "${ECHO_T}no" >&6; }
1982
test -n "$ac_ct_CC" && break
1985
if test "x$ac_ct_CC" = x; then
1988
case $cross_compiling:$ac_tool_warned in
1990
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1991
whose name does not start with the host triplet. If you think this
1992
configuration is useful to you, please write to autoconf@gnu.org." >&5
1993
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1994
whose name does not start with the host triplet. If you think this
1995
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1996
ac_tool_warned=yes ;;
2005
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2006
See \`config.log' for more details." >&5
2007
echo "$as_me: error: no acceptable C compiler found in \$PATH
2008
See \`config.log' for more details." >&2;}
2009
{ (exit 1); exit 1; }; }
2011
# Provide some information about the compiler.
2012
echo "$as_me:$LINENO: checking for C compiler version" >&5
2013
ac_compiler=`set X $ac_compile; echo $2`
2014
{ (ac_try="$ac_compiler --version >&5"
2016
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2017
*) ac_try_echo=$ac_try;;
2019
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2020
(eval "$ac_compiler --version >&5") 2>&5
2022
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2023
(exit $ac_status); }
2024
{ (ac_try="$ac_compiler -v >&5"
2026
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2027
*) ac_try_echo=$ac_try;;
2029
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2030
(eval "$ac_compiler -v >&5") 2>&5
2032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033
(exit $ac_status); }
2034
{ (ac_try="$ac_compiler -V >&5"
2036
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2037
*) ac_try_echo=$ac_try;;
2039
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2040
(eval "$ac_compiler -V >&5") 2>&5
2042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2043
(exit $ac_status); }
2045
cat >conftest.$ac_ext <<_ACEOF
2048
cat confdefs.h >>conftest.$ac_ext
2049
cat >>conftest.$ac_ext <<_ACEOF
2050
/* end confdefs.h. */
2060
ac_clean_files_save=$ac_clean_files
2061
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2062
# Try to create an executable without -o first, disregard a.out.
2063
# It will help us diagnose broken compilers, and finding out an intuition
2065
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2066
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2067
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2069
# List of possible output files, starting from the most likely.
2070
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2071
# only as a last resort. b.out is created by i960 compilers.
2072
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2074
# The IRIX 6 linker writes into existing files which may not be
2075
# executable, retaining their permissions. Remove them first so a
2076
# subsequent execution test works.
2078
for ac_file in $ac_files
2081
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2082
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2087
if { (ac_try="$ac_link_default"
2089
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2090
*) ac_try_echo=$ac_try;;
2092
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2093
(eval "$ac_link_default") 2>&5
2095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096
(exit $ac_status); }; then
2097
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2098
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2099
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2100
# so that the user can short-circuit this test for compilers unknown to
2102
for ac_file in $ac_files ''
2104
test -f "$ac_file" || continue
2106
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2109
# We found the default executable, but exeext='' is most
2113
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2115
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2117
# We set ac_cv_exeext here because the later test for it is not
2118
# safe: cross compilers may not add the suffix if given an `-o'
2119
# argument, so we may need to know it at that point already.
2120
# Even if this section looks crufty: it has the advantage of
2127
test "$ac_cv_exeext" = no && ac_cv_exeext=
2133
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2134
echo "${ECHO_T}$ac_file" >&6; }
2135
if test -z "$ac_file"; then
2136
echo "$as_me: failed program was:" >&5
2137
sed 's/^/| /' conftest.$ac_ext >&5
2139
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2140
See \`config.log' for more details." >&5
2141
echo "$as_me: error: C compiler cannot create executables
2142
See \`config.log' for more details." >&2;}
2143
{ (exit 77); exit 77; }; }
2146
ac_exeext=$ac_cv_exeext
2148
# Check that the compiler produces executables we can run. If not, either
2149
# the compiler is broken, or we cross compile.
2150
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2151
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2152
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2153
# If not cross compiling, check that we can run a simple program.
2154
if test "$cross_compiling" != yes; then
2155
if { ac_try='./$ac_file'
2156
{ (case "(($ac_try" in
2157
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2158
*) ac_try_echo=$ac_try;;
2160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2161
(eval "$ac_try") 2>&5
2163
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164
(exit $ac_status); }; }; then
2167
if test "$cross_compiling" = maybe; then
2170
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2171
If you meant to cross compile, use \`--host'.
2172
See \`config.log' for more details." >&5
2173
echo "$as_me: error: cannot run C compiled programs.
2174
If you meant to cross compile, use \`--host'.
2175
See \`config.log' for more details." >&2;}
2176
{ (exit 1); exit 1; }; }
2180
{ echo "$as_me:$LINENO: result: yes" >&5
2181
echo "${ECHO_T}yes" >&6; }
2183
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2184
ac_clean_files=$ac_clean_files_save
2185
# Check that the compiler produces executables we can run. If not, either
2186
# the compiler is broken, or we cross compile.
2187
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2188
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2189
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2190
echo "${ECHO_T}$cross_compiling" >&6; }
2192
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2193
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2194
if { (ac_try="$ac_link"
2196
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2197
*) ac_try_echo=$ac_try;;
2199
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2200
(eval "$ac_link") 2>&5
2202
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203
(exit $ac_status); }; then
2204
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2205
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2206
# work properly (i.e., refer to `conftest.exe'), while it won't with
2208
for ac_file in conftest.exe conftest conftest.*; do
2209
test -f "$ac_file" || continue
2211
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2212
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2218
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2219
See \`config.log' for more details." >&5
2220
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2221
See \`config.log' for more details." >&2;}
2222
{ (exit 1); exit 1; }; }
2225
rm -f conftest$ac_cv_exeext
2226
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2227
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2229
rm -f conftest.$ac_ext
2230
EXEEXT=$ac_cv_exeext
2232
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2233
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2234
if test "${ac_cv_objext+set}" = set; then
2235
echo $ECHO_N "(cached) $ECHO_C" >&6
2237
cat >conftest.$ac_ext <<_ACEOF
2240
cat confdefs.h >>conftest.$ac_ext
2241
cat >>conftest.$ac_ext <<_ACEOF
2242
/* end confdefs.h. */
2252
rm -f conftest.o conftest.obj
2253
if { (ac_try="$ac_compile"
2255
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2256
*) ac_try_echo=$ac_try;;
2258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2259
(eval "$ac_compile") 2>&5
2261
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262
(exit $ac_status); }; then
2263
for ac_file in conftest.o conftest.obj conftest.*; do
2264
test -f "$ac_file" || continue;
2266
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2267
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2272
echo "$as_me: failed program was:" >&5
2273
sed 's/^/| /' conftest.$ac_ext >&5
2275
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2276
See \`config.log' for more details." >&5
2277
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2278
See \`config.log' for more details." >&2;}
2279
{ (exit 1); exit 1; }; }
2282
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2284
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2285
echo "${ECHO_T}$ac_cv_objext" >&6; }
2286
OBJEXT=$ac_cv_objext
2288
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2289
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2290
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2291
echo $ECHO_N "(cached) $ECHO_C" >&6
2293
cat >conftest.$ac_ext <<_ACEOF
2296
cat confdefs.h >>conftest.$ac_ext
2297
cat >>conftest.$ac_ext <<_ACEOF
2298
/* end confdefs.h. */
2311
rm -f conftest.$ac_objext
2312
if { (ac_try="$ac_compile"
2314
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2315
*) ac_try_echo=$ac_try;;
2317
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2318
(eval "$ac_compile") 2>conftest.er1
2320
grep -v '^ *+' conftest.er1 >conftest.err
2322
cat conftest.err >&5
2323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324
(exit $ac_status); } && {
2325
test -z "$ac_c_werror_flag" ||
2326
test ! -s conftest.err
2327
} && test -s conftest.$ac_objext; then
2330
echo "$as_me: failed program was:" >&5
2331
sed 's/^/| /' conftest.$ac_ext >&5
2336
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2337
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2340
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2341
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2342
GCC=`test $ac_compiler_gnu = yes && echo yes`
2343
ac_test_CFLAGS=${CFLAGS+set}
2344
ac_save_CFLAGS=$CFLAGS
2345
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2346
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2347
if test "${ac_cv_prog_cc_g+set}" = set; then
2348
echo $ECHO_N "(cached) $ECHO_C" >&6
2350
ac_save_c_werror_flag=$ac_c_werror_flag
2351
ac_c_werror_flag=yes
2354
cat >conftest.$ac_ext <<_ACEOF
2357
cat confdefs.h >>conftest.$ac_ext
2358
cat >>conftest.$ac_ext <<_ACEOF
2359
/* end confdefs.h. */
2369
rm -f conftest.$ac_objext
2370
if { (ac_try="$ac_compile"
2372
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373
*) ac_try_echo=$ac_try;;
2375
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2376
(eval "$ac_compile") 2>conftest.er1
2378
grep -v '^ *+' conftest.er1 >conftest.err
2380
cat conftest.err >&5
2381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382
(exit $ac_status); } && {
2383
test -z "$ac_c_werror_flag" ||
2384
test ! -s conftest.err
2385
} && test -s conftest.$ac_objext; then
2388
echo "$as_me: failed program was:" >&5
2389
sed 's/^/| /' conftest.$ac_ext >&5
2392
cat >conftest.$ac_ext <<_ACEOF
2395
cat confdefs.h >>conftest.$ac_ext
2396
cat >>conftest.$ac_ext <<_ACEOF
2397
/* end confdefs.h. */
2407
rm -f conftest.$ac_objext
2408
if { (ac_try="$ac_compile"
2410
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2411
*) ac_try_echo=$ac_try;;
2413
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2414
(eval "$ac_compile") 2>conftest.er1
2416
grep -v '^ *+' conftest.er1 >conftest.err
2418
cat conftest.err >&5
2419
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420
(exit $ac_status); } && {
2421
test -z "$ac_c_werror_flag" ||
2422
test ! -s conftest.err
2423
} && test -s conftest.$ac_objext; then
2426
echo "$as_me: failed program was:" >&5
2427
sed 's/^/| /' conftest.$ac_ext >&5
2429
ac_c_werror_flag=$ac_save_c_werror_flag
2431
cat >conftest.$ac_ext <<_ACEOF
2434
cat confdefs.h >>conftest.$ac_ext
2435
cat >>conftest.$ac_ext <<_ACEOF
2436
/* end confdefs.h. */
2446
rm -f conftest.$ac_objext
2447
if { (ac_try="$ac_compile"
2449
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450
*) ac_try_echo=$ac_try;;
2452
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2453
(eval "$ac_compile") 2>conftest.er1
2455
grep -v '^ *+' conftest.er1 >conftest.err
2457
cat conftest.err >&5
2458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459
(exit $ac_status); } && {
2460
test -z "$ac_c_werror_flag" ||
2461
test ! -s conftest.err
2462
} && test -s conftest.$ac_objext; then
2465
echo "$as_me: failed program was:" >&5
2466
sed 's/^/| /' conftest.$ac_ext >&5
2471
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2477
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2478
ac_c_werror_flag=$ac_save_c_werror_flag
2480
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2481
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2482
if test "$ac_test_CFLAGS" = set; then
2483
CFLAGS=$ac_save_CFLAGS
2484
elif test $ac_cv_prog_cc_g = yes; then
2485
if test "$GCC" = yes; then
2491
if test "$GCC" = yes; then
2497
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2498
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2499
if test "${ac_cv_prog_cc_c89+set}" = set; then
2500
echo $ECHO_N "(cached) $ECHO_C" >&6
2502
ac_cv_prog_cc_c89=no
2504
cat >conftest.$ac_ext <<_ACEOF
2507
cat confdefs.h >>conftest.$ac_ext
2508
cat >>conftest.$ac_ext <<_ACEOF
2509
/* end confdefs.h. */
2512
#include <sys/types.h>
2513
#include <sys/stat.h>
2514
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2515
struct buf { int x; };
2516
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2517
static char *e (p, i)
2523
static char *f (char * (*g) (char **, int), char **p, ...)
2528
s = g (p, va_arg (v,int));
2533
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2534
function prototypes and stuff, but not '\xHH' hex character constants.
2535
These don't provoke an error unfortunately, instead are silently treated
2536
as 'x'. The following induces an error, until -std is added to get
2537
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2538
array size at least. It's necessary to write '\x00'==0 to get something
2539
that's true only with -std. */
2540
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2542
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2543
inside strings and character constants. */
2545
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2547
int test (int i, double x);
2548
struct s1 {int (*f) (int a);};
2549
struct s2 {int (*f) (double a);};
2550
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2556
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2561
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2562
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2564
CC="$ac_save_CC $ac_arg"
2565
rm -f conftest.$ac_objext
2566
if { (ac_try="$ac_compile"
2568
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569
*) ac_try_echo=$ac_try;;
2571
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2572
(eval "$ac_compile") 2>conftest.er1
2574
grep -v '^ *+' conftest.er1 >conftest.err
2576
cat conftest.err >&5
2577
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578
(exit $ac_status); } && {
2579
test -z "$ac_c_werror_flag" ||
2580
test ! -s conftest.err
2581
} && test -s conftest.$ac_objext; then
2582
ac_cv_prog_cc_c89=$ac_arg
2584
echo "$as_me: failed program was:" >&5
2585
sed 's/^/| /' conftest.$ac_ext >&5
2590
rm -f core conftest.err conftest.$ac_objext
2591
test "x$ac_cv_prog_cc_c89" != "xno" && break
2593
rm -f conftest.$ac_ext
2598
case "x$ac_cv_prog_cc_c89" in
2600
{ echo "$as_me:$LINENO: result: none needed" >&5
2601
echo "${ECHO_T}none needed" >&6; } ;;
2603
{ echo "$as_me:$LINENO: result: unsupported" >&5
2604
echo "${ECHO_T}unsupported" >&6; } ;;
2606
CC="$CC $ac_cv_prog_cc_c89"
2607
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2608
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2613
ac_cpp='$CPP $CPPFLAGS'
2614
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2615
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2616
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2618
# Extract the first word of "rpcgen", so it can be a program name with args.
2619
set dummy rpcgen; ac_word=$2
2620
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2621
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2622
if test "${ac_cv_path_prog_rpcgen+set}" = set; then
2623
echo $ECHO_N "(cached) $ECHO_C" >&6
2625
case $prog_rpcgen in
2627
ac_cv_path_prog_rpcgen="$prog_rpcgen" # Let the user override the test with a path.
2630
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634
test -z "$as_dir" && as_dir=.
2635
for ac_exec_ext in '' $ac_executable_extensions; do
2636
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637
ac_cv_path_prog_rpcgen="$as_dir/$ac_word$ac_exec_ext"
2638
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2645
test -z "$ac_cv_path_prog_rpcgen" && ac_cv_path_prog_rpcgen="{ { echo "$as_me:$LINENO: error: Please install the rpcgen program" >&5
2646
echo "$as_me: error: Please install the rpcgen program" >&2;}
2647
{ (exit 1); exit 1; }; }"
2651
prog_rpcgen=$ac_cv_path_prog_rpcgen
2652
if test -n "$prog_rpcgen"; then
2653
{ echo "$as_me:$LINENO: result: $prog_rpcgen" >&5
2654
echo "${ECHO_T}$prog_rpcgen" >&6; }
2656
{ echo "$as_me:$LINENO: result: no" >&5
2657
echo "${ECHO_T}no" >&6; }
2661
if test `uname -s` != "Darwin"; then
2662
# Extract the first word of "crontab", so it can be a program name with args.
2663
set dummy crontab; ac_word=$2
2664
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2665
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2666
if test "${ac_cv_path_prog_crontab+set}" = set; then
2667
echo $ECHO_N "(cached) $ECHO_C" >&6
2669
case $prog_crontab in
2671
ac_cv_path_prog_crontab="$prog_crontab" # Let the user override the test with a path.
2674
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678
test -z "$as_dir" && as_dir=.
2679
for ac_exec_ext in '' $ac_executable_extensions; do
2680
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2681
ac_cv_path_prog_crontab="$as_dir/$ac_word$ac_exec_ext"
2682
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2689
test -z "$ac_cv_path_prog_crontab" && ac_cv_path_prog_crontab="{ { echo "$as_me:$LINENO: error: Please install the cron and the crontab program" >&5
2690
echo "$as_me: error: Please install the cron and the crontab program" >&2;}
2691
{ (exit 1); exit 1; }; }"
2695
prog_crontab=$ac_cv_path_prog_crontab
2696
if test -n "$prog_crontab"; then
2697
{ echo "$as_me:$LINENO: result: $prog_crontab" >&5
2698
echo "${ECHO_T}$prog_crontab" >&6; }
2700
{ echo "$as_me:$LINENO: result: no" >&5
2701
echo "${ECHO_T}no" >&6; }
2707
# Checks for libraries.
2710
{ echo "$as_me:$LINENO: checking for EVP_aes_128_ecb in -lcrypto" >&5
2711
echo $ECHO_N "checking for EVP_aes_128_ecb in -lcrypto... $ECHO_C" >&6; }
2712
if test "${ac_cv_lib_crypto_EVP_aes_128_ecb+set}" = set; then
2713
echo $ECHO_N "(cached) $ECHO_C" >&6
2715
ac_check_lib_save_LIBS=$LIBS
2716
LIBS="-lcrypto $LIBS"
2717
cat >conftest.$ac_ext <<_ACEOF
2720
cat confdefs.h >>conftest.$ac_ext
2721
cat >>conftest.$ac_ext <<_ACEOF
2722
/* end confdefs.h. */
2724
/* Override any GCC internal prototype to avoid an error.
2725
Use char because int might match the return type of a GCC
2726
builtin and then its argument prototype would still apply. */
2730
char EVP_aes_128_ecb ();
2734
return EVP_aes_128_ecb ();
2739
rm -f conftest.$ac_objext conftest$ac_exeext
2740
if { (ac_try="$ac_link"
2742
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743
*) ac_try_echo=$ac_try;;
2745
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2746
(eval "$ac_link") 2>conftest.er1
2748
grep -v '^ *+' conftest.er1 >conftest.err
2750
cat conftest.err >&5
2751
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752
(exit $ac_status); } && {
2753
test -z "$ac_c_werror_flag" ||
2754
test ! -s conftest.err
2755
} && test -s conftest$ac_exeext &&
2756
$as_test_x conftest$ac_exeext; then
2757
ac_cv_lib_crypto_EVP_aes_128_ecb=yes
2759
echo "$as_me: failed program was:" >&5
2760
sed 's/^/| /' conftest.$ac_ext >&5
2762
ac_cv_lib_crypto_EVP_aes_128_ecb=no
2765
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2766
conftest$ac_exeext conftest.$ac_ext
2767
LIBS=$ac_check_lib_save_LIBS
2769
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_EVP_aes_128_ecb" >&5
2770
echo "${ECHO_T}$ac_cv_lib_crypto_EVP_aes_128_ecb" >&6; }
2771
if test $ac_cv_lib_crypto_EVP_aes_128_ecb = yes; then
2772
cat >>confdefs.h <<_ACEOF
2773
#define HAVE_LIBCRYPTO 1
2776
LIBS="-lcrypto $LIBS"
2781
{ echo "$as_me:$LINENO: checking for log in -lm" >&5
2782
echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6; }
2783
if test "${ac_cv_lib_m_log+set}" = set; then
2784
echo $ECHO_N "(cached) $ECHO_C" >&6
2786
ac_check_lib_save_LIBS=$LIBS
2788
cat >conftest.$ac_ext <<_ACEOF
2791
cat confdefs.h >>conftest.$ac_ext
2792
cat >>conftest.$ac_ext <<_ACEOF
2793
/* end confdefs.h. */
2795
/* Override any GCC internal prototype to avoid an error.
2796
Use char because int might match the return type of a GCC
2797
builtin and then its argument prototype would still apply. */
2810
rm -f conftest.$ac_objext conftest$ac_exeext
2811
if { (ac_try="$ac_link"
2813
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814
*) ac_try_echo=$ac_try;;
2816
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2817
(eval "$ac_link") 2>conftest.er1
2819
grep -v '^ *+' conftest.er1 >conftest.err
2821
cat conftest.err >&5
2822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823
(exit $ac_status); } && {
2824
test -z "$ac_c_werror_flag" ||
2825
test ! -s conftest.err
2826
} && test -s conftest$ac_exeext &&
2827
$as_test_x conftest$ac_exeext; then
2830
echo "$as_me: failed program was:" >&5
2831
sed 's/^/| /' conftest.$ac_ext >&5
2836
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2837
conftest$ac_exeext conftest.$ac_ext
2838
LIBS=$ac_check_lib_save_LIBS
2840
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
2841
echo "${ECHO_T}$ac_cv_lib_m_log" >&6; }
2842
if test $ac_cv_lib_m_log = yes; then
2843
cat >>confdefs.h <<_ACEOF
2852
# Checks for header files.
2854
ac_cpp='$CPP $CPPFLAGS'
2855
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2856
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2857
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2858
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2859
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2860
# On Suns, sometimes $CPP names a directory.
2861
if test -n "$CPP" && test -d "$CPP"; then
2864
if test -z "$CPP"; then
2865
if test "${ac_cv_prog_CPP+set}" = set; then
2866
echo $ECHO_N "(cached) $ECHO_C" >&6
2868
# Double quotes because CPP needs to be expanded
2869
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2872
for ac_c_preproc_warn_flag in '' yes
2874
# Use a header file that comes with gcc, so configuring glibc
2875
# with a fresh cross-compiler works.
2876
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2877
# <limits.h> exists even on freestanding compilers.
2878
# On the NeXT, cc -E runs the code through the compiler's parser,
2879
# not just through cpp. "Syntax error" is here to catch this case.
2880
cat >conftest.$ac_ext <<_ACEOF
2883
cat confdefs.h >>conftest.$ac_ext
2884
cat >>conftest.$ac_ext <<_ACEOF
2885
/* end confdefs.h. */
2887
# include <limits.h>
2889
# include <assert.h>
2893
if { (ac_try="$ac_cpp conftest.$ac_ext"
2895
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2896
*) ac_try_echo=$ac_try;;
2898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2899
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2901
grep -v '^ *+' conftest.er1 >conftest.err
2903
cat conftest.err >&5
2904
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905
(exit $ac_status); } >/dev/null && {
2906
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2907
test ! -s conftest.err
2911
echo "$as_me: failed program was:" >&5
2912
sed 's/^/| /' conftest.$ac_ext >&5
2914
# Broken: fails on valid input.
2918
rm -f conftest.err conftest.$ac_ext
2920
# OK, works on sane cases. Now check whether nonexistent headers
2921
# can be detected and how.
2922
cat >conftest.$ac_ext <<_ACEOF
2925
cat confdefs.h >>conftest.$ac_ext
2926
cat >>conftest.$ac_ext <<_ACEOF
2927
/* end confdefs.h. */
2928
#include <ac_nonexistent.h>
2930
if { (ac_try="$ac_cpp conftest.$ac_ext"
2932
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933
*) ac_try_echo=$ac_try;;
2935
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2936
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2938
grep -v '^ *+' conftest.er1 >conftest.err
2940
cat conftest.err >&5
2941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942
(exit $ac_status); } >/dev/null && {
2943
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2944
test ! -s conftest.err
2946
# Broken: success on invalid input.
2949
echo "$as_me: failed program was:" >&5
2950
sed 's/^/| /' conftest.$ac_ext >&5
2952
# Passes both tests.
2957
rm -f conftest.err conftest.$ac_ext
2960
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2961
rm -f conftest.err conftest.$ac_ext
2962
if $ac_preproc_ok; then
2974
{ echo "$as_me:$LINENO: result: $CPP" >&5
2975
echo "${ECHO_T}$CPP" >&6; }
2977
for ac_c_preproc_warn_flag in '' yes
2979
# Use a header file that comes with gcc, so configuring glibc
2980
# with a fresh cross-compiler works.
2981
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2982
# <limits.h> exists even on freestanding compilers.
2983
# On the NeXT, cc -E runs the code through the compiler's parser,
2984
# not just through cpp. "Syntax error" is here to catch this case.
2985
cat >conftest.$ac_ext <<_ACEOF
2988
cat confdefs.h >>conftest.$ac_ext
2989
cat >>conftest.$ac_ext <<_ACEOF
2990
/* end confdefs.h. */
2992
# include <limits.h>
2994
# include <assert.h>
2998
if { (ac_try="$ac_cpp conftest.$ac_ext"
3000
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001
*) ac_try_echo=$ac_try;;
3003
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3004
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3006
grep -v '^ *+' conftest.er1 >conftest.err
3008
cat conftest.err >&5
3009
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010
(exit $ac_status); } >/dev/null && {
3011
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3012
test ! -s conftest.err
3016
echo "$as_me: failed program was:" >&5
3017
sed 's/^/| /' conftest.$ac_ext >&5
3019
# Broken: fails on valid input.
3023
rm -f conftest.err conftest.$ac_ext
3025
# OK, works on sane cases. Now check whether nonexistent headers
3026
# can be detected and how.
3027
cat >conftest.$ac_ext <<_ACEOF
3030
cat confdefs.h >>conftest.$ac_ext
3031
cat >>conftest.$ac_ext <<_ACEOF
3032
/* end confdefs.h. */
3033
#include <ac_nonexistent.h>
3035
if { (ac_try="$ac_cpp conftest.$ac_ext"
3037
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3038
*) ac_try_echo=$ac_try;;
3040
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3041
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3043
grep -v '^ *+' conftest.er1 >conftest.err
3045
cat conftest.err >&5
3046
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047
(exit $ac_status); } >/dev/null && {
3048
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3049
test ! -s conftest.err
3051
# Broken: success on invalid input.
3054
echo "$as_me: failed program was:" >&5
3055
sed 's/^/| /' conftest.$ac_ext >&5
3057
# Passes both tests.
3062
rm -f conftest.err conftest.$ac_ext
3065
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3066
rm -f conftest.err conftest.$ac_ext
3067
if $ac_preproc_ok; then
3070
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3071
See \`config.log' for more details." >&5
3072
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3073
See \`config.log' for more details." >&2;}
3074
{ (exit 1); exit 1; }; }
3078
ac_cpp='$CPP $CPPFLAGS'
3079
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3080
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3081
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3084
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3085
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3086
if test "${ac_cv_path_GREP+set}" = set; then
3087
echo $ECHO_N "(cached) $ECHO_C" >&6
3089
# Extract the first word of "grep ggrep" to use in msg output
3090
if test -z "$GREP"; then
3091
set dummy grep ggrep; ac_prog_name=$2
3092
if test "${ac_cv_path_GREP+set}" = set; then
3093
echo $ECHO_N "(cached) $ECHO_C" >&6
3095
ac_path_GREP_found=false
3096
# Loop through the user's path and test for each of PROGNAME-LIST
3097
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3101
test -z "$as_dir" && as_dir=.
3102
for ac_prog in grep ggrep; do
3103
for ac_exec_ext in '' $ac_executable_extensions; do
3104
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3105
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3106
# Check for GNU ac_path_GREP and select it if it is found.
3107
# Check for GNU $ac_path_GREP
3108
case `"$ac_path_GREP" --version 2>&1` in
3110
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3113
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3116
cat "conftest.in" "conftest.in" >"conftest.tmp"
3117
mv "conftest.tmp" "conftest.in"
3118
cp "conftest.in" "conftest.nl"
3119
echo 'GREP' >> "conftest.nl"
3120
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3121
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3122
ac_count=`expr $ac_count + 1`
3123
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3124
# Best one so far, save it but keep looking for a better one
3125
ac_cv_path_GREP="$ac_path_GREP"
3126
ac_path_GREP_max=$ac_count
3128
# 10*(2^10) chars as input seems more than enough
3129
test $ac_count -gt 10 && break
3131
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3135
$ac_path_GREP_found && break 3
3145
GREP="$ac_cv_path_GREP"
3146
if test -z "$GREP"; then
3147
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3148
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3149
{ (exit 1); exit 1; }; }
3153
ac_cv_path_GREP=$GREP
3158
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3159
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3160
GREP="$ac_cv_path_GREP"
3163
{ echo "$as_me:$LINENO: checking for egrep" >&5
3164
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3165
if test "${ac_cv_path_EGREP+set}" = set; then
3166
echo $ECHO_N "(cached) $ECHO_C" >&6
3168
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3169
then ac_cv_path_EGREP="$GREP -E"
3171
# Extract the first word of "egrep" to use in msg output
3172
if test -z "$EGREP"; then
3173
set dummy egrep; ac_prog_name=$2
3174
if test "${ac_cv_path_EGREP+set}" = set; then
3175
echo $ECHO_N "(cached) $ECHO_C" >&6
3177
ac_path_EGREP_found=false
3178
# Loop through the user's path and test for each of PROGNAME-LIST
3179
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3183
test -z "$as_dir" && as_dir=.
3184
for ac_prog in egrep; do
3185
for ac_exec_ext in '' $ac_executable_extensions; do
3186
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3187
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3188
# Check for GNU ac_path_EGREP and select it if it is found.
3189
# Check for GNU $ac_path_EGREP
3190
case `"$ac_path_EGREP" --version 2>&1` in
3192
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3195
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3198
cat "conftest.in" "conftest.in" >"conftest.tmp"
3199
mv "conftest.tmp" "conftest.in"
3200
cp "conftest.in" "conftest.nl"
3201
echo 'EGREP' >> "conftest.nl"
3202
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3203
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3204
ac_count=`expr $ac_count + 1`
3205
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3206
# Best one so far, save it but keep looking for a better one
3207
ac_cv_path_EGREP="$ac_path_EGREP"
3208
ac_path_EGREP_max=$ac_count
3210
# 10*(2^10) chars as input seems more than enough
3211
test $ac_count -gt 10 && break
3213
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3217
$ac_path_EGREP_found && break 3
3227
EGREP="$ac_cv_path_EGREP"
3228
if test -z "$EGREP"; then
3229
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3230
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3231
{ (exit 1); exit 1; }; }
3235
ac_cv_path_EGREP=$EGREP
3241
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3242
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3243
EGREP="$ac_cv_path_EGREP"
3246
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3247
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3248
if test "${ac_cv_header_stdc+set}" = set; then
3249
echo $ECHO_N "(cached) $ECHO_C" >&6
3251
cat >conftest.$ac_ext <<_ACEOF
3254
cat confdefs.h >>conftest.$ac_ext
3255
cat >>conftest.$ac_ext <<_ACEOF
3256
/* end confdefs.h. */
3270
rm -f conftest.$ac_objext
3271
if { (ac_try="$ac_compile"
3273
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274
*) ac_try_echo=$ac_try;;
3276
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3277
(eval "$ac_compile") 2>conftest.er1
3279
grep -v '^ *+' conftest.er1 >conftest.err
3281
cat conftest.err >&5
3282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283
(exit $ac_status); } && {
3284
test -z "$ac_c_werror_flag" ||
3285
test ! -s conftest.err
3286
} && test -s conftest.$ac_objext; then
3287
ac_cv_header_stdc=yes
3289
echo "$as_me: failed program was:" >&5
3290
sed 's/^/| /' conftest.$ac_ext >&5
3292
ac_cv_header_stdc=no
3295
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297
if test $ac_cv_header_stdc = yes; then
3298
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3299
cat >conftest.$ac_ext <<_ACEOF
3302
cat confdefs.h >>conftest.$ac_ext
3303
cat >>conftest.$ac_ext <<_ACEOF
3304
/* end confdefs.h. */
3308
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3309
$EGREP "memchr" >/dev/null 2>&1; then
3312
ac_cv_header_stdc=no
3318
if test $ac_cv_header_stdc = yes; then
3319
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3320
cat >conftest.$ac_ext <<_ACEOF
3323
cat confdefs.h >>conftest.$ac_ext
3324
cat >>conftest.$ac_ext <<_ACEOF
3325
/* end confdefs.h. */
3329
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3330
$EGREP "free" >/dev/null 2>&1; then
3333
ac_cv_header_stdc=no
3339
if test $ac_cv_header_stdc = yes; then
3340
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3341
if test "$cross_compiling" = yes; then
3344
cat >conftest.$ac_ext <<_ACEOF
3347
cat confdefs.h >>conftest.$ac_ext
3348
cat >>conftest.$ac_ext <<_ACEOF
3349
/* end confdefs.h. */
3352
#if ((' ' & 0x0FF) == 0x020)
3353
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3354
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3356
# define ISLOWER(c) \
3357
(('a' <= (c) && (c) <= 'i') \
3358
|| ('j' <= (c) && (c) <= 'r') \
3359
|| ('s' <= (c) && (c) <= 'z'))
3360
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3363
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3368
for (i = 0; i < 256; i++)
3369
if (XOR (islower (i), ISLOWER (i))
3370
|| toupper (i) != TOUPPER (i))
3375
rm -f conftest$ac_exeext
3376
if { (ac_try="$ac_link"
3378
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379
*) ac_try_echo=$ac_try;;
3381
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3382
(eval "$ac_link") 2>&5
3384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3386
{ (case "(($ac_try" in
3387
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388
*) ac_try_echo=$ac_try;;
3390
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3391
(eval "$ac_try") 2>&5
3393
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394
(exit $ac_status); }; }; then
3397
echo "$as_me: program exited with status $ac_status" >&5
3398
echo "$as_me: failed program was:" >&5
3399
sed 's/^/| /' conftest.$ac_ext >&5
3402
ac_cv_header_stdc=no
3404
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3410
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3411
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3412
if test $ac_cv_header_stdc = yes; then
3414
cat >>confdefs.h <<\_ACEOF
3415
#define STDC_HEADERS 1
3420
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3421
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
3422
if test "${ac_cv_header_sys_wait_h+set}" = set; then
3423
echo $ECHO_N "(cached) $ECHO_C" >&6
3425
cat >conftest.$ac_ext <<_ACEOF
3428
cat confdefs.h >>conftest.$ac_ext
3429
cat >>conftest.$ac_ext <<_ACEOF
3430
/* end confdefs.h. */
3431
#include <sys/types.h>
3432
#include <sys/wait.h>
3434
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
3437
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3445
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3450
rm -f conftest.$ac_objext
3451
if { (ac_try="$ac_compile"
3453
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454
*) ac_try_echo=$ac_try;;
3456
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3457
(eval "$ac_compile") 2>conftest.er1
3459
grep -v '^ *+' conftest.er1 >conftest.err
3461
cat conftest.err >&5
3462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463
(exit $ac_status); } && {
3464
test -z "$ac_c_werror_flag" ||
3465
test ! -s conftest.err
3466
} && test -s conftest.$ac_objext; then
3467
ac_cv_header_sys_wait_h=yes
3469
echo "$as_me: failed program was:" >&5
3470
sed 's/^/| /' conftest.$ac_ext >&5
3472
ac_cv_header_sys_wait_h=no
3475
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3478
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
3479
if test $ac_cv_header_sys_wait_h = yes; then
3481
cat >>confdefs.h <<\_ACEOF
3482
#define HAVE_SYS_WAIT_H 1
3487
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3497
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3498
inttypes.h stdint.h unistd.h
3500
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3501
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3502
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3503
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3504
echo $ECHO_N "(cached) $ECHO_C" >&6
3506
cat >conftest.$ac_ext <<_ACEOF
3509
cat confdefs.h >>conftest.$ac_ext
3510
cat >>conftest.$ac_ext <<_ACEOF
3511
/* end confdefs.h. */
3512
$ac_includes_default
3514
#include <$ac_header>
3516
rm -f conftest.$ac_objext
3517
if { (ac_try="$ac_compile"
3519
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3520
*) ac_try_echo=$ac_try;;
3522
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3523
(eval "$ac_compile") 2>conftest.er1
3525
grep -v '^ *+' conftest.er1 >conftest.err
3527
cat conftest.err >&5
3528
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529
(exit $ac_status); } && {
3530
test -z "$ac_c_werror_flag" ||
3531
test ! -s conftest.err
3532
} && test -s conftest.$ac_objext; then
3533
eval "$as_ac_Header=yes"
3535
echo "$as_me: failed program was:" >&5
3536
sed 's/^/| /' conftest.$ac_ext >&5
3538
eval "$as_ac_Header=no"
3541
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543
ac_res=`eval echo '${'$as_ac_Header'}'`
3544
{ echo "$as_me:$LINENO: result: $ac_res" >&5
3545
echo "${ECHO_T}$ac_res" >&6; }
3546
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3547
cat >>confdefs.h <<_ACEOF
3548
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3566
for ac_header in ifaddrs.h arpa/inet.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h unistd.h
3568
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3569
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3570
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3571
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3572
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3573
echo $ECHO_N "(cached) $ECHO_C" >&6
3575
ac_res=`eval echo '${'$as_ac_Header'}'`
3576
{ echo "$as_me:$LINENO: result: $ac_res" >&5
3577
echo "${ECHO_T}$ac_res" >&6; }
3579
# Is the header compilable?
3580
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
3581
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3582
cat >conftest.$ac_ext <<_ACEOF
3585
cat confdefs.h >>conftest.$ac_ext
3586
cat >>conftest.$ac_ext <<_ACEOF
3587
/* end confdefs.h. */
3588
$ac_includes_default
3589
#include <$ac_header>
3591
rm -f conftest.$ac_objext
3592
if { (ac_try="$ac_compile"
3594
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3595
*) ac_try_echo=$ac_try;;
3597
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3598
(eval "$ac_compile") 2>conftest.er1
3600
grep -v '^ *+' conftest.er1 >conftest.err
3602
cat conftest.err >&5
3603
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604
(exit $ac_status); } && {
3605
test -z "$ac_c_werror_flag" ||
3606
test ! -s conftest.err
3607
} && test -s conftest.$ac_objext; then
3608
ac_header_compiler=yes
3610
echo "$as_me: failed program was:" >&5
3611
sed 's/^/| /' conftest.$ac_ext >&5
3613
ac_header_compiler=no
3616
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3618
echo "${ECHO_T}$ac_header_compiler" >&6; }
3620
# Is the header present?
3621
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
3622
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3623
cat >conftest.$ac_ext <<_ACEOF
3626
cat confdefs.h >>conftest.$ac_ext
3627
cat >>conftest.$ac_ext <<_ACEOF
3628
/* end confdefs.h. */
3629
#include <$ac_header>
3631
if { (ac_try="$ac_cpp conftest.$ac_ext"
3633
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634
*) ac_try_echo=$ac_try;;
3636
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3637
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3639
grep -v '^ *+' conftest.er1 >conftest.err
3641
cat conftest.err >&5
3642
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643
(exit $ac_status); } >/dev/null && {
3644
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3645
test ! -s conftest.err
3647
ac_header_preproc=yes
3649
echo "$as_me: failed program was:" >&5
3650
sed 's/^/| /' conftest.$ac_ext >&5
3652
ac_header_preproc=no
3655
rm -f conftest.err conftest.$ac_ext
3656
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3657
echo "${ECHO_T}$ac_header_preproc" >&6; }
3659
# So? What about this header?
3660
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3662
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3663
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3664
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3665
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3666
ac_header_preproc=yes
3669
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3670
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3671
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3672
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3673
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3674
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3675
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3676
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3677
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3678
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3679
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3680
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3682
## --------------------------------------- ##
3683
## Report this to adeona@cs.washington.edu ##
3684
## --------------------------------------- ##
3686
) | sed "s/^/$as_me: WARNING: /" >&2
3689
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3690
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3691
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3692
echo $ECHO_N "(cached) $ECHO_C" >&6
3694
eval "$as_ac_Header=\$ac_header_preproc"
3696
ac_res=`eval echo '${'$as_ac_Header'}'`
3697
{ echo "$as_me:$LINENO: result: $ac_res" >&5
3698
echo "${ECHO_T}$ac_res" >&6; }
3701
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3702
cat >>confdefs.h <<_ACEOF
3703
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3711
# Checks for typedefs, structures, and compiler characteristics.
3712
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3713
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3714
if test "${ac_cv_c_const+set}" = set; then
3715
echo $ECHO_N "(cached) $ECHO_C" >&6
3717
cat >conftest.$ac_ext <<_ACEOF
3720
cat confdefs.h >>conftest.$ac_ext
3721
cat >>conftest.$ac_ext <<_ACEOF
3722
/* end confdefs.h. */
3727
/* FIXME: Include the comments suggested by Paul. */
3729
/* Ultrix mips cc rejects this. */
3730
typedef int charset[2];
3732
/* SunOS 4.1.1 cc rejects this. */
3733
char const *const *pcpcc;
3735
/* NEC SVR4.0.2 mips cc rejects this. */
3736
struct point {int x, y;};
3737
static struct point const zero = {0,0};
3738
/* AIX XL C 1.02.0.0 rejects this.
3739
It does not let you subtract one const X* pointer from another in
3740
an arm of an if-expression whose if-part is not a constant
3742
const char *g = "string";
3743
pcpcc = &g + (g ? g-g : 0);
3744
/* HPUX 7.0 cc rejects these. */
3746
ppc = (char**) pcpcc;
3747
pcpcc = (char const *const *) ppc;
3748
{ /* SCO 3.2v4 cc rejects this. */
3750
char const *s = 0 ? (char *) 0 : (char const *) 0;
3755
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3757
const int *foo = &x[0];
3760
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3761
typedef const int *iptr;
3765
{ /* AIX XL C 1.02.0.0 rejects this saying
3766
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3767
struct s { int j; const int *ap[3]; };
3768
struct s *b; b->j = 5;
3770
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3774
return !cs[0] && !zero.x;
3781
rm -f conftest.$ac_objext
3782
if { (ac_try="$ac_compile"
3784
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3785
*) ac_try_echo=$ac_try;;
3787
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3788
(eval "$ac_compile") 2>conftest.er1
3790
grep -v '^ *+' conftest.er1 >conftest.err
3792
cat conftest.err >&5
3793
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794
(exit $ac_status); } && {
3795
test -z "$ac_c_werror_flag" ||
3796
test ! -s conftest.err
3797
} && test -s conftest.$ac_objext; then
3800
echo "$as_me: failed program was:" >&5
3801
sed 's/^/| /' conftest.$ac_ext >&5
3806
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3809
echo "${ECHO_T}$ac_cv_c_const" >&6; }
3810
if test $ac_cv_c_const = no; then
3812
cat >>confdefs.h <<\_ACEOF
3818
{ echo "$as_me:$LINENO: checking for inline" >&5
3819
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3820
if test "${ac_cv_c_inline+set}" = set; then
3821
echo $ECHO_N "(cached) $ECHO_C" >&6
3824
for ac_kw in inline __inline__ __inline; do
3825
cat >conftest.$ac_ext <<_ACEOF
3828
cat confdefs.h >>conftest.$ac_ext
3829
cat >>conftest.$ac_ext <<_ACEOF
3830
/* end confdefs.h. */
3833
static $ac_kw foo_t static_foo () {return 0; }
3834
$ac_kw foo_t foo () {return 0; }
3838
rm -f conftest.$ac_objext
3839
if { (ac_try="$ac_compile"
3841
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842
*) ac_try_echo=$ac_try;;
3844
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3845
(eval "$ac_compile") 2>conftest.er1
3847
grep -v '^ *+' conftest.er1 >conftest.err
3849
cat conftest.err >&5
3850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851
(exit $ac_status); } && {
3852
test -z "$ac_c_werror_flag" ||
3853
test ! -s conftest.err
3854
} && test -s conftest.$ac_objext; then
3855
ac_cv_c_inline=$ac_kw
3857
echo "$as_me: failed program was:" >&5
3858
sed 's/^/| /' conftest.$ac_ext >&5
3863
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3864
test "$ac_cv_c_inline" != no && break
3868
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3869
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3872
case $ac_cv_c_inline in
3875
case $ac_cv_c_inline in
3877
*) ac_val=$ac_cv_c_inline;;
3879
cat >>confdefs.h <<_ACEOF
3881
#define inline $ac_val
3887
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3888
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
3889
if test "${ac_cv_header_time+set}" = set; then
3890
echo $ECHO_N "(cached) $ECHO_C" >&6
3892
cat >conftest.$ac_ext <<_ACEOF
3895
cat confdefs.h >>conftest.$ac_ext
3896
cat >>conftest.$ac_ext <<_ACEOF
3897
/* end confdefs.h. */
3898
#include <sys/types.h>
3899
#include <sys/time.h>
3905
if ((struct tm *) 0)
3911
rm -f conftest.$ac_objext
3912
if { (ac_try="$ac_compile"
3914
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3915
*) ac_try_echo=$ac_try;;
3917
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3918
(eval "$ac_compile") 2>conftest.er1
3920
grep -v '^ *+' conftest.er1 >conftest.err
3922
cat conftest.err >&5
3923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924
(exit $ac_status); } && {
3925
test -z "$ac_c_werror_flag" ||
3926
test ! -s conftest.err
3927
} && test -s conftest.$ac_objext; then
3928
ac_cv_header_time=yes
3930
echo "$as_me: failed program was:" >&5
3931
sed 's/^/| /' conftest.$ac_ext >&5
3933
ac_cv_header_time=no
3936
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3938
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3939
echo "${ECHO_T}$ac_cv_header_time" >&6; }
3940
if test $ac_cv_header_time = yes; then
3942
cat >>confdefs.h <<\_ACEOF
3943
#define TIME_WITH_SYS_TIME 1
3948
{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3949
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
3950
if test "${ac_cv_struct_tm+set}" = set; then
3951
echo $ECHO_N "(cached) $ECHO_C" >&6
3953
cat >conftest.$ac_ext <<_ACEOF
3956
cat confdefs.h >>conftest.$ac_ext
3957
cat >>conftest.$ac_ext <<_ACEOF
3958
/* end confdefs.h. */
3959
#include <sys/types.h>
3966
int *p = &tm.tm_sec;
3972
rm -f conftest.$ac_objext
3973
if { (ac_try="$ac_compile"
3975
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976
*) ac_try_echo=$ac_try;;
3978
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3979
(eval "$ac_compile") 2>conftest.er1
3981
grep -v '^ *+' conftest.er1 >conftest.err
3983
cat conftest.err >&5
3984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985
(exit $ac_status); } && {
3986
test -z "$ac_c_werror_flag" ||
3987
test ! -s conftest.err
3988
} && test -s conftest.$ac_objext; then
3989
ac_cv_struct_tm=time.h
3991
echo "$as_me: failed program was:" >&5
3992
sed 's/^/| /' conftest.$ac_ext >&5
3994
ac_cv_struct_tm=sys/time.h
3997
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999
{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4000
echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
4001
if test $ac_cv_struct_tm = sys/time.h; then
4003
cat >>confdefs.h <<\_ACEOF
4004
#define TM_IN_SYS_TIME 1
4009
{ echo "$as_me:$LINENO: checking for size_t" >&5
4010
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
4011
if test "${ac_cv_type_size_t+set}" = set; then
4012
echo $ECHO_N "(cached) $ECHO_C" >&6
4014
cat >conftest.$ac_ext <<_ACEOF
4017
cat confdefs.h >>conftest.$ac_ext
4018
cat >>conftest.$ac_ext <<_ACEOF
4019
/* end confdefs.h. */
4020
$ac_includes_default
4021
typedef size_t ac__type_new_;
4025
if ((ac__type_new_ *) 0)
4027
if (sizeof (ac__type_new_))
4033
rm -f conftest.$ac_objext
4034
if { (ac_try="$ac_compile"
4036
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037
*) ac_try_echo=$ac_try;;
4039
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4040
(eval "$ac_compile") 2>conftest.er1
4042
grep -v '^ *+' conftest.er1 >conftest.err
4044
cat conftest.err >&5
4045
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046
(exit $ac_status); } && {
4047
test -z "$ac_c_werror_flag" ||
4048
test ! -s conftest.err
4049
} && test -s conftest.$ac_objext; then
4050
ac_cv_type_size_t=yes
4052
echo "$as_me: failed program was:" >&5
4053
sed 's/^/| /' conftest.$ac_ext >&5
4055
ac_cv_type_size_t=no
4058
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4060
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4061
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4062
if test $ac_cv_type_size_t = yes; then
4066
cat >>confdefs.h <<_ACEOF
4067
#define size_t unsigned int
4073
# Checks for library functions.
4074
{ echo "$as_me:$LINENO: checking for error_at_line" >&5
4075
echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6; }
4076
if test "${ac_cv_lib_error_at_line+set}" = set; then
4077
echo $ECHO_N "(cached) $ECHO_C" >&6
4079
cat >conftest.$ac_ext <<_ACEOF
4082
cat confdefs.h >>conftest.$ac_ext
4083
cat >>conftest.$ac_ext <<_ACEOF
4084
/* end confdefs.h. */
4089
error_at_line (0, 0, "", 0, "an error occurred");
4094
rm -f conftest.$ac_objext conftest$ac_exeext
4095
if { (ac_try="$ac_link"
4097
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098
*) ac_try_echo=$ac_try;;
4100
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4101
(eval "$ac_link") 2>conftest.er1
4103
grep -v '^ *+' conftest.er1 >conftest.err
4105
cat conftest.err >&5
4106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107
(exit $ac_status); } && {
4108
test -z "$ac_c_werror_flag" ||
4109
test ! -s conftest.err
4110
} && test -s conftest$ac_exeext &&
4111
$as_test_x conftest$ac_exeext; then
4112
ac_cv_lib_error_at_line=yes
4114
echo "$as_me: failed program was:" >&5
4115
sed 's/^/| /' conftest.$ac_ext >&5
4117
ac_cv_lib_error_at_line=no
4120
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4121
conftest$ac_exeext conftest.$ac_ext
4123
{ echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
4124
echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; }
4125
if test $ac_cv_lib_error_at_line = no; then
4126
case " $LIBOBJS " in
4127
*" error.$ac_objext "* ) ;;
4128
*) LIBOBJS="$LIBOBJS error.$ac_objext"
4135
for ac_header in stdlib.h
4137
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4138
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4139
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4140
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4141
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4142
echo $ECHO_N "(cached) $ECHO_C" >&6
4144
ac_res=`eval echo '${'$as_ac_Header'}'`
4145
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4146
echo "${ECHO_T}$ac_res" >&6; }
4148
# Is the header compilable?
4149
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4150
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4151
cat >conftest.$ac_ext <<_ACEOF
4154
cat confdefs.h >>conftest.$ac_ext
4155
cat >>conftest.$ac_ext <<_ACEOF
4156
/* end confdefs.h. */
4157
$ac_includes_default
4158
#include <$ac_header>
4160
rm -f conftest.$ac_objext
4161
if { (ac_try="$ac_compile"
4163
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164
*) ac_try_echo=$ac_try;;
4166
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4167
(eval "$ac_compile") 2>conftest.er1
4169
grep -v '^ *+' conftest.er1 >conftest.err
4171
cat conftest.err >&5
4172
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173
(exit $ac_status); } && {
4174
test -z "$ac_c_werror_flag" ||
4175
test ! -s conftest.err
4176
} && test -s conftest.$ac_objext; then
4177
ac_header_compiler=yes
4179
echo "$as_me: failed program was:" >&5
4180
sed 's/^/| /' conftest.$ac_ext >&5
4182
ac_header_compiler=no
4185
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4186
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4187
echo "${ECHO_T}$ac_header_compiler" >&6; }
4189
# Is the header present?
4190
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4191
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4192
cat >conftest.$ac_ext <<_ACEOF
4195
cat confdefs.h >>conftest.$ac_ext
4196
cat >>conftest.$ac_ext <<_ACEOF
4197
/* end confdefs.h. */
4198
#include <$ac_header>
4200
if { (ac_try="$ac_cpp conftest.$ac_ext"
4202
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203
*) ac_try_echo=$ac_try;;
4205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4206
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4208
grep -v '^ *+' conftest.er1 >conftest.err
4210
cat conftest.err >&5
4211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212
(exit $ac_status); } >/dev/null && {
4213
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4214
test ! -s conftest.err
4216
ac_header_preproc=yes
4218
echo "$as_me: failed program was:" >&5
4219
sed 's/^/| /' conftest.$ac_ext >&5
4221
ac_header_preproc=no
4224
rm -f conftest.err conftest.$ac_ext
4225
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4226
echo "${ECHO_T}$ac_header_preproc" >&6; }
4228
# So? What about this header?
4229
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4231
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4232
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4233
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4234
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4235
ac_header_preproc=yes
4238
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4239
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4240
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4241
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4242
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4243
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4244
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4245
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4246
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4247
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4248
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4249
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4251
## --------------------------------------- ##
4252
## Report this to adeona@cs.washington.edu ##
4253
## --------------------------------------- ##
4255
) | sed "s/^/$as_me: WARNING: /" >&2
4258
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4259
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4260
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4261
echo $ECHO_N "(cached) $ECHO_C" >&6
4263
eval "$as_ac_Header=\$ac_header_preproc"
4265
ac_res=`eval echo '${'$as_ac_Header'}'`
4266
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4267
echo "${ECHO_T}$ac_res" >&6; }
4270
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4271
cat >>confdefs.h <<_ACEOF
4272
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4279
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
4280
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
4281
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
4282
echo $ECHO_N "(cached) $ECHO_C" >&6
4284
if test "$cross_compiling" = yes; then
4285
ac_cv_func_malloc_0_nonnull=no
4287
cat >conftest.$ac_ext <<_ACEOF
4290
cat confdefs.h >>conftest.$ac_ext
4291
cat >>conftest.$ac_ext <<_ACEOF
4292
/* end confdefs.h. */
4293
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
4294
# include <stdlib.h>
4302
return ! malloc (0);
4307
rm -f conftest$ac_exeext
4308
if { (ac_try="$ac_link"
4310
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4311
*) ac_try_echo=$ac_try;;
4313
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4314
(eval "$ac_link") 2>&5
4316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4318
{ (case "(($ac_try" in
4319
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4320
*) ac_try_echo=$ac_try;;
4322
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4323
(eval "$ac_try") 2>&5
4325
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326
(exit $ac_status); }; }; then
4327
ac_cv_func_malloc_0_nonnull=yes
4329
echo "$as_me: program exited with status $ac_status" >&5
4330
echo "$as_me: failed program was:" >&5
4331
sed 's/^/| /' conftest.$ac_ext >&5
4334
ac_cv_func_malloc_0_nonnull=no
4336
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4341
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
4342
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
4343
if test $ac_cv_func_malloc_0_nonnull = yes; then
4345
cat >>confdefs.h <<\_ACEOF
4346
#define HAVE_MALLOC 1
4350
cat >>confdefs.h <<\_ACEOF
4351
#define HAVE_MALLOC 0
4354
case " $LIBOBJS " in
4355
*" malloc.$ac_objext "* ) ;;
4356
*) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4361
cat >>confdefs.h <<\_ACEOF
4362
#define malloc rpl_malloc
4369
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
4370
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
4371
if test "${ac_cv_func_memcmp_working+set}" = set; then
4372
echo $ECHO_N "(cached) $ECHO_C" >&6
4374
if test "$cross_compiling" = yes; then
4375
ac_cv_func_memcmp_working=no
4377
cat >conftest.$ac_ext <<_ACEOF
4380
cat confdefs.h >>conftest.$ac_ext
4381
cat >>conftest.$ac_ext <<_ACEOF
4382
/* end confdefs.h. */
4383
$ac_includes_default
4388
/* Some versions of memcmp are not 8-bit clean. */
4389
char c0 = '\100', c1 = '\200', c2 = '\201';
4390
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4393
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4394
or more and with at least one buffer not starting on a 4-byte boundary.
4395
William Lewis provided this test program. */
4400
for (i = 0; i < 4; i++)
4404
strcpy (a, "--------01111111");
4405
strcpy (b, "--------10000000");
4406
if (memcmp (a, b, 16) >= 0)
4416
rm -f conftest$ac_exeext
4417
if { (ac_try="$ac_link"
4419
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4420
*) ac_try_echo=$ac_try;;
4422
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4423
(eval "$ac_link") 2>&5
4425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4427
{ (case "(($ac_try" in
4428
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4429
*) ac_try_echo=$ac_try;;
4431
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4432
(eval "$ac_try") 2>&5
4434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435
(exit $ac_status); }; }; then
4436
ac_cv_func_memcmp_working=yes
4438
echo "$as_me: program exited with status $ac_status" >&5
4439
echo "$as_me: failed program was:" >&5
4440
sed 's/^/| /' conftest.$ac_ext >&5
4443
ac_cv_func_memcmp_working=no
4445
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4450
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4451
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
4452
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
4453
*" memcmp.$ac_objext "* ) ;;
4454
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
4463
for ac_header in $ac_header_list
4465
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4466
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4467
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4468
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4469
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4470
echo $ECHO_N "(cached) $ECHO_C" >&6
4472
ac_res=`eval echo '${'$as_ac_Header'}'`
4473
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4474
echo "${ECHO_T}$ac_res" >&6; }
4476
# Is the header compilable?
4477
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4478
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4479
cat >conftest.$ac_ext <<_ACEOF
4482
cat confdefs.h >>conftest.$ac_ext
4483
cat >>conftest.$ac_ext <<_ACEOF
4484
/* end confdefs.h. */
4485
$ac_includes_default
4486
#include <$ac_header>
4488
rm -f conftest.$ac_objext
4489
if { (ac_try="$ac_compile"
4491
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4492
*) ac_try_echo=$ac_try;;
4494
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4495
(eval "$ac_compile") 2>conftest.er1
4497
grep -v '^ *+' conftest.er1 >conftest.err
4499
cat conftest.err >&5
4500
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501
(exit $ac_status); } && {
4502
test -z "$ac_c_werror_flag" ||
4503
test ! -s conftest.err
4504
} && test -s conftest.$ac_objext; then
4505
ac_header_compiler=yes
4507
echo "$as_me: failed program was:" >&5
4508
sed 's/^/| /' conftest.$ac_ext >&5
4510
ac_header_compiler=no
4513
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4514
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4515
echo "${ECHO_T}$ac_header_compiler" >&6; }
4517
# Is the header present?
4518
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4519
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4520
cat >conftest.$ac_ext <<_ACEOF
4523
cat confdefs.h >>conftest.$ac_ext
4524
cat >>conftest.$ac_ext <<_ACEOF
4525
/* end confdefs.h. */
4526
#include <$ac_header>
4528
if { (ac_try="$ac_cpp conftest.$ac_ext"
4530
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4531
*) ac_try_echo=$ac_try;;
4533
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4534
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4536
grep -v '^ *+' conftest.er1 >conftest.err
4538
cat conftest.err >&5
4539
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540
(exit $ac_status); } >/dev/null && {
4541
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4542
test ! -s conftest.err
4544
ac_header_preproc=yes
4546
echo "$as_me: failed program was:" >&5
4547
sed 's/^/| /' conftest.$ac_ext >&5
4549
ac_header_preproc=no
4552
rm -f conftest.err conftest.$ac_ext
4553
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4554
echo "${ECHO_T}$ac_header_preproc" >&6; }
4556
# So? What about this header?
4557
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4559
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4560
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4561
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4562
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4563
ac_header_preproc=yes
4566
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4567
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4568
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4569
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4570
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4571
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4572
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4573
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4574
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4575
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4576
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4577
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4579
## --------------------------------------- ##
4580
## Report this to adeona@cs.washington.edu ##
4581
## --------------------------------------- ##
4583
) | sed "s/^/$as_me: WARNING: /" >&2
4586
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4587
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4588
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4589
echo $ECHO_N "(cached) $ECHO_C" >&6
4591
eval "$as_ac_Header=\$ac_header_preproc"
4593
ac_res=`eval echo '${'$as_ac_Header'}'`
4594
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4595
echo "${ECHO_T}$ac_res" >&6; }
4598
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4599
cat >>confdefs.h <<_ACEOF
4600
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4615
for ac_func in $ac_func_list
4617
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4618
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4619
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4620
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4621
echo $ECHO_N "(cached) $ECHO_C" >&6
4623
cat >conftest.$ac_ext <<_ACEOF
4626
cat confdefs.h >>conftest.$ac_ext
4627
cat >>conftest.$ac_ext <<_ACEOF
4628
/* end confdefs.h. */
4629
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4630
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4631
#define $ac_func innocuous_$ac_func
4633
/* System header to define __stub macros and hopefully few prototypes,
4634
which can conflict with char $ac_func (); below.
4635
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4636
<limits.h> exists even on freestanding compilers. */
4639
# include <limits.h>
4641
# include <assert.h>
4646
/* Override any GCC internal prototype to avoid an error.
4647
Use char because int might match the return type of a GCC
4648
builtin and then its argument prototype would still apply. */
4653
/* The GNU C library defines this for functions which it implements
4654
to always fail with ENOSYS. Some functions are actually named
4655
something starting with __ and the normal name is an alias. */
4656
#if defined __stub_$ac_func || defined __stub___$ac_func
4668
rm -f conftest.$ac_objext conftest$ac_exeext
4669
if { (ac_try="$ac_link"
4671
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4672
*) ac_try_echo=$ac_try;;
4674
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4675
(eval "$ac_link") 2>conftest.er1
4677
grep -v '^ *+' conftest.er1 >conftest.err
4679
cat conftest.err >&5
4680
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681
(exit $ac_status); } && {
4682
test -z "$ac_c_werror_flag" ||
4683
test ! -s conftest.err
4684
} && test -s conftest$ac_exeext &&
4685
$as_test_x conftest$ac_exeext; then
4686
eval "$as_ac_var=yes"
4688
echo "$as_me: failed program was:" >&5
4689
sed 's/^/| /' conftest.$ac_ext >&5
4691
eval "$as_ac_var=no"
4694
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4695
conftest$ac_exeext conftest.$ac_ext
4697
ac_res=`eval echo '${'$as_ac_var'}'`
4698
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4699
echo "${ECHO_T}$ac_res" >&6; }
4700
if test `eval echo '${'$as_ac_var'}'` = yes; then
4701
cat >>confdefs.h <<_ACEOF
4702
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4724
{ echo "$as_me:$LINENO: checking for working mktime" >&5
4725
echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
4726
if test "${ac_cv_func_working_mktime+set}" = set; then
4727
echo $ECHO_N "(cached) $ECHO_C" >&6
4729
if test "$cross_compiling" = yes; then
4730
ac_cv_func_working_mktime=no
4732
cat >conftest.$ac_ext <<_ACEOF
4735
cat confdefs.h >>conftest.$ac_ext
4736
cat >>conftest.$ac_ext <<_ACEOF
4737
/* end confdefs.h. */
4738
/* Test program from Paul Eggert and Tony Leneis. */
4739
#ifdef TIME_WITH_SYS_TIME
4740
# include <sys/time.h>
4743
# ifdef HAVE_SYS_TIME_H
4744
# include <sys/time.h>
4752
#ifdef HAVE_UNISTD_H
4753
# include <unistd.h>
4757
# define alarm(X) /* empty */
4760
/* Work around redefinition to rpl_putenv by other config tests. */
4763
static time_t time_t_max;
4764
static time_t time_t_min;
4766
/* Values we'll use to set the TZ environment variable. */
4767
static char *tz_strings[] = {
4768
(char *) 0, "TZ=GMT0", "TZ=JST-9",
4769
"TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
4771
#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
4773
/* Return 0 if mktime fails to convert a date in the spring-forward gap.
4774
Based on a problem report from Andreas Jaeger. */
4776
spring_forward_gap ()
4778
/* glibc (up to about 1998-10-07) failed this test. */
4781
/* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
4782
instead of "TZ=America/Vancouver" in order to detect the bug even
4783
on systems that don't support the Olson extension, or don't have the
4784
full zoneinfo tables installed. */
4785
putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
4794
return mktime (&tm) != (time_t) -1;
4802
return ! (lt = localtime (&now)) || mktime (lt) == now;
4809
return (mktime_test1 (now)
4810
&& mktime_test1 ((time_t) (time_t_max - now))
4811
&& mktime_test1 ((time_t) (time_t_min + now)));
4817
/* Based on code from Ariel Faigon. */
4827
return tm.tm_mon == 2 && tm.tm_mday == 31;
4836
tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
4838
if (now != (time_t) -1)
4840
struct tm *lt = localtime (&now);
4842
&& lt->tm_year == tm.tm_year
4843
&& lt->tm_mon == tm.tm_mon
4844
&& lt->tm_mday == tm.tm_mday
4845
&& lt->tm_hour == tm.tm_hour
4846
&& lt->tm_min == tm.tm_min
4847
&& lt->tm_sec == tm.tm_sec
4848
&& lt->tm_yday == tm.tm_yday
4849
&& lt->tm_wday == tm.tm_wday
4850
&& ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
4851
== (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
4860
/* The correct answer for 2050-02-01 00:00:00 in Pacific time,
4861
ignoring leap seconds. */
4862
unsigned long int answer = 2527315200UL;
4866
tm.tm_year = 2050 - 1900;
4869
tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
4872
/* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
4873
instead of "TZ=America/Vancouver" in order to detect the bug even
4874
on systems that don't support the Olson extension, or don't have the
4875
full zoneinfo tables installed. */
4876
putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
4880
/* Check that the result is either a failure, or close enough
4881
to the correct answer that we can assume the discrepancy is
4882
due to leap seconds. */
4883
return (t == (time_t) -1
4884
|| (0 < t && answer - 120 <= t && t <= answer + 120));
4893
/* This test makes some buggy mktime implementations loop.
4894
Give up after 60 seconds; a mktime slower than that
4895
isn't worth using anyway. */
4898
for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
4901
if ((time_t) -1 < 0)
4902
for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
4904
delta = time_t_max / 997; /* a suitable prime number */
4905
for (i = 0; i < N_STRINGS; i++)
4908
putenv (tz_strings[i]);
4910
for (t = 0; t <= time_t_max - delta; t += delta)
4911
if (! mktime_test (t))
4913
if (! (mktime_test ((time_t) 1)
4914
&& mktime_test ((time_t) (60 * 60))
4915
&& mktime_test ((time_t) (60 * 60 * 24))))
4918
for (j = 1; 0 < j; j *= 2)
4919
if (! bigtime_test (j))
4921
if (! bigtime_test (j - 1))
4924
return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
4927
rm -f conftest$ac_exeext
4928
if { (ac_try="$ac_link"
4930
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4931
*) ac_try_echo=$ac_try;;
4933
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4934
(eval "$ac_link") 2>&5
4936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4938
{ (case "(($ac_try" in
4939
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4940
*) ac_try_echo=$ac_try;;
4942
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4943
(eval "$ac_try") 2>&5
4945
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946
(exit $ac_status); }; }; then
4947
ac_cv_func_working_mktime=yes
4949
echo "$as_me: program exited with status $ac_status" >&5
4950
echo "$as_me: failed program was:" >&5
4951
sed 's/^/| /' conftest.$ac_ext >&5
4954
ac_cv_func_working_mktime=no
4956
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4961
{ echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
4962
echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
4963
if test $ac_cv_func_working_mktime = no; then
4964
case " $LIBOBJS " in
4965
*" mktime.$ac_objext "* ) ;;
4966
*) LIBOBJS="$LIBOBJS mktime.$ac_objext"
4973
for ac_header in stdlib.h
4975
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4976
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4977
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4978
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4979
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4980
echo $ECHO_N "(cached) $ECHO_C" >&6
4982
ac_res=`eval echo '${'$as_ac_Header'}'`
4983
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4984
echo "${ECHO_T}$ac_res" >&6; }
4986
# Is the header compilable?
4987
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4988
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4989
cat >conftest.$ac_ext <<_ACEOF
4992
cat confdefs.h >>conftest.$ac_ext
4993
cat >>conftest.$ac_ext <<_ACEOF
4994
/* end confdefs.h. */
4995
$ac_includes_default
4996
#include <$ac_header>
4998
rm -f conftest.$ac_objext
4999
if { (ac_try="$ac_compile"
5001
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5002
*) ac_try_echo=$ac_try;;
5004
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5005
(eval "$ac_compile") 2>conftest.er1
5007
grep -v '^ *+' conftest.er1 >conftest.err
5009
cat conftest.err >&5
5010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011
(exit $ac_status); } && {
5012
test -z "$ac_c_werror_flag" ||
5013
test ! -s conftest.err
5014
} && test -s conftest.$ac_objext; then
5015
ac_header_compiler=yes
5017
echo "$as_me: failed program was:" >&5
5018
sed 's/^/| /' conftest.$ac_ext >&5
5020
ac_header_compiler=no
5023
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5024
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5025
echo "${ECHO_T}$ac_header_compiler" >&6; }
5027
# Is the header present?
5028
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5029
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5030
cat >conftest.$ac_ext <<_ACEOF
5033
cat confdefs.h >>conftest.$ac_ext
5034
cat >>conftest.$ac_ext <<_ACEOF
5035
/* end confdefs.h. */
5036
#include <$ac_header>
5038
if { (ac_try="$ac_cpp conftest.$ac_ext"
5040
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5041
*) ac_try_echo=$ac_try;;
5043
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5044
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5046
grep -v '^ *+' conftest.er1 >conftest.err
5048
cat conftest.err >&5
5049
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050
(exit $ac_status); } >/dev/null && {
5051
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5052
test ! -s conftest.err
5054
ac_header_preproc=yes
5056
echo "$as_me: failed program was:" >&5
5057
sed 's/^/| /' conftest.$ac_ext >&5
5059
ac_header_preproc=no
5062
rm -f conftest.err conftest.$ac_ext
5063
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5064
echo "${ECHO_T}$ac_header_preproc" >&6; }
5066
# So? What about this header?
5067
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5069
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5070
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5071
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5072
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5073
ac_header_preproc=yes
5076
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5077
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5078
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5079
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5080
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5081
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5082
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5083
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5084
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5085
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5086
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5087
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5089
## --------------------------------------- ##
5090
## Report this to adeona@cs.washington.edu ##
5091
## --------------------------------------- ##
5093
) | sed "s/^/$as_me: WARNING: /" >&2
5096
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5097
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5098
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5099
echo $ECHO_N "(cached) $ECHO_C" >&6
5101
eval "$as_ac_Header=\$ac_header_preproc"
5103
ac_res=`eval echo '${'$as_ac_Header'}'`
5104
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5105
echo "${ECHO_T}$ac_res" >&6; }
5108
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5109
cat >>confdefs.h <<_ACEOF
5110
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5117
{ echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
5118
echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
5119
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
5120
echo $ECHO_N "(cached) $ECHO_C" >&6
5122
if test "$cross_compiling" = yes; then
5123
ac_cv_func_realloc_0_nonnull=no
5125
cat >conftest.$ac_ext <<_ACEOF
5128
cat confdefs.h >>conftest.$ac_ext
5129
cat >>conftest.$ac_ext <<_ACEOF
5130
/* end confdefs.h. */
5131
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
5132
# include <stdlib.h>
5140
return ! realloc (0, 0);
5145
rm -f conftest$ac_exeext
5146
if { (ac_try="$ac_link"
5148
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5149
*) ac_try_echo=$ac_try;;
5151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5152
(eval "$ac_link") 2>&5
5154
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5156
{ (case "(($ac_try" in
5157
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5158
*) ac_try_echo=$ac_try;;
5160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5161
(eval "$ac_try") 2>&5
5163
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164
(exit $ac_status); }; }; then
5165
ac_cv_func_realloc_0_nonnull=yes
5167
echo "$as_me: program exited with status $ac_status" >&5
5168
echo "$as_me: failed program was:" >&5
5169
sed 's/^/| /' conftest.$ac_ext >&5
5172
ac_cv_func_realloc_0_nonnull=no
5174
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5179
{ echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
5180
echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
5181
if test $ac_cv_func_realloc_0_nonnull = yes; then
5183
cat >>confdefs.h <<\_ACEOF
5184
#define HAVE_REALLOC 1
5188
cat >>confdefs.h <<\_ACEOF
5189
#define HAVE_REALLOC 0
5192
case " $LIBOBJS " in
5193
*" realloc.$ac_objext "* ) ;;
5194
*) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5199
cat >>confdefs.h <<\_ACEOF
5200
#define realloc rpl_realloc
5208
for ac_func in strftime
5210
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5211
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5212
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5213
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5214
echo $ECHO_N "(cached) $ECHO_C" >&6
5216
cat >conftest.$ac_ext <<_ACEOF
5219
cat confdefs.h >>conftest.$ac_ext
5220
cat >>conftest.$ac_ext <<_ACEOF
5221
/* end confdefs.h. */
5222
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5223
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5224
#define $ac_func innocuous_$ac_func
5226
/* System header to define __stub macros and hopefully few prototypes,
5227
which can conflict with char $ac_func (); below.
5228
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5229
<limits.h> exists even on freestanding compilers. */
5232
# include <limits.h>
5234
# include <assert.h>
5239
/* Override any GCC internal prototype to avoid an error.
5240
Use char because int might match the return type of a GCC
5241
builtin and then its argument prototype would still apply. */
5246
/* The GNU C library defines this for functions which it implements
5247
to always fail with ENOSYS. Some functions are actually named
5248
something starting with __ and the normal name is an alias. */
5249
#if defined __stub_$ac_func || defined __stub___$ac_func
5261
rm -f conftest.$ac_objext conftest$ac_exeext
5262
if { (ac_try="$ac_link"
5264
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5265
*) ac_try_echo=$ac_try;;
5267
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5268
(eval "$ac_link") 2>conftest.er1
5270
grep -v '^ *+' conftest.er1 >conftest.err
5272
cat conftest.err >&5
5273
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274
(exit $ac_status); } && {
5275
test -z "$ac_c_werror_flag" ||
5276
test ! -s conftest.err
5277
} && test -s conftest$ac_exeext &&
5278
$as_test_x conftest$ac_exeext; then
5279
eval "$as_ac_var=yes"
5281
echo "$as_me: failed program was:" >&5
5282
sed 's/^/| /' conftest.$ac_ext >&5
5284
eval "$as_ac_var=no"
5287
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5288
conftest$ac_exeext conftest.$ac_ext
5290
ac_res=`eval echo '${'$as_ac_var'}'`
5291
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5292
echo "${ECHO_T}$ac_res" >&6; }
5293
if test `eval echo '${'$as_ac_var'}'` = yes; then
5294
cat >>confdefs.h <<_ACEOF
5295
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5299
# strftime is in -lintl on SCO UNIX.
5300
{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
5301
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
5302
if test "${ac_cv_lib_intl_strftime+set}" = set; then
5303
echo $ECHO_N "(cached) $ECHO_C" >&6
5305
ac_check_lib_save_LIBS=$LIBS
5307
cat >conftest.$ac_ext <<_ACEOF
5310
cat confdefs.h >>conftest.$ac_ext
5311
cat >>conftest.$ac_ext <<_ACEOF
5312
/* end confdefs.h. */
5314
/* Override any GCC internal prototype to avoid an error.
5315
Use char because int might match the return type of a GCC
5316
builtin and then its argument prototype would still apply. */
5329
rm -f conftest.$ac_objext conftest$ac_exeext
5330
if { (ac_try="$ac_link"
5332
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5333
*) ac_try_echo=$ac_try;;
5335
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5336
(eval "$ac_link") 2>conftest.er1
5338
grep -v '^ *+' conftest.er1 >conftest.err
5340
cat conftest.err >&5
5341
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342
(exit $ac_status); } && {
5343
test -z "$ac_c_werror_flag" ||
5344
test ! -s conftest.err
5345
} && test -s conftest$ac_exeext &&
5346
$as_test_x conftest$ac_exeext; then
5347
ac_cv_lib_intl_strftime=yes
5349
echo "$as_me: failed program was:" >&5
5350
sed 's/^/| /' conftest.$ac_ext >&5
5352
ac_cv_lib_intl_strftime=no
5355
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5356
conftest$ac_exeext conftest.$ac_ext
5357
LIBS=$ac_check_lib_save_LIBS
5359
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
5360
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
5361
if test $ac_cv_lib_intl_strftime = yes; then
5362
cat >>confdefs.h <<\_ACEOF
5363
#define HAVE_STRFTIME 1
5373
for ac_func in vprintf
5375
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5376
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5377
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5378
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5379
echo $ECHO_N "(cached) $ECHO_C" >&6
5381
cat >conftest.$ac_ext <<_ACEOF
5384
cat confdefs.h >>conftest.$ac_ext
5385
cat >>conftest.$ac_ext <<_ACEOF
5386
/* end confdefs.h. */
5387
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5388
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5389
#define $ac_func innocuous_$ac_func
5391
/* System header to define __stub macros and hopefully few prototypes,
5392
which can conflict with char $ac_func (); below.
5393
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5394
<limits.h> exists even on freestanding compilers. */
5397
# include <limits.h>
5399
# include <assert.h>
5404
/* Override any GCC internal prototype to avoid an error.
5405
Use char because int might match the return type of a GCC
5406
builtin and then its argument prototype would still apply. */
5411
/* The GNU C library defines this for functions which it implements
5412
to always fail with ENOSYS. Some functions are actually named
5413
something starting with __ and the normal name is an alias. */
5414
#if defined __stub_$ac_func || defined __stub___$ac_func
5426
rm -f conftest.$ac_objext conftest$ac_exeext
5427
if { (ac_try="$ac_link"
5429
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5430
*) ac_try_echo=$ac_try;;
5432
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5433
(eval "$ac_link") 2>conftest.er1
5435
grep -v '^ *+' conftest.er1 >conftest.err
5437
cat conftest.err >&5
5438
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439
(exit $ac_status); } && {
5440
test -z "$ac_c_werror_flag" ||
5441
test ! -s conftest.err
5442
} && test -s conftest$ac_exeext &&
5443
$as_test_x conftest$ac_exeext; then
5444
eval "$as_ac_var=yes"
5446
echo "$as_me: failed program was:" >&5
5447
sed 's/^/| /' conftest.$ac_ext >&5
5449
eval "$as_ac_var=no"
5452
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5453
conftest$ac_exeext conftest.$ac_ext
5455
ac_res=`eval echo '${'$as_ac_var'}'`
5456
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5457
echo "${ECHO_T}$ac_res" >&6; }
5458
if test `eval echo '${'$as_ac_var'}'` = yes; then
5459
cat >>confdefs.h <<_ACEOF
5460
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5463
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
5464
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
5465
if test "${ac_cv_func__doprnt+set}" = set; then
5466
echo $ECHO_N "(cached) $ECHO_C" >&6
5468
cat >conftest.$ac_ext <<_ACEOF
5471
cat confdefs.h >>conftest.$ac_ext
5472
cat >>conftest.$ac_ext <<_ACEOF
5473
/* end confdefs.h. */
5474
/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5475
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5476
#define _doprnt innocuous__doprnt
5478
/* System header to define __stub macros and hopefully few prototypes,
5479
which can conflict with char _doprnt (); below.
5480
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5481
<limits.h> exists even on freestanding compilers. */
5484
# include <limits.h>
5486
# include <assert.h>
5491
/* Override any GCC internal prototype to avoid an error.
5492
Use char because int might match the return type of a GCC
5493
builtin and then its argument prototype would still apply. */
5498
/* The GNU C library defines this for functions which it implements
5499
to always fail with ENOSYS. Some functions are actually named
5500
something starting with __ and the normal name is an alias. */
5501
#if defined __stub__doprnt || defined __stub____doprnt
5513
rm -f conftest.$ac_objext conftest$ac_exeext
5514
if { (ac_try="$ac_link"
5516
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5517
*) ac_try_echo=$ac_try;;
5519
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5520
(eval "$ac_link") 2>conftest.er1
5522
grep -v '^ *+' conftest.er1 >conftest.err
5524
cat conftest.err >&5
5525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526
(exit $ac_status); } && {
5527
test -z "$ac_c_werror_flag" ||
5528
test ! -s conftest.err
5529
} && test -s conftest$ac_exeext &&
5530
$as_test_x conftest$ac_exeext; then
5531
ac_cv_func__doprnt=yes
5533
echo "$as_me: failed program was:" >&5
5534
sed 's/^/| /' conftest.$ac_ext >&5
5536
ac_cv_func__doprnt=no
5539
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5540
conftest$ac_exeext conftest.$ac_ext
5542
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5543
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
5544
if test $ac_cv_func__doprnt = yes; then
5546
cat >>confdefs.h <<\_ACEOF
5547
#define HAVE_DOPRNT 1
5566
for ac_func in socket gethostbyaddr getifaddrs freeifaddrs gethostbyname inet_ntoa memmove memset strspn strstr
5568
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5569
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5570
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5571
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5572
echo $ECHO_N "(cached) $ECHO_C" >&6
5574
cat >conftest.$ac_ext <<_ACEOF
5577
cat confdefs.h >>conftest.$ac_ext
5578
cat >>conftest.$ac_ext <<_ACEOF
5579
/* end confdefs.h. */
5580
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5581
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5582
#define $ac_func innocuous_$ac_func
5584
/* System header to define __stub macros and hopefully few prototypes,
5585
which can conflict with char $ac_func (); below.
5586
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5587
<limits.h> exists even on freestanding compilers. */
5590
# include <limits.h>
5592
# include <assert.h>
5597
/* Override any GCC internal prototype to avoid an error.
5598
Use char because int might match the return type of a GCC
5599
builtin and then its argument prototype would still apply. */
5604
/* The GNU C library defines this for functions which it implements
5605
to always fail with ENOSYS. Some functions are actually named
5606
something starting with __ and the normal name is an alias. */
5607
#if defined __stub_$ac_func || defined __stub___$ac_func
5619
rm -f conftest.$ac_objext conftest$ac_exeext
5620
if { (ac_try="$ac_link"
5622
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5623
*) ac_try_echo=$ac_try;;
5625
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5626
(eval "$ac_link") 2>conftest.er1
5628
grep -v '^ *+' conftest.er1 >conftest.err
5630
cat conftest.err >&5
5631
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632
(exit $ac_status); } && {
5633
test -z "$ac_c_werror_flag" ||
5634
test ! -s conftest.err
5635
} && test -s conftest$ac_exeext &&
5636
$as_test_x conftest$ac_exeext; then
5637
eval "$as_ac_var=yes"
5639
echo "$as_me: failed program was:" >&5
5640
sed 's/^/| /' conftest.$ac_ext >&5
5642
eval "$as_ac_var=no"
5645
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5646
conftest$ac_exeext conftest.$ac_ext
5648
ac_res=`eval echo '${'$as_ac_var'}'`
5649
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5650
echo "${ECHO_T}$ac_res" >&6; }
5651
if test `eval echo '${'$as_ac_var'}'` = yes; then
5652
cat >>confdefs.h <<_ACEOF
5653
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5660
# Check endianness...will define WORDS_BIGENDIAN
5661
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5662
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
5663
if test "${ac_cv_c_bigendian+set}" = set; then
5664
echo $ECHO_N "(cached) $ECHO_C" >&6
5666
# See if sys/param.h defines the BYTE_ORDER macro.
5667
cat >conftest.$ac_ext <<_ACEOF
5670
cat confdefs.h >>conftest.$ac_ext
5671
cat >>conftest.$ac_ext <<_ACEOF
5672
/* end confdefs.h. */
5673
#include <sys/types.h>
5674
#include <sys/param.h>
5679
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
5680
&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
5688
rm -f conftest.$ac_objext
5689
if { (ac_try="$ac_compile"
5691
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5692
*) ac_try_echo=$ac_try;;
5694
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5695
(eval "$ac_compile") 2>conftest.er1
5697
grep -v '^ *+' conftest.er1 >conftest.err
5699
cat conftest.err >&5
5700
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701
(exit $ac_status); } && {
5702
test -z "$ac_c_werror_flag" ||
5703
test ! -s conftest.err
5704
} && test -s conftest.$ac_objext; then
5705
# It does; now see whether it defined to BIG_ENDIAN or not.
5706
cat >conftest.$ac_ext <<_ACEOF
5709
cat confdefs.h >>conftest.$ac_ext
5710
cat >>conftest.$ac_ext <<_ACEOF
5711
/* end confdefs.h. */
5712
#include <sys/types.h>
5713
#include <sys/param.h>
5718
#if BYTE_ORDER != BIG_ENDIAN
5726
rm -f conftest.$ac_objext
5727
if { (ac_try="$ac_compile"
5729
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5730
*) ac_try_echo=$ac_try;;
5732
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5733
(eval "$ac_compile") 2>conftest.er1
5735
grep -v '^ *+' conftest.er1 >conftest.err
5737
cat conftest.err >&5
5738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739
(exit $ac_status); } && {
5740
test -z "$ac_c_werror_flag" ||
5741
test ! -s conftest.err
5742
} && test -s conftest.$ac_objext; then
5743
ac_cv_c_bigendian=yes
5745
echo "$as_me: failed program was:" >&5
5746
sed 's/^/| /' conftest.$ac_ext >&5
5748
ac_cv_c_bigendian=no
5751
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5753
echo "$as_me: failed program was:" >&5
5754
sed 's/^/| /' conftest.$ac_ext >&5
5756
# It does not; compile a test program.
5757
if test "$cross_compiling" = yes; then
5758
# try to guess the endianness by grepping values into an object file
5759
ac_cv_c_bigendian=unknown
5760
cat >conftest.$ac_ext <<_ACEOF
5763
cat confdefs.h >>conftest.$ac_ext
5764
cat >>conftest.$ac_ext <<_ACEOF
5765
/* end confdefs.h. */
5766
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5767
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5768
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5769
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5770
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5771
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5775
_ascii (); _ebcdic ();
5780
rm -f conftest.$ac_objext
5781
if { (ac_try="$ac_compile"
5783
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5784
*) ac_try_echo=$ac_try;;
5786
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5787
(eval "$ac_compile") 2>conftest.er1
5789
grep -v '^ *+' conftest.er1 >conftest.err
5791
cat conftest.err >&5
5792
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793
(exit $ac_status); } && {
5794
test -z "$ac_c_werror_flag" ||
5795
test ! -s conftest.err
5796
} && test -s conftest.$ac_objext; then
5797
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5798
ac_cv_c_bigendian=yes
5800
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5801
if test "$ac_cv_c_bigendian" = unknown; then
5802
ac_cv_c_bigendian=no
5804
# finding both strings is unlikely to happen, but who knows?
5805
ac_cv_c_bigendian=unknown
5809
echo "$as_me: failed program was:" >&5
5810
sed 's/^/| /' conftest.$ac_ext >&5
5815
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5817
cat >conftest.$ac_ext <<_ACEOF
5820
cat confdefs.h >>conftest.$ac_ext
5821
cat >>conftest.$ac_ext <<_ACEOF
5822
/* end confdefs.h. */
5823
$ac_includes_default
5828
/* Are we little or big endian? From Harbison&Steele. */
5832
char c[sizeof (long int)];
5835
return u.c[sizeof (long int) - 1] == 1;
5841
rm -f conftest$ac_exeext
5842
if { (ac_try="$ac_link"
5844
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5845
*) ac_try_echo=$ac_try;;
5847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5848
(eval "$ac_link") 2>&5
5850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5852
{ (case "(($ac_try" in
5853
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5854
*) ac_try_echo=$ac_try;;
5856
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5857
(eval "$ac_try") 2>&5
5859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860
(exit $ac_status); }; }; then
5861
ac_cv_c_bigendian=no
5863
echo "$as_me: program exited with status $ac_status" >&5
5864
echo "$as_me: failed program was:" >&5
5865
sed 's/^/| /' conftest.$ac_ext >&5
5868
ac_cv_c_bigendian=yes
5870
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5876
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5878
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5879
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
5880
case $ac_cv_c_bigendian in
5883
cat >>confdefs.h <<\_ACEOF
5884
#define WORDS_BIGENDIAN 1
5890
{ { echo "$as_me:$LINENO: error: unknown endianness
5891
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5892
echo "$as_me: error: unknown endianness
5893
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5894
{ (exit 1); exit 1; }; } ;;
5898
# Get path to traceroute program
5899
if test `expr \`uname -s\` : CYGWIN` != 6; then
5900
# Extract the first word of "traceroute", so it can be a program name with args.
5901
set dummy traceroute; ac_word=$2
5902
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5903
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5904
if test "${ac_cv_path_prog_traceroute+set}" = set; then
5905
echo $ECHO_N "(cached) $ECHO_C" >&6
5907
case $prog_traceroute in
5909
ac_cv_path_prog_traceroute="$prog_traceroute" # Let the user override the test with a path.
5912
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916
test -z "$as_dir" && as_dir=.
5917
for ac_exec_ext in '' $ac_executable_extensions; do
5918
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5919
ac_cv_path_prog_traceroute="$as_dir/$ac_word$ac_exec_ext"
5920
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5927
test -z "$ac_cv_path_prog_traceroute" && ac_cv_path_prog_traceroute="{ { echo "$as_me:$LINENO: error: Please install the traceroute program" >&5
5928
echo "$as_me: error: Please install the traceroute program" >&2;}
5929
{ (exit 1); exit 1; }; }"
5933
prog_traceroute=$ac_cv_path_prog_traceroute
5934
if test -n "$prog_traceroute"; then
5935
{ echo "$as_me:$LINENO: result: $prog_traceroute" >&5
5936
echo "${ECHO_T}$prog_traceroute" >&6; }
5938
{ echo "$as_me:$LINENO: result: no" >&5
5939
echo "${ECHO_T}no" >&6; }
5944
cat >>confdefs.h <<_ACEOF
5945
#define CFG_PATH_TRACEROUTE "$prog_traceroute"
5950
# Get path to iwlist program
5951
# Extract the first word of "iwconfig", so it can be a program name with args.
5952
set dummy iwconfig; ac_word=$2
5953
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5954
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5955
if test "${ac_cv_path_prog_iwconfig+set}" = set; then
5956
echo $ECHO_N "(cached) $ECHO_C" >&6
5958
case $prog_iwconfig in
5960
ac_cv_path_prog_iwconfig="$prog_iwconfig" # Let the user override the test with a path.
5963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967
test -z "$as_dir" && as_dir=.
5968
for ac_exec_ext in '' $ac_executable_extensions; do
5969
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5970
ac_cv_path_prog_iwconfig="$as_dir/$ac_word$ac_exec_ext"
5971
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5978
test -z "$ac_cv_path_prog_iwconfig" && ac_cv_path_prog_iwconfig="no"
5982
prog_iwconfig=$ac_cv_path_prog_iwconfig
5983
if test -n "$prog_iwconfig"; then
5984
{ echo "$as_me:$LINENO: result: $prog_iwconfig" >&5
5985
echo "${ECHO_T}$prog_iwconfig" >&6; }
5987
{ echo "$as_me:$LINENO: result: no" >&5
5988
echo "${ECHO_T}no" >&6; }
5992
if test "$prog_iwconfig" != "no"; then
5994
cat >>confdefs.h <<_ACEOF
5995
#define CFG_PATH_IWCONFIG "$prog_iwconfig"
5999
cat >>confdefs.h <<_ACEOF
6000
#define HAVE_IWCONFIG 1
6005
cat >confcache <<\_ACEOF
6006
# This file is a shell script that caches the results of configure
6007
# tests run on this system so they can be shared between configure
6008
# scripts and configure runs, see configure's option --config-cache.
6009
# It is not useful on other systems. If it contains results you don't
6010
# want to keep, you may remove or edit it.
6012
# config.status only pays attention to the cache file if you give it
6013
# the --recheck option to rerun configure.
6015
# `ac_cv_env_foo' variables (set or unset) will be overridden when
6016
# loading this file, other *unset* `ac_cv_foo' will be assigned the
6021
# The following way of writing the cache mishandles newlines in values,
6022
# but we know of no workaround that is simple, portable, and efficient.
6023
# So, we kill variables containing newlines.
6024
# Ultrix sh set writes to stderr and can't be redirected directly,
6025
# and sets the high bit in the cache file unless we assign to the vars.
6027
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6028
eval ac_val=\$$ac_var
6032
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6033
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6036
_ | IFS | as_nl) ;; #(
6037
*) $as_unset $ac_var ;;
6043
case $as_nl`(ac_space=' '; set) 2>&1` in #(
6044
*${as_nl}ac_space=\ *)
6045
# `set' does not quote correctly, so add quotes (double-quote
6046
# substitution turns \\\\ into \\, and sed turns \\ into \).
6049
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6052
# `set' quotes correctly as required by POSIX, so do not add quotes.
6053
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6062
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6064
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6066
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6067
if test -w "$cache_file"; then
6068
test "x$cache_file" != "x/dev/null" &&
6069
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
6070
echo "$as_me: updating cache $cache_file" >&6;}
6071
cat confcache >$cache_file
6073
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6074
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6079
test "x$prefix" = xNONE && prefix=$ac_default_prefix
6080
# Let make expand exec_prefix.
6081
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6083
DEFS=-DHAVE_CONFIG_H
6087
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6088
# 1. Remove the extension, and $U if already installed.
6089
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6090
ac_i=`echo "$ac_i" | sed "$ac_script"`
6091
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6092
# will be set to the directory where LIBOBJS objects are built.
6093
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6094
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6098
LTLIBOBJS=$ac_ltlibobjs
6102
: ${CONFIG_STATUS=./config.status}
6103
ac_clean_files_save=$ac_clean_files
6104
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6105
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6106
echo "$as_me: creating $CONFIG_STATUS" >&6;}
6107
cat >$CONFIG_STATUS <<_ACEOF
6109
# Generated by $as_me.
6110
# Run this file to recreate the current configuration.
6111
# Compiler output produced by configure, useful for debugging
6112
# configure, is in config.log if it exists.
6117
SHELL=\${CONFIG_SHELL-$SHELL}
6120
cat >>$CONFIG_STATUS <<\_ACEOF
6121
## --------------------- ##
6122
## M4sh Initialization. ##
6123
## --------------------- ##
6125
# Be more Bourne compatible
6126
DUALCASE=1; export DUALCASE # for MKS sh
6127
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6130
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6131
# is contrary to our usage. Disable this feature.
6132
alias -g '${1+"$@"}'='"$@"'
6133
setopt NO_GLOB_SUBST
6135
case `(set -o) 2>/dev/null` in
6136
*posix*) set -o posix ;;
6145
# Avoid depending upon Character Ranges.
6146
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6147
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6148
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6149
as_cr_digits='0123456789'
6150
as_cr_alnum=$as_cr_Letters$as_cr_digits
6152
# The user is always right.
6153
if test "${PATH_SEPARATOR+set}" != set; then
6154
echo "#! /bin/sh" >conf$$.sh
6155
echo "exit 0" >>conf$$.sh
6157
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6165
# Support unset when possible.
6166
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6174
# We need space, tab and new line, in precisely that order. Quoting is
6175
# there to prevent editors from complaining about space-tab.
6176
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6177
# splitting by setting IFS to empty value.)
6182
# Find who we are. Look in the path if we contain no directory separator.
6184
*[\\/]* ) as_myself=$0 ;;
6185
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6189
test -z "$as_dir" && as_dir=.
6190
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6196
# We did not find ourselves, most probably we were run as `sh COMMAND'
6197
# in which case we are not to be found in the path.
6198
if test "x$as_myself" = x; then
6201
if test ! -f "$as_myself"; then
6202
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6203
{ (exit 1); exit 1; }
6206
# Work around bugs in pre-3.0 UWIN ksh.
6207
for as_var in ENV MAIL MAILPATH
6208
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6216
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6217
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6218
LC_TELEPHONE LC_TIME
6220
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6221
eval $as_var=C; export $as_var
6223
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6227
# Required to use basename.
6228
if expr a : '\(a\)' >/dev/null 2>&1 &&
6229
test "X`expr 00001 : '.*\(...\)'`" = X001; then
6235
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6236
as_basename=basename
6242
# Name of the executable.
6243
as_me=`$as_basename -- "$0" ||
6244
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6245
X"$0" : 'X\(//\)$' \| \
6246
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6248
sed '/^.*\/\([^/][^/]*\)\/*$/{
6269
test "x$as_lineno_1" != "x$as_lineno_2" &&
6270
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6272
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6273
# uniformly replaced by the line number. The first 'sed' inserts a
6274
# line-number line after each line using $LINENO; the second 'sed'
6275
# does the real work. The second script uses 'N' to pair each
6276
# line-number line with the line containing $LINENO, and appends
6277
# trailing '-' during substitution so that $LINENO is not a special
6279
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6280
# scripts with optimization help from Paolo Bonzini. Blame Lee
6281
# E. McMahon (1931-1989) for sed's syntax. :-)
6293
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6297
chmod +x "$as_me.lineno" ||
6298
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6299
{ (exit 1); exit 1; }; }
6301
# Don't try to exec as it changes $[0], causing all sort of problems
6302
# (the dirname of $[0] is not the place where we might find the
6303
# original and so on. Autoconf is especially sensitive to this).
6305
# Exit status is that of the last command.
6310
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6316
ECHO_C= ECHO_N= ECHO_T=
6319
case `echo 'x\c'` in
6320
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
6327
if expr a : '\(a\)' >/dev/null 2>&1 &&
6328
test "X`expr 00001 : '.*\(...\)'`" = X001; then
6334
rm -f conf$$ conf$$.exe conf$$.file
6335
if test -d conf$$.dir; then
6336
rm -f conf$$.dir/conf$$.file
6342
if ln -s conf$$.file conf$$ 2>/dev/null; then
6344
# ... but there are two gotchas:
6345
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6346
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6347
# In both cases, we have to default to `cp -p'.
6348
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6350
elif ln conf$$.file conf$$ 2>/dev/null; then
6355
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6356
rmdir conf$$.dir 2>/dev/null
6358
if mkdir -p . 2>/dev/null; then
6361
test -d ./-p && rmdir ./-p
6365
if test -x / >/dev/null 2>&1; then
6368
if ls -dL / >/dev/null 2>&1; then
6375
if test -d "$1"; then
6381
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6382
???[sx]*):;;*)false;;esac;fi
6386
as_executable_p=$as_test_x
6388
# Sed expression to map a string onto a valid CPP name.
6389
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6391
# Sed expression to map a string onto a valid variable name.
6392
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6397
# Save the log message, to keep $[0] and so on meaningful, and to
6398
# report actual input values of CONFIG_FILES etc. instead of their
6399
# values after options handling.
6401
This file was extended by ADEONA $as_me 0.2, which was
6402
generated by GNU Autoconf 2.61. Invocation command line was
6404
CONFIG_FILES = $CONFIG_FILES
6405
CONFIG_HEADERS = $CONFIG_HEADERS
6406
CONFIG_LINKS = $CONFIG_LINKS
6407
CONFIG_COMMANDS = $CONFIG_COMMANDS
6410
on `(hostname || uname -n) 2>/dev/null | sed 1q`
6415
cat >>$CONFIG_STATUS <<_ACEOF
6416
# Files that config.status was made for.
6417
config_headers="$ac_config_headers"
6421
cat >>$CONFIG_STATUS <<\_ACEOF
6423
\`$as_me' instantiates files from templates according to the
6424
current configuration.
6426
Usage: $0 [OPTIONS] [FILE]...
6428
-h, --help print this help, then exit
6429
-V, --version print version number and configuration settings, then exit
6430
-q, --quiet do not print progress messages
6431
-d, --debug don't remove temporary files
6432
--recheck update $as_me by reconfiguring in the same conditions
6433
--header=FILE[:TEMPLATE]
6434
instantiate the configuration header FILE
6436
Configuration headers:
6439
Report bugs to <bug-autoconf@gnu.org>."
6442
cat >>$CONFIG_STATUS <<_ACEOF
6444
ADEONA config.status 0.2
6445
configured by $0, generated by GNU Autoconf 2.61,
6446
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6448
Copyright (C) 2006 Free Software Foundation, Inc.
6449
This config.status script is free software; the Free Software Foundation
6450
gives unlimited permission to copy, distribute and modify it."
6456
cat >>$CONFIG_STATUS <<\_ACEOF
6457
# If no file are specified by the user, then we need to provide default
6458
# value. By we need to know if files were specified by the user.
6464
ac_option=`expr "X$1" : 'X\([^=]*\)='`
6465
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6476
# Handling of the options.
6477
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6479
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6480
echo "$ac_cs_version"; exit ;;
6481
--debug | --debu | --deb | --de | --d | -d )
6483
--header | --heade | --head | --hea )
6485
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6486
ac_need_defaults=false;;
6488
# Conflict between --help and --header
6489
{ echo "$as_me: error: ambiguous option: $1
6490
Try \`$0 --help' for more information." >&2
6491
{ (exit 1); exit 1; }; };;
6492
--help | --hel | -h )
6493
echo "$ac_cs_usage"; exit ;;
6494
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
6495
| -silent | --silent | --silen | --sile | --sil | --si | --s)
6499
-*) { echo "$as_me: error: unrecognized option: $1
6500
Try \`$0 --help' for more information." >&2
6501
{ (exit 1); exit 1; }; } ;;
6503
*) ac_config_targets="$ac_config_targets $1"
6504
ac_need_defaults=false ;;
6510
ac_configure_extra_args=
6512
if $ac_cs_silent; then
6514
ac_configure_extra_args="$ac_configure_extra_args --silent"
6518
cat >>$CONFIG_STATUS <<_ACEOF
6519
if \$ac_cs_recheck; then
6520
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6523
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6527
cat >>$CONFIG_STATUS <<\_ACEOF
6531
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6532
## Running $as_me. ##
6538
cat >>$CONFIG_STATUS <<_ACEOF
6541
cat >>$CONFIG_STATUS <<\_ACEOF
6543
# Handling of arguments.
6544
for ac_config_target in $ac_config_targets
6546
case $ac_config_target in
6547
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6549
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6550
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6551
{ (exit 1); exit 1; }; };;
6556
# If the user did not use the arguments to specify the items to instantiate,
6557
# then the envvar interface is used. Set only those that are not.
6558
# We use the long form for the default assignment because of an extremely
6559
# bizarre bug on SunOS 4.1.3.
6560
if $ac_need_defaults; then
6561
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6564
# Have a temporary directory for convenience. Make it in the build tree
6565
# simply because there is no reason against having it here, and in addition,
6566
# creating and moving files from /tmp can sometimes cause problems.
6567
# Hook for its removal unless debugging.
6568
# Note that there is a small window in which the directory will not be cleaned:
6569
# after its creation but before its name has been assigned to `$tmp'.
6573
trap 'exit_status=$?
6574
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6576
trap '{ (exit 1); exit 1; }' 1 2 13 15
6578
# Create a (secure) tmp directory for tmp files.
6581
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6582
test -n "$tmp" && test -d "$tmp"
6585
tmp=./conf$$-$RANDOM
6586
(umask 077 && mkdir "$tmp")
6589
echo "$me: cannot create a temporary directory in ." >&2
6590
{ (exit 1); exit 1; }
6594
for ac_tag in :H $CONFIG_HEADERS
6597
:[FHLC]) ac_mode=$ac_tag; continue;;
6599
case $ac_mode$ac_tag in
6601
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6602
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6603
{ (exit 1); exit 1; }; };;
6604
:[FH]-) ac_tag=-:-;;
6605
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6622
-) ac_f="$tmp/stdin";;
6623
*) # Look for the file first in the build tree, then in the source tree
6624
# (if the path is not absolute). The absolute path cannot be DOS-style,
6625
# because $ac_f cannot contain `:'.
6629
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6631
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6632
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6633
{ (exit 1); exit 1; }; };;
6635
ac_file_inputs="$ac_file_inputs $ac_f"
6638
# Let's still pretend it is `configure' which instantiates (i.e., don't
6639
# use $as_me), people would be surprised to read:
6640
# /* config.h. Generated by config.status. */
6641
configure_input="Generated from "`IFS=:
6642
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6643
if test x"$ac_file" != x-; then
6644
configure_input="$ac_file. $configure_input"
6645
{ echo "$as_me:$LINENO: creating $ac_file" >&5
6646
echo "$as_me: creating $ac_file" >&6;}
6650
*:-:* | *:-) cat >"$tmp/stdin";;
6655
ac_dir=`$as_dirname -- "$ac_file" ||
6656
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6657
X"$ac_file" : 'X\(//\)[^/]' \| \
6658
X"$ac_file" : 'X\(//\)$' \| \
6659
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6661
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6680
-*) as_dir=./$as_dir;;
6682
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6686
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6687
*) as_qdir=$as_dir;;
6689
as_dirs="'$as_qdir' $as_dirs"
6690
as_dir=`$as_dirname -- "$as_dir" ||
6691
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6692
X"$as_dir" : 'X\(//\)[^/]' \| \
6693
X"$as_dir" : 'X\(//\)$' \| \
6694
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6696
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6713
test -d "$as_dir" && break
6715
test -z "$as_dirs" || eval "mkdir $as_dirs"
6716
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6717
echo "$as_me: error: cannot create directory $as_dir" >&2;}
6718
{ (exit 1); exit 1; }; }; }
6722
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6724
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6725
# A ".." for each directory in $ac_dir_suffix.
6726
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6727
case $ac_top_builddir_sub in
6728
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6729
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6732
ac_abs_top_builddir=$ac_pwd
6733
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6734
# for backward compatibility:
6735
ac_top_builddir=$ac_top_build_prefix
6738
.) # We are building in place.
6740
ac_top_srcdir=$ac_top_builddir_sub
6741
ac_abs_top_srcdir=$ac_pwd ;;
6742
[\\/]* | ?:[\\/]* ) # Absolute name.
6743
ac_srcdir=$srcdir$ac_dir_suffix;
6744
ac_top_srcdir=$srcdir
6745
ac_abs_top_srcdir=$srcdir ;;
6747
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6748
ac_top_srcdir=$ac_top_build_prefix$srcdir
6749
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6751
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6762
# Transform confdefs.h into a sed script `conftest.defines', that
6763
# substitutes the proper values into config.h.in to produce config.h.
6764
rm -f conftest.defines conftest.tail
6765
# First, append a space to every undef/define line, to ease matching.
6766
echo 's/$/ /' >conftest.defines
6767
# Then, protect against being on the right side of a sed subst, or in
6768
# an unquoted here document, in config.status. If some macros were
6769
# called several times there might be several #defines for the same
6770
# symbol, which is useless. But do not sort them, since the last
6771
# AC_DEFINE must be honored.
6772
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6773
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6774
# NAME is the cpp macro being defined, VALUE is the value it is being given.
6775
# PARAMS is the parameter list in the macro definition--in most cases, it's
6776
# just an empty string.
6777
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6778
ac_dB='\\)[ (].*,\\1define\\2'
6786
s/^[ ]*#[ ]*define[ ][ ]*//
6791
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6792
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6793
' >>conftest.defines
6795
# Remove the space that was appended to ease matching.
6796
# Then replace #undef with comments. This is necessary, for
6797
# example, in the case of _POSIX_SOURCE, which is predefined and required
6798
# on some systems where configure will not decide to define it.
6799
# (The regexp can be short, since the line contains either #define or #undef.)
6801
s,^[ #]*u.*,/* & */,' >>conftest.defines
6803
# Break up conftest.defines:
6806
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6807
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6808
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6810
ac_in='$ac_file_inputs'
6811
ac_out='"$tmp/out1"'
6812
ac_nxt='"$tmp/out2"'
6816
# Write a here document:
6817
cat >>$CONFIG_STATUS <<_ACEOF
6818
# First, check the format of the line:
6819
cat >"\$tmp/defines.sed" <<\\CEOF
6820
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6821
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6825
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6827
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6828
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6829
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6830
grep . conftest.tail >/dev/null || break
6831
rm -f conftest.defines
6832
mv conftest.tail conftest.defines
6834
rm -f conftest.defines conftest.tail
6836
echo "ac_result=$ac_in" >>$CONFIG_STATUS
6837
cat >>$CONFIG_STATUS <<\_ACEOF
6838
if test x"$ac_file" != x-; then
6839
echo "/* $configure_input */" >"$tmp/config.h"
6840
cat "$ac_result" >>"$tmp/config.h"
6841
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6842
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6843
echo "$as_me: $ac_file is unchanged" >&6;}
6846
mv "$tmp/config.h" $ac_file
6849
echo "/* $configure_input */"
6861
{ (exit 0); exit 0; }
6863
chmod +x $CONFIG_STATUS
6864
ac_clean_files=$ac_clean_files_save
6867
# configure is writing to config.log, and then calls config.status.
6868
# config.status does its own redirection, appending to config.log.
6869
# Unfortunately, on DOS this fails, as config.log is still kept open
6870
# by configure, so config.status won't be able to write to it; its
6871
# output is simply discarded. So we exec the FD to /dev/null,
6872
# effectively closing config.log, so it can be properly (re)opened and
6873
# appended to by config.status. When coming back to configure, we
6874
# need to make the FD available again.
6875
if test "$no_create" != yes; then
6877
ac_config_status_args=
6878
test "$silent" = yes &&
6879
ac_config_status_args="$ac_config_status_args --quiet"
6881
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6883
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6884
# would make configure fail if this is the last instruction.
6885
$ac_cs_success || { (exit 1); exit 1; }