2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for procServ Process Server 2.5.0.
5
# Report bugs to <tech-talk@aps.anl.gov>.
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='procServ Process Server'
576
PACKAGE_TARNAME='procServ'
577
PACKAGE_VERSION='2.5.0'
578
PACKAGE_STRING='procServ Process Server 2.5.0'
579
PACKAGE_BUGREPORT='tech-talk@aps.anl.gov'
581
ac_unique_file="connectionItem.cc"
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>
627
program_transform_name
670
INSTALL_STRIP_PROGRAM
718
ac_precious_vars='build_alias
732
# Initialize some variables set by options.
734
ac_init_version=false
735
# The variables have the same names as the options, with
736
# dashes changed to underlines.
744
program_transform_name=s,x,x,
752
# Installation directory options.
753
# These are left unexpanded so users can "make install exec_prefix=/foo"
754
# and all the variables that are supposed to be based on exec_prefix
755
# by default will actually change.
756
# Use braces instead of parens because sh, perl, etc. also accept them.
757
# (The list follows the same order as the GNU Coding Standards.)
758
bindir='${exec_prefix}/bin'
759
sbindir='${exec_prefix}/sbin'
760
libexecdir='${exec_prefix}/libexec'
761
datarootdir='${prefix}/share'
762
datadir='${datarootdir}'
763
sysconfdir='${prefix}/etc'
764
sharedstatedir='${prefix}/com'
765
localstatedir='${prefix}/var'
766
includedir='${prefix}/include'
767
oldincludedir='/usr/include'
768
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
769
infodir='${datarootdir}/info'
774
libdir='${exec_prefix}/lib'
775
localedir='${datarootdir}/locale'
776
mandir='${datarootdir}/man'
782
# If the previous option needs an argument, assign it.
783
if test -n "$ac_prev"; then
784
eval $ac_prev=\$ac_option
790
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
794
# Accept the important Cygnus configure options, so we can diagnose typos.
796
case $ac_dashdash$ac_option in
800
-bindir | --bindir | --bindi | --bind | --bin | --bi)
802
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
805
-build | --build | --buil | --bui | --bu)
806
ac_prev=build_alias ;;
807
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
808
build_alias=$ac_optarg ;;
810
-cache-file | --cache-file | --cache-fil | --cache-fi \
811
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
812
ac_prev=cache_file ;;
813
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
814
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
815
cache_file=$ac_optarg ;;
818
cache_file=config.cache ;;
820
-datadir | --datadir | --datadi | --datad)
822
-datadir=* | --datadir=* | --datadi=* | --datad=*)
823
datadir=$ac_optarg ;;
825
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
826
| --dataroo | --dataro | --datar)
827
ac_prev=datarootdir ;;
828
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
829
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
830
datarootdir=$ac_optarg ;;
832
-disable-* | --disable-*)
833
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
834
# Reject names that are not valid shell variable names.
835
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
836
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
837
{ (exit 1); exit 1; }; }
838
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
839
eval enable_$ac_feature=no ;;
841
-docdir | --docdir | --docdi | --doc | --do)
843
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
846
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
848
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
851
-enable-* | --enable-*)
852
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
853
# Reject names that are not valid shell variable names.
854
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
855
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
856
{ (exit 1); exit 1; }; }
857
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
858
eval enable_$ac_feature=\$ac_optarg ;;
860
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
861
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
862
| --exec | --exe | --ex)
863
ac_prev=exec_prefix ;;
864
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
865
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
866
| --exec=* | --exe=* | --ex=*)
867
exec_prefix=$ac_optarg ;;
869
-gas | --gas | --ga | --g)
870
# Obsolete; use --with-gas.
873
-help | --help | --hel | --he | -h)
875
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
876
ac_init_help=recursive ;;
877
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
878
ac_init_help=short ;;
880
-host | --host | --hos | --ho)
881
ac_prev=host_alias ;;
882
-host=* | --host=* | --hos=* | --ho=*)
883
host_alias=$ac_optarg ;;
885
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
887
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
889
htmldir=$ac_optarg ;;
891
-includedir | --includedir | --includedi | --included | --include \
892
| --includ | --inclu | --incl | --inc)
893
ac_prev=includedir ;;
894
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
895
| --includ=* | --inclu=* | --incl=* | --inc=*)
896
includedir=$ac_optarg ;;
898
-infodir | --infodir | --infodi | --infod | --info | --inf)
900
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
901
infodir=$ac_optarg ;;
903
-libdir | --libdir | --libdi | --libd)
905
-libdir=* | --libdir=* | --libdi=* | --libd=*)
908
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
909
| --libexe | --libex | --libe)
910
ac_prev=libexecdir ;;
911
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
912
| --libexe=* | --libex=* | --libe=*)
913
libexecdir=$ac_optarg ;;
915
-localedir | --localedir | --localedi | --localed | --locale)
917
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
918
localedir=$ac_optarg ;;
920
-localstatedir | --localstatedir | --localstatedi | --localstated \
921
| --localstate | --localstat | --localsta | --localst | --locals)
922
ac_prev=localstatedir ;;
923
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
924
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
925
localstatedir=$ac_optarg ;;
927
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
929
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
933
# Obsolete; use --without-fp.
936
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
937
| --no-cr | --no-c | -n)
940
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
941
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
944
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
945
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
946
| --oldin | --oldi | --old | --ol | --o)
947
ac_prev=oldincludedir ;;
948
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
949
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
950
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
951
oldincludedir=$ac_optarg ;;
953
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
955
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
958
-program-prefix | --program-prefix | --program-prefi | --program-pref \
959
| --program-pre | --program-pr | --program-p)
960
ac_prev=program_prefix ;;
961
-program-prefix=* | --program-prefix=* | --program-prefi=* \
962
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
963
program_prefix=$ac_optarg ;;
965
-program-suffix | --program-suffix | --program-suffi | --program-suff \
966
| --program-suf | --program-su | --program-s)
967
ac_prev=program_suffix ;;
968
-program-suffix=* | --program-suffix=* | --program-suffi=* \
969
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
970
program_suffix=$ac_optarg ;;
972
-program-transform-name | --program-transform-name \
973
| --program-transform-nam | --program-transform-na \
974
| --program-transform-n | --program-transform- \
975
| --program-transform | --program-transfor \
976
| --program-transfo | --program-transf \
977
| --program-trans | --program-tran \
978
| --progr-tra | --program-tr | --program-t)
979
ac_prev=program_transform_name ;;
980
-program-transform-name=* | --program-transform-name=* \
981
| --program-transform-nam=* | --program-transform-na=* \
982
| --program-transform-n=* | --program-transform-=* \
983
| --program-transform=* | --program-transfor=* \
984
| --program-transfo=* | --program-transf=* \
985
| --program-trans=* | --program-tran=* \
986
| --progr-tra=* | --program-tr=* | --program-t=*)
987
program_transform_name=$ac_optarg ;;
989
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
991
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
994
-psdir | --psdir | --psdi | --psd | --ps)
996
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
999
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1000
| -silent | --silent | --silen | --sile | --sil)
1003
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1005
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1007
sbindir=$ac_optarg ;;
1009
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1010
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1011
| --sharedst | --shareds | --shared | --share | --shar \
1013
ac_prev=sharedstatedir ;;
1014
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1015
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1016
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1018
sharedstatedir=$ac_optarg ;;
1020
-site | --site | --sit)
1022
-site=* | --site=* | --sit=*)
1025
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1027
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1028
srcdir=$ac_optarg ;;
1030
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1031
| --syscon | --sysco | --sysc | --sys | --sy)
1032
ac_prev=sysconfdir ;;
1033
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1034
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1035
sysconfdir=$ac_optarg ;;
1037
-target | --target | --targe | --targ | --tar | --ta | --t)
1038
ac_prev=target_alias ;;
1039
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1040
target_alias=$ac_optarg ;;
1042
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1045
-version | --version | --versio | --versi | --vers | -V)
1046
ac_init_version=: ;;
1049
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1050
# Reject names that are not valid shell variable names.
1051
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1052
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1053
{ (exit 1); exit 1; }; }
1054
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1055
eval with_$ac_package=\$ac_optarg ;;
1057
-without-* | --without-*)
1058
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1059
# Reject names that are not valid shell variable names.
1060
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1061
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1062
{ (exit 1); exit 1; }; }
1063
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1064
eval with_$ac_package=no ;;
1067
# Obsolete; use --with-x.
1070
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1071
| --x-incl | --x-inc | --x-in | --x-i)
1072
ac_prev=x_includes ;;
1073
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1074
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1075
x_includes=$ac_optarg ;;
1077
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1078
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1079
ac_prev=x_libraries ;;
1080
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1081
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1082
x_libraries=$ac_optarg ;;
1084
-*) { echo "$as_me: error: unrecognized option: $ac_option
1085
Try \`$0 --help' for more information." >&2
1086
{ (exit 1); exit 1; }; }
1090
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1091
# Reject names that are not valid shell variable names.
1092
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1093
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1094
{ (exit 1); exit 1; }; }
1095
eval $ac_envvar=\$ac_optarg
1096
export $ac_envvar ;;
1099
# FIXME: should be removed in autoconf 3.0.
1100
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1103
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1109
if test -n "$ac_prev"; then
1110
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1111
{ echo "$as_me: error: missing argument to $ac_option" >&2
1112
{ (exit 1); exit 1; }; }
1115
# Be sure to have absolute directory names.
1116
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1117
datadir sysconfdir sharedstatedir localstatedir includedir \
1118
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1119
libdir localedir mandir
1121
eval ac_val=\$$ac_var
1123
[\\/$]* | ?:[\\/]* ) continue;;
1124
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1126
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1127
{ (exit 1); exit 1; }; }
1130
# There might be people who depend on the old broken behavior: `$host'
1131
# used to hold the argument of --host etc.
1132
# FIXME: To remove some day.
1135
target=$target_alias
1137
# FIXME: To remove some day.
1138
if test "x$host_alias" != x; then
1139
if test "x$build_alias" = x; then
1140
cross_compiling=maybe
1141
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1142
If a cross compiler is detected then cross compile mode will be used." >&2
1143
elif test "x$build_alias" != "x$host_alias"; then
1149
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1151
test "$silent" = yes && exec 6>/dev/null
1154
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1155
ac_ls_di=`ls -di .` &&
1156
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1157
{ echo "$as_me: error: Working directory cannot be determined" >&2
1158
{ (exit 1); exit 1; }; }
1159
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1160
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1161
{ (exit 1); exit 1; }; }
1164
# Find the source files, if location was not specified.
1165
if test -z "$srcdir"; then
1166
ac_srcdir_defaulted=yes
1167
# Try the directory containing this script, then the parent directory.
1168
ac_confdir=`$as_dirname -- "$0" ||
1169
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1170
X"$0" : 'X\(//\)[^/]' \| \
1171
X"$0" : 'X\(//\)$' \| \
1172
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1174
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1192
if test ! -r "$srcdir/$ac_unique_file"; then
1196
ac_srcdir_defaulted=no
1198
if test ! -r "$srcdir/$ac_unique_file"; then
1199
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1200
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1201
{ (exit 1); exit 1; }; }
1203
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1205
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1206
{ (exit 1); exit 1; }; }
1208
# When building in place, set srcdir=.
1209
if test "$ac_abs_confdir" = "$ac_pwd"; then
1212
# Remove unnecessary trailing slashes from srcdir.
1213
# Double slashes in file names in object file debugging info
1214
# mess up M-x gdb in Emacs.
1216
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1218
for ac_var in $ac_precious_vars; do
1219
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1220
eval ac_env_${ac_var}_value=\$${ac_var}
1221
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1222
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1226
# Report the --help message.
1228
if test "$ac_init_help" = "long"; then
1229
# Omit some internal or obsolete options to make the list less imposing.
1230
# This message is too long to be a string in the A/UX 3.1 sh.
1232
\`configure' configures procServ Process Server 2.5.0 to adapt to many kinds of systems.
1234
Usage: $0 [OPTION]... [VAR=VALUE]...
1236
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1237
VAR=VALUE. See below for descriptions of some of the useful variables.
1239
Defaults for the options are specified in brackets.
1242
-h, --help display this help and exit
1243
--help=short display options specific to this package
1244
--help=recursive display the short help of all the included packages
1245
-V, --version display version information and exit
1246
-q, --quiet, --silent do not print \`checking...' messages
1247
--cache-file=FILE cache test results in FILE [disabled]
1248
-C, --config-cache alias for \`--cache-file=config.cache'
1249
-n, --no-create do not create output files
1250
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1252
Installation directories:
1253
--prefix=PREFIX install architecture-independent files in PREFIX
1254
[$ac_default_prefix]
1255
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1258
By default, \`make install' will install all the files in
1259
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1260
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1261
for instance \`--prefix=\$HOME'.
1263
For better control, use the options below.
1265
Fine tuning of the installation directories:
1266
--bindir=DIR user executables [EPREFIX/bin]
1267
--sbindir=DIR system admin executables [EPREFIX/sbin]
1268
--libexecdir=DIR program executables [EPREFIX/libexec]
1269
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1270
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1271
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1272
--libdir=DIR object code libraries [EPREFIX/lib]
1273
--includedir=DIR C header files [PREFIX/include]
1274
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1275
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1276
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1277
--infodir=DIR info documentation [DATAROOTDIR/info]
1278
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1279
--mandir=DIR man documentation [DATAROOTDIR/man]
1280
--docdir=DIR documentation root [DATAROOTDIR/doc/procServ]
1281
--htmldir=DIR html documentation [DOCDIR]
1282
--dvidir=DIR dvi documentation [DOCDIR]
1283
--pdfdir=DIR pdf documentation [DOCDIR]
1284
--psdir=DIR ps documentation [DOCDIR]
1290
--program-prefix=PREFIX prepend PREFIX to installed program names
1291
--program-suffix=SUFFIX append SUFFIX to installed program names
1292
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1296
if test -n "$ac_init_help"; then
1297
case $ac_init_help in
1298
short | recursive ) echo "Configuration of procServ Process Server 2.5.0:";;
1303
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1304
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1305
--disable-dependency-tracking speeds up one-time build
1306
--enable-dependency-tracking do not reject slow dependency extractors
1307
--enable-access-from-anywhere
1308
allow unauthenticated access from anywhere (CAVEAT:
1309
opens a security hole!!)
1310
--enable-devel Control build type: debug (enable), release
1311
(disable), default (none)
1312
--disable-doc Do not install documentation
1313
--enable-doc Build (and install) documentation
1316
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1317
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1318
--with-epics-top=TOP create Makefile for EPICS build system: relative
1321
Some influential environment variables:
1322
CXX C++ compiler command
1323
CXXFLAGS C++ compiler flags
1324
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1325
nonstandard directory <lib dir>
1326
LIBS libraries to pass to the linker, e.g. -l<library>
1327
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1328
you have headers in a nonstandard directory <include dir>
1329
CC C compiler command
1330
CFLAGS C compiler flags
1333
Use these variables to override the choices made by `configure' or to help
1334
it to find libraries and programs with nonstandard names/locations.
1336
Report bugs to <tech-talk@aps.anl.gov>.
1341
if test "$ac_init_help" = "recursive"; then
1342
# If there are subdirs, report their specific --help.
1343
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1344
test -d "$ac_dir" || continue
1348
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1350
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1351
# A ".." for each directory in $ac_dir_suffix.
1352
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1353
case $ac_top_builddir_sub in
1354
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1355
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1358
ac_abs_top_builddir=$ac_pwd
1359
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1360
# for backward compatibility:
1361
ac_top_builddir=$ac_top_build_prefix
1364
.) # We are building in place.
1366
ac_top_srcdir=$ac_top_builddir_sub
1367
ac_abs_top_srcdir=$ac_pwd ;;
1368
[\\/]* | ?:[\\/]* ) # Absolute name.
1369
ac_srcdir=$srcdir$ac_dir_suffix;
1370
ac_top_srcdir=$srcdir
1371
ac_abs_top_srcdir=$srcdir ;;
1373
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1374
ac_top_srcdir=$ac_top_build_prefix$srcdir
1375
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1377
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1379
cd "$ac_dir" || { ac_status=$?; continue; }
1380
# Check for guested configure.
1381
if test -f "$ac_srcdir/configure.gnu"; then
1383
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1384
elif test -f "$ac_srcdir/configure"; then
1386
$SHELL "$ac_srcdir/configure" --help=recursive
1388
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1390
cd "$ac_pwd" || { ac_status=$?; break; }
1394
test -n "$ac_init_help" && exit $ac_status
1395
if $ac_init_version; then
1397
procServ Process Server configure 2.5.0
1398
generated by GNU Autoconf 2.61
1400
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1401
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1402
This configure script is free software; the Free Software Foundation
1403
gives unlimited permission to copy, distribute and modify it.
1407
cat >config.log <<_ACEOF
1408
This file contains any messages produced by compilers while
1409
running configure, to aid debugging if configure makes a mistake.
1411
It was created by procServ Process Server $as_me 2.5.0, which was
1412
generated by GNU Autoconf 2.61. Invocation command line was
1424
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1425
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1426
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1427
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1428
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1430
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1431
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1433
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1434
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1435
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1436
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1437
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1438
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1439
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1443
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1447
test -z "$as_dir" && as_dir=.
1448
echo "PATH: $as_dir"
1464
# Keep a trace of the command line.
1465
# Strip out --no-create and --no-recursion so they do not pile up.
1466
# Strip out --silent because we don't want to record it for future runs.
1467
# Also quote any args containing shell meta-characters.
1468
# Make two passes to allow for proper duplicate-argument suppression.
1472
ac_must_keep_next=false
1478
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1479
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1480
| -silent | --silent | --silen | --sile | --sil)
1483
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1486
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1488
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1489
if test $ac_must_keep_next = true; then
1490
ac_must_keep_next=false # Got value, back to normal.
1493
*=* | --config-cache | -C | -disable-* | --disable-* \
1494
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1495
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1496
| -with-* | --with-* | -without-* | --without-* | --x)
1497
case "$ac_configure_args0 " in
1498
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1501
-* ) ac_must_keep_next=true ;;
1504
ac_configure_args="$ac_configure_args '$ac_arg'"
1509
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1510
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1512
# When interrupted or exit'd, cleanup temporary files, and complete
1513
# config.log. We remove comments because anyway the quotes in there
1514
# would cause problems or look ugly.
1515
# WARNING: Use '\'' to represent an apostrophe within the trap.
1516
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1517
trap 'exit_status=$?
1518
# Save into config.log some information that might help in debugging.
1523
## ---------------- ##
1524
## Cache variables. ##
1525
## ---------------- ##
1528
# The following way of writing the cache mishandles newlines in values,
1530
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1531
eval ac_val=\$$ac_var
1535
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1536
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1539
_ | IFS | as_nl) ;; #(
1540
*) $as_unset $ac_var ;;
1545
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1546
*${as_nl}ac_space=\ *)
1548
"s/'\''/'\''\\\\'\'''\''/g;
1549
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1552
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1560
## ----------------- ##
1561
## Output variables. ##
1562
## ----------------- ##
1565
for ac_var in $ac_subst_vars
1567
eval ac_val=\$$ac_var
1569
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1571
echo "$ac_var='\''$ac_val'\''"
1575
if test -n "$ac_subst_files"; then
1577
## ------------------- ##
1578
## File substitutions. ##
1579
## ------------------- ##
1582
for ac_var in $ac_subst_files
1584
eval ac_val=\$$ac_var
1586
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1588
echo "$ac_var='\''$ac_val'\''"
1593
if test -s confdefs.h; then
1603
test "$ac_signal" != 0 &&
1604
echo "$as_me: caught signal $ac_signal"
1605
echo "$as_me: exit $exit_status"
1607
rm -f core *.core core.conftest.* &&
1608
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1611
for ac_signal in 1 2 13 15; do
1612
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1616
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1617
rm -f -r conftest* confdefs.h
1619
# Predefined preprocessor variables.
1621
cat >>confdefs.h <<_ACEOF
1622
#define PACKAGE_NAME "$PACKAGE_NAME"
1626
cat >>confdefs.h <<_ACEOF
1627
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1631
cat >>confdefs.h <<_ACEOF
1632
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1636
cat >>confdefs.h <<_ACEOF
1637
#define PACKAGE_STRING "$PACKAGE_STRING"
1641
cat >>confdefs.h <<_ACEOF
1642
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1646
# Let the site file select an alternate cache file if it wants to.
1647
# Prefer explicitly selected file to automatically selected ones.
1648
if test -n "$CONFIG_SITE"; then
1649
set x "$CONFIG_SITE"
1650
elif test "x$prefix" != xNONE; then
1651
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1653
set x "$ac_default_prefix/share/config.site" \
1654
"$ac_default_prefix/etc/config.site"
1659
if test -r "$ac_site_file"; then
1660
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1661
echo "$as_me: loading site script $ac_site_file" >&6;}
1662
sed 's/^/| /' "$ac_site_file" >&5
1667
if test -r "$cache_file"; then
1668
# Some versions of bash will fail to source /dev/null (special
1669
# files actually), so we avoid doing that.
1670
if test -f "$cache_file"; then
1671
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1672
echo "$as_me: loading cache $cache_file" >&6;}
1674
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1675
*) . "./$cache_file";;
1679
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1680
echo "$as_me: creating cache $cache_file" >&6;}
1684
# Check that the precious variables saved in the cache have kept the same
1686
ac_cache_corrupted=false
1687
for ac_var in $ac_precious_vars; do
1688
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1689
eval ac_new_set=\$ac_env_${ac_var}_set
1690
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1691
eval ac_new_val=\$ac_env_${ac_var}_value
1692
case $ac_old_set,$ac_new_set in
1694
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1695
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1696
ac_cache_corrupted=: ;;
1698
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1699
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1700
ac_cache_corrupted=: ;;
1703
if test "x$ac_old_val" != "x$ac_new_val"; then
1704
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1705
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1706
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1707
echo "$as_me: former value: $ac_old_val" >&2;}
1708
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1709
echo "$as_me: current value: $ac_new_val" >&2;}
1710
ac_cache_corrupted=:
1713
# Pass precious variables to config.status.
1714
if test "$ac_new_set" = set; then
1716
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1717
*) ac_arg=$ac_var=$ac_new_val ;;
1719
case " $ac_configure_args " in
1720
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1721
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1725
if $ac_cache_corrupted; then
1726
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1727
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1728
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1729
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1730
{ (exit 1); exit 1; }; }
1758
ac_cpp='$CPP $CPPFLAGS'
1759
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1760
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1761
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1764
PACKAGE_DATE=12/02/2009
1768
for ac_dir in build-aux "$srcdir"/build-aux; do
1769
if test -f "$ac_dir/install-sh"; then
1771
ac_install_sh="$ac_aux_dir/install-sh -c"
1773
elif test -f "$ac_dir/install.sh"; then
1775
ac_install_sh="$ac_aux_dir/install.sh -c"
1777
elif test -f "$ac_dir/shtool"; then
1779
ac_install_sh="$ac_aux_dir/shtool install -c"
1783
if test -z "$ac_aux_dir"; then
1784
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1785
echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1786
{ (exit 1); exit 1; }; }
1789
# These three variables are undocumented and unsupported,
1790
# and are intended to be withdrawn in a future Autoconf release.
1791
# They can cause serious problems if a builder's source tree is in a directory
1792
# whose full name contains unusual characters.
1793
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1794
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1795
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1798
am__api_version='1.10'
1800
# Find a good install program. We prefer a C program (faster),
1801
# so one script is as good as another. But avoid the broken or
1802
# incompatible versions:
1803
# SysV /etc/install, /usr/sbin/install
1804
# SunOS /usr/etc/install
1805
# IRIX /sbin/install
1807
# AmigaOS /C/install, which installs bootblocks on floppy discs
1808
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1809
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1810
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1811
# OS/2's system install, which has a completely different semantic
1812
# ./install, which can be erroneously created by make from ./install.sh.
1813
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1814
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1815
if test -z "$INSTALL"; then
1816
if test "${ac_cv_path_install+set}" = set; then
1817
echo $ECHO_N "(cached) $ECHO_C" >&6
1819
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1823
test -z "$as_dir" && as_dir=.
1824
# Account for people who put trailing slashes in PATH elements.
1826
./ | .// | /cC/* | \
1827
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1828
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1831
# OSF1 and SCO ODT 3.0 have their own names for install.
1832
# Don't use installbsd from OSF since it installs stuff as root
1834
for ac_prog in ginstall scoinst install; do
1835
for ac_exec_ext in '' $ac_executable_extensions; do
1836
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1837
if test $ac_prog = install &&
1838
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1839
# AIX install. It has an incompatible calling convention.
1841
elif test $ac_prog = install &&
1842
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1843
# program-specific install script used by HP pwplus--don't use.
1846
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1859
if test "${ac_cv_path_install+set}" = set; then
1860
INSTALL=$ac_cv_path_install
1862
# As a last resort, use the slow shell script. Don't cache a
1863
# value for INSTALL within a source directory, because that will
1864
# break other packages using the cache if that directory is
1865
# removed, or if the value is a relative name.
1866
INSTALL=$ac_install_sh
1869
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1870
echo "${ECHO_T}$INSTALL" >&6; }
1872
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1873
# It thinks the first close brace ends the variable substitution.
1874
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1876
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1878
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1880
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1881
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1884
echo timestamp > conftest.file
1885
# Do `set' in a subshell so we don't clobber the current shell's
1886
# arguments. Must try -L first in case configure is actually a
1887
# symlink; some systems play weird games with the mod time of symlinks
1888
# (eg FreeBSD returns the mod time of the symlink's containing
1891
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1892
if test "$*" = "X"; then
1894
set X `ls -t $srcdir/configure conftest.file`
1897
if test "$*" != "X $srcdir/configure conftest.file" \
1898
&& test "$*" != "X conftest.file $srcdir/configure"; then
1900
# If neither matched, then we have a broken ls. This can happen
1901
# if, for instance, CONFIG_SHELL is bash and it inherits a
1902
# broken ls alias from the environment. This has actually
1903
# happened. Such a system could not be considered "sane".
1904
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1905
alias in your environment" >&5
1906
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1907
alias in your environment" >&2;}
1908
{ (exit 1); exit 1; }; }
1911
test "$2" = conftest.file
1917
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1918
Check your system clock" >&5
1919
echo "$as_me: error: newly created file is older than distributed files!
1920
Check your system clock" >&2;}
1921
{ (exit 1); exit 1; }; }
1923
{ echo "$as_me:$LINENO: result: yes" >&5
1924
echo "${ECHO_T}yes" >&6; }
1925
test "$program_prefix" != NONE &&
1926
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1927
# Use a double $ so make ignores it.
1928
test "$program_suffix" != NONE &&
1929
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1930
# Double any \ or $. echo might interpret backslashes.
1931
# By default was `s,x,x', remove it if useless.
1932
cat <<\_ACEOF >conftest.sed
1933
s/[\\$]/&&/g;s/;s,x,x,$//
1935
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1938
# expand $ac_aux_dir to an absolute path
1939
am_aux_dir=`cd $ac_aux_dir && pwd`
1941
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1942
# Use eval to expand $SHELL
1943
if eval "$MISSING --run true"; then
1944
am_missing_run="$MISSING --run "
1947
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1948
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1951
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1952
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1953
if test -z "$MKDIR_P"; then
1954
if test "${ac_cv_path_mkdir+set}" = set; then
1955
echo $ECHO_N "(cached) $ECHO_C" >&6
1957
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1961
test -z "$as_dir" && as_dir=.
1962
for ac_prog in mkdir gmkdir; do
1963
for ac_exec_ext in '' $ac_executable_extensions; do
1964
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1965
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1966
'mkdir (GNU coreutils) '* | \
1967
'mkdir (coreutils) '* | \
1968
'mkdir (fileutils) '4.1*)
1969
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1979
if test "${ac_cv_path_mkdir+set}" = set; then
1980
MKDIR_P="$ac_cv_path_mkdir -p"
1982
# As a last resort, use the slow shell script. Don't cache a
1983
# value for MKDIR_P within a source directory, because that will
1984
# break other packages using the cache if that directory is
1985
# removed, or if the value is a relative name.
1986
test -d ./--version && rmdir ./--version
1987
MKDIR_P="$ac_install_sh -d"
1990
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1991
echo "${ECHO_T}$MKDIR_P" >&6; }
1995
[\\/$]* | ?:[\\/]*) ;;
1996
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1999
for ac_prog in gawk mawk nawk awk
2001
# Extract the first word of "$ac_prog", so it can be a program name with args.
2002
set dummy $ac_prog; ac_word=$2
2003
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2004
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2005
if test "${ac_cv_prog_AWK+set}" = set; then
2006
echo $ECHO_N "(cached) $ECHO_C" >&6
2008
if test -n "$AWK"; then
2009
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2011
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015
test -z "$as_dir" && as_dir=.
2016
for ac_exec_ext in '' $ac_executable_extensions; do
2017
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2018
ac_cv_prog_AWK="$ac_prog"
2019
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2029
if test -n "$AWK"; then
2030
{ echo "$as_me:$LINENO: result: $AWK" >&5
2031
echo "${ECHO_T}$AWK" >&6; }
2033
{ echo "$as_me:$LINENO: result: no" >&5
2034
echo "${ECHO_T}no" >&6; }
2038
test -n "$AWK" && break
2041
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2042
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2043
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2044
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2045
echo $ECHO_N "(cached) $ECHO_C" >&6
2047
cat >conftest.make <<\_ACEOF
2050
@echo '@@@%%%=$(MAKE)=@@@%%%'
2052
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2053
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2055
eval ac_cv_prog_make_${ac_make}_set=yes;;
2057
eval ac_cv_prog_make_${ac_make}_set=no;;
2061
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2062
{ echo "$as_me:$LINENO: result: yes" >&5
2063
echo "${ECHO_T}yes" >&6; }
2066
{ echo "$as_me:$LINENO: result: no" >&5
2067
echo "${ECHO_T}no" >&6; }
2068
SET_MAKE="MAKE=${MAKE-make}"
2071
rm -rf .tst 2>/dev/null
2072
mkdir .tst 2>/dev/null
2073
if test -d .tst; then
2078
rmdir .tst 2>/dev/null
2080
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2081
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2082
# is not polluted with repeated "-I."
2083
am__isrc=' -I$(srcdir)'
2084
# test to see if srcdir already configured
2085
if test -f $srcdir/config.status; then
2086
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2087
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2088
{ (exit 1); exit 1; }; }
2092
# test whether we have cygpath
2093
if test -z "$CYGPATH_W"; then
2094
if (cygpath --version) >/dev/null 2>/dev/null; then
2095
CYGPATH_W='cygpath -w'
2102
# Define the identity of the package.
2107
cat >>confdefs.h <<_ACEOF
2108
#define PACKAGE "$PACKAGE"
2112
cat >>confdefs.h <<_ACEOF
2113
#define VERSION "$VERSION"
2116
# Some tools Automake needs.
2118
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2121
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2124
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2127
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2130
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2132
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2134
# Installed binaries are usually stripped using `strip' when the user
2135
# run `make install-strip'. However `strip' might not be the right
2136
# tool to use in cross-compilation environments, therefore Automake
2137
# will honor the `STRIP' environment variable to overrule this program.
2138
if test "$cross_compiling" != no; then
2139
if test -n "$ac_tool_prefix"; then
2140
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2141
set dummy ${ac_tool_prefix}strip; ac_word=$2
2142
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2143
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2144
if test "${ac_cv_prog_STRIP+set}" = set; then
2145
echo $ECHO_N "(cached) $ECHO_C" >&6
2147
if test -n "$STRIP"; then
2148
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2150
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154
test -z "$as_dir" && as_dir=.
2155
for ac_exec_ext in '' $ac_executable_extensions; do
2156
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2157
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2158
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167
STRIP=$ac_cv_prog_STRIP
2168
if test -n "$STRIP"; then
2169
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2170
echo "${ECHO_T}$STRIP" >&6; }
2172
{ echo "$as_me:$LINENO: result: no" >&5
2173
echo "${ECHO_T}no" >&6; }
2178
if test -z "$ac_cv_prog_STRIP"; then
2180
# Extract the first word of "strip", so it can be a program name with args.
2181
set dummy strip; ac_word=$2
2182
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2183
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2184
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2185
echo $ECHO_N "(cached) $ECHO_C" >&6
2187
if test -n "$ac_ct_STRIP"; then
2188
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2190
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194
test -z "$as_dir" && as_dir=.
2195
for ac_exec_ext in '' $ac_executable_extensions; do
2196
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2197
ac_cv_prog_ac_ct_STRIP="strip"
2198
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2208
if test -n "$ac_ct_STRIP"; then
2209
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2210
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2212
{ echo "$as_me:$LINENO: result: no" >&5
2213
echo "${ECHO_T}no" >&6; }
2216
if test "x$ac_ct_STRIP" = x; then
2219
case $cross_compiling:$ac_tool_warned in
2221
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2222
whose name does not start with the host triplet. If you think this
2223
configuration is useful to you, please write to autoconf@gnu.org." >&5
2224
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2225
whose name does not start with the host triplet. If you think this
2226
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2227
ac_tool_warned=yes ;;
2232
STRIP="$ac_cv_prog_STRIP"
2236
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2238
# We need awk for the "check" target. The system "awk" is bad on
2240
# Always define AMTAR for backward compatibility.
2242
AMTAR=${AMTAR-"${am_missing_run}tar"}
2244
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2252
# we don't need config.h for now
2253
#AC_CONFIG_HEADER([config.h])
2255
CFLAGS="$CFLAGS -Wall"
2256
CXXFLAGS="$CXXFLAGS -Wall"
2258
# Checks for programs.
2260
ac_cpp='$CXXCPP $CPPFLAGS'
2261
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2262
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2263
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2264
if test -z "$CXX"; then
2265
if test -n "$CCC"; then
2268
if test -n "$ac_tool_prefix"; then
2269
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2271
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2272
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2273
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2274
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2275
if test "${ac_cv_prog_CXX+set}" = set; then
2276
echo $ECHO_N "(cached) $ECHO_C" >&6
2278
if test -n "$CXX"; then
2279
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2281
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285
test -z "$as_dir" && as_dir=.
2286
for ac_exec_ext in '' $ac_executable_extensions; do
2287
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2288
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2289
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299
if test -n "$CXX"; then
2300
{ echo "$as_me:$LINENO: result: $CXX" >&5
2301
echo "${ECHO_T}$CXX" >&6; }
2303
{ echo "$as_me:$LINENO: result: no" >&5
2304
echo "${ECHO_T}no" >&6; }
2308
test -n "$CXX" && break
2311
if test -z "$CXX"; then
2313
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2315
# Extract the first word of "$ac_prog", so it can be a program name with args.
2316
set dummy $ac_prog; ac_word=$2
2317
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2318
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2319
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2320
echo $ECHO_N "(cached) $ECHO_C" >&6
2322
if test -n "$ac_ct_CXX"; then
2323
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2325
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329
test -z "$as_dir" && as_dir=.
2330
for ac_exec_ext in '' $ac_executable_extensions; do
2331
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2332
ac_cv_prog_ac_ct_CXX="$ac_prog"
2333
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2342
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2343
if test -n "$ac_ct_CXX"; then
2344
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2345
echo "${ECHO_T}$ac_ct_CXX" >&6; }
2347
{ echo "$as_me:$LINENO: result: no" >&5
2348
echo "${ECHO_T}no" >&6; }
2352
test -n "$ac_ct_CXX" && break
2355
if test "x$ac_ct_CXX" = x; then
2358
case $cross_compiling:$ac_tool_warned in
2360
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2361
whose name does not start with the host triplet. If you think this
2362
configuration is useful to you, please write to autoconf@gnu.org." >&5
2363
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2364
whose name does not start with the host triplet. If you think this
2365
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2366
ac_tool_warned=yes ;;
2374
# Provide some information about the compiler.
2375
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2376
ac_compiler=`set X $ac_compile; echo $2`
2377
{ (ac_try="$ac_compiler --version >&5"
2379
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380
*) ac_try_echo=$ac_try;;
2382
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2383
(eval "$ac_compiler --version >&5") 2>&5
2385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386
(exit $ac_status); }
2387
{ (ac_try="$ac_compiler -v >&5"
2389
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390
*) ac_try_echo=$ac_try;;
2392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2393
(eval "$ac_compiler -v >&5") 2>&5
2395
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396
(exit $ac_status); }
2397
{ (ac_try="$ac_compiler -V >&5"
2399
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2400
*) ac_try_echo=$ac_try;;
2402
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2403
(eval "$ac_compiler -V >&5") 2>&5
2405
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406
(exit $ac_status); }
2408
cat >conftest.$ac_ext <<_ACEOF
2411
cat confdefs.h >>conftest.$ac_ext
2412
cat >>conftest.$ac_ext <<_ACEOF
2413
/* end confdefs.h. */
2423
ac_clean_files_save=$ac_clean_files
2424
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2425
# Try to create an executable without -o first, disregard a.out.
2426
# It will help us diagnose broken compilers, and finding out an intuition
2428
{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2429
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2430
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2432
# List of possible output files, starting from the most likely.
2433
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2434
# only as a last resort. b.out is created by i960 compilers.
2435
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2437
# The IRIX 6 linker writes into existing files which may not be
2438
# executable, retaining their permissions. Remove them first so a
2439
# subsequent execution test works.
2441
for ac_file in $ac_files
2444
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2445
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2450
if { (ac_try="$ac_link_default"
2452
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2453
*) ac_try_echo=$ac_try;;
2455
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2456
(eval "$ac_link_default") 2>&5
2458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459
(exit $ac_status); }; then
2460
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2461
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2462
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2463
# so that the user can short-circuit this test for compilers unknown to
2465
for ac_file in $ac_files ''
2467
test -f "$ac_file" || continue
2469
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2472
# We found the default executable, but exeext='' is most
2476
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2478
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2480
# We set ac_cv_exeext here because the later test for it is not
2481
# safe: cross compilers may not add the suffix if given an `-o'
2482
# argument, so we may need to know it at that point already.
2483
# Even if this section looks crufty: it has the advantage of
2490
test "$ac_cv_exeext" = no && ac_cv_exeext=
2496
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2497
echo "${ECHO_T}$ac_file" >&6; }
2498
if test -z "$ac_file"; then
2499
echo "$as_me: failed program was:" >&5
2500
sed 's/^/| /' conftest.$ac_ext >&5
2502
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2503
See \`config.log' for more details." >&5
2504
echo "$as_me: error: C++ compiler cannot create executables
2505
See \`config.log' for more details." >&2;}
2506
{ (exit 77); exit 77; }; }
2509
ac_exeext=$ac_cv_exeext
2511
# Check that the compiler produces executables we can run. If not, either
2512
# the compiler is broken, or we cross compile.
2513
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2514
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2515
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2516
# If not cross compiling, check that we can run a simple program.
2517
if test "$cross_compiling" != yes; then
2518
if { ac_try='./$ac_file'
2519
{ (case "(($ac_try" in
2520
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2521
*) ac_try_echo=$ac_try;;
2523
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2524
(eval "$ac_try") 2>&5
2526
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527
(exit $ac_status); }; }; then
2530
if test "$cross_compiling" = maybe; then
2533
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2534
If you meant to cross compile, use \`--host'.
2535
See \`config.log' for more details." >&5
2536
echo "$as_me: error: cannot run C++ compiled programs.
2537
If you meant to cross compile, use \`--host'.
2538
See \`config.log' for more details." >&2;}
2539
{ (exit 1); exit 1; }; }
2543
{ echo "$as_me:$LINENO: result: yes" >&5
2544
echo "${ECHO_T}yes" >&6; }
2546
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2547
ac_clean_files=$ac_clean_files_save
2548
# Check that the compiler produces executables we can run. If not, either
2549
# the compiler is broken, or we cross compile.
2550
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2551
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2552
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2553
echo "${ECHO_T}$cross_compiling" >&6; }
2555
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2556
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2557
if { (ac_try="$ac_link"
2559
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2560
*) ac_try_echo=$ac_try;;
2562
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2563
(eval "$ac_link") 2>&5
2565
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566
(exit $ac_status); }; then
2567
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2568
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2569
# work properly (i.e., refer to `conftest.exe'), while it won't with
2571
for ac_file in conftest.exe conftest conftest.*; do
2572
test -f "$ac_file" || continue
2574
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2575
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2581
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2582
See \`config.log' for more details." >&5
2583
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2584
See \`config.log' for more details." >&2;}
2585
{ (exit 1); exit 1; }; }
2588
rm -f conftest$ac_cv_exeext
2589
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2590
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2592
rm -f conftest.$ac_ext
2593
EXEEXT=$ac_cv_exeext
2595
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2596
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2597
if test "${ac_cv_objext+set}" = set; then
2598
echo $ECHO_N "(cached) $ECHO_C" >&6
2600
cat >conftest.$ac_ext <<_ACEOF
2603
cat confdefs.h >>conftest.$ac_ext
2604
cat >>conftest.$ac_ext <<_ACEOF
2605
/* end confdefs.h. */
2615
rm -f conftest.o conftest.obj
2616
if { (ac_try="$ac_compile"
2618
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619
*) ac_try_echo=$ac_try;;
2621
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2622
(eval "$ac_compile") 2>&5
2624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625
(exit $ac_status); }; then
2626
for ac_file in conftest.o conftest.obj conftest.*; do
2627
test -f "$ac_file" || continue;
2629
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2630
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2635
echo "$as_me: failed program was:" >&5
2636
sed 's/^/| /' conftest.$ac_ext >&5
2638
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2639
See \`config.log' for more details." >&5
2640
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2641
See \`config.log' for more details." >&2;}
2642
{ (exit 1); exit 1; }; }
2645
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2647
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2648
echo "${ECHO_T}$ac_cv_objext" >&6; }
2649
OBJEXT=$ac_cv_objext
2651
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2652
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2653
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2654
echo $ECHO_N "(cached) $ECHO_C" >&6
2656
cat >conftest.$ac_ext <<_ACEOF
2659
cat confdefs.h >>conftest.$ac_ext
2660
cat >>conftest.$ac_ext <<_ACEOF
2661
/* end confdefs.h. */
2674
rm -f conftest.$ac_objext
2675
if { (ac_try="$ac_compile"
2677
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2678
*) ac_try_echo=$ac_try;;
2680
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2681
(eval "$ac_compile") 2>conftest.er1
2683
grep -v '^ *+' conftest.er1 >conftest.err
2685
cat conftest.err >&5
2686
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687
(exit $ac_status); } && {
2688
test -z "$ac_cxx_werror_flag" ||
2689
test ! -s conftest.err
2690
} && test -s conftest.$ac_objext; then
2693
echo "$as_me: failed program was:" >&5
2694
sed 's/^/| /' conftest.$ac_ext >&5
2699
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2703
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2704
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2705
GXX=`test $ac_compiler_gnu = yes && echo yes`
2706
ac_test_CXXFLAGS=${CXXFLAGS+set}
2707
ac_save_CXXFLAGS=$CXXFLAGS
2708
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2709
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2710
if test "${ac_cv_prog_cxx_g+set}" = set; then
2711
echo $ECHO_N "(cached) $ECHO_C" >&6
2713
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2714
ac_cxx_werror_flag=yes
2717
cat >conftest.$ac_ext <<_ACEOF
2720
cat confdefs.h >>conftest.$ac_ext
2721
cat >>conftest.$ac_ext <<_ACEOF
2722
/* end confdefs.h. */
2732
rm -f conftest.$ac_objext
2733
if { (ac_try="$ac_compile"
2735
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736
*) ac_try_echo=$ac_try;;
2738
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2739
(eval "$ac_compile") 2>conftest.er1
2741
grep -v '^ *+' conftest.er1 >conftest.err
2743
cat conftest.err >&5
2744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745
(exit $ac_status); } && {
2746
test -z "$ac_cxx_werror_flag" ||
2747
test ! -s conftest.err
2748
} && test -s conftest.$ac_objext; then
2749
ac_cv_prog_cxx_g=yes
2751
echo "$as_me: failed program was:" >&5
2752
sed 's/^/| /' conftest.$ac_ext >&5
2755
cat >conftest.$ac_ext <<_ACEOF
2758
cat confdefs.h >>conftest.$ac_ext
2759
cat >>conftest.$ac_ext <<_ACEOF
2760
/* end confdefs.h. */
2770
rm -f conftest.$ac_objext
2771
if { (ac_try="$ac_compile"
2773
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774
*) ac_try_echo=$ac_try;;
2776
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2777
(eval "$ac_compile") 2>conftest.er1
2779
grep -v '^ *+' conftest.er1 >conftest.err
2781
cat conftest.err >&5
2782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783
(exit $ac_status); } && {
2784
test -z "$ac_cxx_werror_flag" ||
2785
test ! -s conftest.err
2786
} && test -s conftest.$ac_objext; then
2789
echo "$as_me: failed program was:" >&5
2790
sed 's/^/| /' conftest.$ac_ext >&5
2792
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2794
cat >conftest.$ac_ext <<_ACEOF
2797
cat confdefs.h >>conftest.$ac_ext
2798
cat >>conftest.$ac_ext <<_ACEOF
2799
/* end confdefs.h. */
2809
rm -f conftest.$ac_objext
2810
if { (ac_try="$ac_compile"
2812
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2813
*) ac_try_echo=$ac_try;;
2815
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2816
(eval "$ac_compile") 2>conftest.er1
2818
grep -v '^ *+' conftest.er1 >conftest.err
2820
cat conftest.err >&5
2821
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822
(exit $ac_status); } && {
2823
test -z "$ac_cxx_werror_flag" ||
2824
test ! -s conftest.err
2825
} && test -s conftest.$ac_objext; then
2826
ac_cv_prog_cxx_g=yes
2828
echo "$as_me: failed program was:" >&5
2829
sed 's/^/| /' conftest.$ac_ext >&5
2834
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2841
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2843
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2844
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2845
if test "$ac_test_CXXFLAGS" = set; then
2846
CXXFLAGS=$ac_save_CXXFLAGS
2847
elif test $ac_cv_prog_cxx_g = yes; then
2848
if test "$GXX" = yes; then
2854
if test "$GXX" = yes; then
2861
ac_cpp='$CPP $CPPFLAGS'
2862
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2863
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2865
DEPDIR="${am__leading_dot}deps"
2867
ac_config_commands="$ac_config_commands depfiles"
2870
am_make=${MAKE-make}
2871
cat > confinc << 'END'
2876
# If we don't find an include directive, just comment out the code.
2877
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2878
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2882
# First try GNU make style include.
2883
echo "include confinc" > confmf
2884
# We grep out `Entering directory' and `Leaving directory'
2885
# messages which can occur if `w' ends up in MAKEFLAGS.
2886
# In particular we don't look at `^make:' because GNU make might
2887
# be invoked under some other name (usually "gmake"), in which
2888
# case it prints its new name instead of `make'.
2889
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2894
# Now try BSD make style include.
2895
if test "$am__include" = "#"; then
2896
echo '.include "confinc"' > confmf
2897
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2898
am__include=.include
2905
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2906
echo "${ECHO_T}$_am_result" >&6; }
2907
rm -f confinc confmf
2909
# Check whether --enable-dependency-tracking was given.
2910
if test "${enable_dependency_tracking+set}" = set; then
2911
enableval=$enable_dependency_tracking;
2914
if test "x$enable_dependency_tracking" != xno; then
2915
am_depcomp="$ac_aux_dir/depcomp"
2918
if test "x$enable_dependency_tracking" != xno; then
2928
depcc="$CXX" am_compiler_list=
2930
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2931
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2932
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2933
echo $ECHO_N "(cached) $ECHO_C" >&6
2935
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2936
# We make a subdir and do the tests there. Otherwise we can end up
2937
# making bogus files that we don't know about and never remove. For
2938
# instance it was reported that on HP-UX the gcc test will end up
2939
# making a dummy file named `D' -- because `-MD' means `put the output
2942
# Copy depcomp to subdir because otherwise we won't find it if we're
2943
# using a relative directory.
2944
cp "$am_depcomp" conftest.dir
2946
# We will build objects and dependencies in a subdirectory because
2947
# it helps to detect inapplicable dependency modes. For instance
2948
# both Tru64's cc and ICC support -MD to output dependencies as a
2949
# side effect of compilation, but ICC will put the dependencies in
2950
# the current directory while Tru64 will put them in the object
2954
am_cv_CXX_dependencies_compiler_type=none
2955
if test "$am_compiler_list" = ""; then
2956
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2958
for depmode in $am_compiler_list; do
2959
# Setup a source with many dependencies, because some compilers
2960
# like to wrap large dependency lists on column 80 (with \), and
2961
# we should not choose a depcomp mode which is confused by this.
2963
# We need to recreate these files for each test, as the compiler may
2964
# overwrite some of them when testing with obscure command lines.
2965
# This happens at least with the AIX C compiler.
2967
for i in 1 2 3 4 5 6; do
2968
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2969
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2970
# Solaris 8's {/usr,}/bin/sh.
2971
touch sub/conftst$i.h
2973
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2977
# after this tag, mechanisms are not by side-effect, so they'll
2978
# only be used when explicitly requested
2979
if test "x$enable_dependency_tracking" = xyes; then
2987
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2988
# mode. It turns out that the SunPro C++ compiler does not properly
2989
# handle `-M -o', and we need to detect this.
2990
if depmode=$depmode \
2991
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2992
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2993
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2994
>/dev/null 2>conftest.err &&
2995
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2996
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2997
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2998
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2999
# icc doesn't choke on unknown options, it will just issue warnings
3000
# or remarks (even with -Werror). So we grep stderr for any message
3001
# that says an option was ignored or not supported.
3002
# When given -MP, icc 7.0 and 7.1 complain thusly:
3003
# icc: Command line warning: ignoring option '-M'; no argument required
3004
# The diagnosis changed in icc 8.0:
3005
# icc: Command line remark: option '-MP' not supported
3006
if (grep 'ignoring option' conftest.err ||
3007
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3008
am_cv_CXX_dependencies_compiler_type=$depmode
3017
am_cv_CXX_dependencies_compiler_type=none
3021
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3022
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3023
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3026
test "x$enable_dependency_tracking" != xno \
3027
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3028
am__fastdepCXX_TRUE=
3029
am__fastdepCXX_FALSE='#'
3031
am__fastdepCXX_TRUE='#'
3032
am__fastdepCXX_FALSE=
3037
ac_cpp='$CPP $CPPFLAGS'
3038
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3039
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3040
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3041
if test -n "$ac_tool_prefix"; then
3042
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3043
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3044
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3045
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3046
if test "${ac_cv_prog_CC+set}" = set; then
3047
echo $ECHO_N "(cached) $ECHO_C" >&6
3049
if test -n "$CC"; then
3050
ac_cv_prog_CC="$CC" # Let the user override the test.
3052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056
test -z "$as_dir" && as_dir=.
3057
for ac_exec_ext in '' $ac_executable_extensions; do
3058
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3059
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3060
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3070
if test -n "$CC"; then
3071
{ echo "$as_me:$LINENO: result: $CC" >&5
3072
echo "${ECHO_T}$CC" >&6; }
3074
{ echo "$as_me:$LINENO: result: no" >&5
3075
echo "${ECHO_T}no" >&6; }
3080
if test -z "$ac_cv_prog_CC"; then
3082
# Extract the first word of "gcc", so it can be a program name with args.
3083
set dummy gcc; ac_word=$2
3084
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3085
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3086
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3087
echo $ECHO_N "(cached) $ECHO_C" >&6
3089
if test -n "$ac_ct_CC"; then
3090
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096
test -z "$as_dir" && as_dir=.
3097
for ac_exec_ext in '' $ac_executable_extensions; do
3098
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3099
ac_cv_prog_ac_ct_CC="gcc"
3100
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3109
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3110
if test -n "$ac_ct_CC"; then
3111
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3112
echo "${ECHO_T}$ac_ct_CC" >&6; }
3114
{ echo "$as_me:$LINENO: result: no" >&5
3115
echo "${ECHO_T}no" >&6; }
3118
if test "x$ac_ct_CC" = x; then
3121
case $cross_compiling:$ac_tool_warned in
3123
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3124
whose name does not start with the host triplet. If you think this
3125
configuration is useful to you, please write to autoconf@gnu.org." >&5
3126
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3127
whose name does not start with the host triplet. If you think this
3128
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3129
ac_tool_warned=yes ;;
3137
if test -z "$CC"; then
3138
if test -n "$ac_tool_prefix"; then
3139
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3140
set dummy ${ac_tool_prefix}cc; ac_word=$2
3141
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3142
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3143
if test "${ac_cv_prog_CC+set}" = set; then
3144
echo $ECHO_N "(cached) $ECHO_C" >&6
3146
if test -n "$CC"; then
3147
ac_cv_prog_CC="$CC" # Let the user override the test.
3149
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153
test -z "$as_dir" && as_dir=.
3154
for ac_exec_ext in '' $ac_executable_extensions; do
3155
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3156
ac_cv_prog_CC="${ac_tool_prefix}cc"
3157
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3167
if test -n "$CC"; then
3168
{ echo "$as_me:$LINENO: result: $CC" >&5
3169
echo "${ECHO_T}$CC" >&6; }
3171
{ echo "$as_me:$LINENO: result: no" >&5
3172
echo "${ECHO_T}no" >&6; }
3178
if test -z "$CC"; then
3179
# Extract the first word of "cc", so it can be a program name with args.
3180
set dummy cc; ac_word=$2
3181
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3182
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3183
if test "${ac_cv_prog_CC+set}" = set; then
3184
echo $ECHO_N "(cached) $ECHO_C" >&6
3186
if test -n "$CC"; then
3187
ac_cv_prog_CC="$CC" # Let the user override the test.
3190
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194
test -z "$as_dir" && as_dir=.
3195
for ac_exec_ext in '' $ac_executable_extensions; do
3196
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3198
ac_prog_rejected=yes
3202
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3209
if test $ac_prog_rejected = yes; then
3210
# We found a bogon in the path, so make sure we never use it.
3211
set dummy $ac_cv_prog_CC
3213
if test $# != 0; then
3214
# We chose a different compiler from the bogus one.
3215
# However, it has the same basename, so the bogon will be chosen
3216
# first if we set CC to just the basename; use the full file name.
3218
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3224
if test -n "$CC"; then
3225
{ echo "$as_me:$LINENO: result: $CC" >&5
3226
echo "${ECHO_T}$CC" >&6; }
3228
{ echo "$as_me:$LINENO: result: no" >&5
3229
echo "${ECHO_T}no" >&6; }
3234
if test -z "$CC"; then
3235
if test -n "$ac_tool_prefix"; then
3236
for ac_prog in cl.exe
3238
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3239
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3240
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3241
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3242
if test "${ac_cv_prog_CC+set}" = set; then
3243
echo $ECHO_N "(cached) $ECHO_C" >&6
3245
if test -n "$CC"; then
3246
ac_cv_prog_CC="$CC" # Let the user override the test.
3248
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3252
test -z "$as_dir" && as_dir=.
3253
for ac_exec_ext in '' $ac_executable_extensions; do
3254
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3255
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3256
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3266
if test -n "$CC"; then
3267
{ echo "$as_me:$LINENO: result: $CC" >&5
3268
echo "${ECHO_T}$CC" >&6; }
3270
{ echo "$as_me:$LINENO: result: no" >&5
3271
echo "${ECHO_T}no" >&6; }
3275
test -n "$CC" && break
3278
if test -z "$CC"; then
3280
for ac_prog in cl.exe
3282
# Extract the first word of "$ac_prog", so it can be a program name with args.
3283
set dummy $ac_prog; ac_word=$2
3284
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3285
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3286
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3287
echo $ECHO_N "(cached) $ECHO_C" >&6
3289
if test -n "$ac_ct_CC"; then
3290
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3292
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296
test -z "$as_dir" && as_dir=.
3297
for ac_exec_ext in '' $ac_executable_extensions; do
3298
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3299
ac_cv_prog_ac_ct_CC="$ac_prog"
3300
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3309
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3310
if test -n "$ac_ct_CC"; then
3311
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3312
echo "${ECHO_T}$ac_ct_CC" >&6; }
3314
{ echo "$as_me:$LINENO: result: no" >&5
3315
echo "${ECHO_T}no" >&6; }
3319
test -n "$ac_ct_CC" && break
3322
if test "x$ac_ct_CC" = x; then
3325
case $cross_compiling:$ac_tool_warned in
3327
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3328
whose name does not start with the host triplet. If you think this
3329
configuration is useful to you, please write to autoconf@gnu.org." >&5
3330
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3331
whose name does not start with the host triplet. If you think this
3332
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3333
ac_tool_warned=yes ;;
3342
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3343
See \`config.log' for more details." >&5
3344
echo "$as_me: error: no acceptable C compiler found in \$PATH
3345
See \`config.log' for more details." >&2;}
3346
{ (exit 1); exit 1; }; }
3348
# Provide some information about the compiler.
3349
echo "$as_me:$LINENO: checking for C compiler version" >&5
3350
ac_compiler=`set X $ac_compile; echo $2`
3351
{ (ac_try="$ac_compiler --version >&5"
3353
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354
*) ac_try_echo=$ac_try;;
3356
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3357
(eval "$ac_compiler --version >&5") 2>&5
3359
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360
(exit $ac_status); }
3361
{ (ac_try="$ac_compiler -v >&5"
3363
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364
*) ac_try_echo=$ac_try;;
3366
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3367
(eval "$ac_compiler -v >&5") 2>&5
3369
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370
(exit $ac_status); }
3371
{ (ac_try="$ac_compiler -V >&5"
3373
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3374
*) ac_try_echo=$ac_try;;
3376
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3377
(eval "$ac_compiler -V >&5") 2>&5
3379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380
(exit $ac_status); }
3382
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3383
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3384
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3385
echo $ECHO_N "(cached) $ECHO_C" >&6
3387
cat >conftest.$ac_ext <<_ACEOF
3390
cat confdefs.h >>conftest.$ac_ext
3391
cat >>conftest.$ac_ext <<_ACEOF
3392
/* end confdefs.h. */
3405
rm -f conftest.$ac_objext
3406
if { (ac_try="$ac_compile"
3408
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3409
*) ac_try_echo=$ac_try;;
3411
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3412
(eval "$ac_compile") 2>conftest.er1
3414
grep -v '^ *+' conftest.er1 >conftest.err
3416
cat conftest.err >&5
3417
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418
(exit $ac_status); } && {
3419
test -z "$ac_c_werror_flag" ||
3420
test ! -s conftest.err
3421
} && test -s conftest.$ac_objext; then
3424
echo "$as_me: failed program was:" >&5
3425
sed 's/^/| /' conftest.$ac_ext >&5
3430
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3434
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3435
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3436
GCC=`test $ac_compiler_gnu = yes && echo yes`
3437
ac_test_CFLAGS=${CFLAGS+set}
3438
ac_save_CFLAGS=$CFLAGS
3439
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3440
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3441
if test "${ac_cv_prog_cc_g+set}" = set; then
3442
echo $ECHO_N "(cached) $ECHO_C" >&6
3444
ac_save_c_werror_flag=$ac_c_werror_flag
3445
ac_c_werror_flag=yes
3448
cat >conftest.$ac_ext <<_ACEOF
3451
cat confdefs.h >>conftest.$ac_ext
3452
cat >>conftest.$ac_ext <<_ACEOF
3453
/* end confdefs.h. */
3463
rm -f conftest.$ac_objext
3464
if { (ac_try="$ac_compile"
3466
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467
*) ac_try_echo=$ac_try;;
3469
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3470
(eval "$ac_compile") 2>conftest.er1
3472
grep -v '^ *+' conftest.er1 >conftest.err
3474
cat conftest.err >&5
3475
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476
(exit $ac_status); } && {
3477
test -z "$ac_c_werror_flag" ||
3478
test ! -s conftest.err
3479
} && test -s conftest.$ac_objext; then
3482
echo "$as_me: failed program was:" >&5
3483
sed 's/^/| /' conftest.$ac_ext >&5
3486
cat >conftest.$ac_ext <<_ACEOF
3489
cat confdefs.h >>conftest.$ac_ext
3490
cat >>conftest.$ac_ext <<_ACEOF
3491
/* end confdefs.h. */
3501
rm -f conftest.$ac_objext
3502
if { (ac_try="$ac_compile"
3504
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505
*) ac_try_echo=$ac_try;;
3507
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3508
(eval "$ac_compile") 2>conftest.er1
3510
grep -v '^ *+' conftest.er1 >conftest.err
3512
cat conftest.err >&5
3513
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514
(exit $ac_status); } && {
3515
test -z "$ac_c_werror_flag" ||
3516
test ! -s conftest.err
3517
} && test -s conftest.$ac_objext; then
3520
echo "$as_me: failed program was:" >&5
3521
sed 's/^/| /' conftest.$ac_ext >&5
3523
ac_c_werror_flag=$ac_save_c_werror_flag
3525
cat >conftest.$ac_ext <<_ACEOF
3528
cat confdefs.h >>conftest.$ac_ext
3529
cat >>conftest.$ac_ext <<_ACEOF
3530
/* end confdefs.h. */
3540
rm -f conftest.$ac_objext
3541
if { (ac_try="$ac_compile"
3543
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544
*) ac_try_echo=$ac_try;;
3546
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3547
(eval "$ac_compile") 2>conftest.er1
3549
grep -v '^ *+' conftest.er1 >conftest.err
3551
cat conftest.err >&5
3552
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553
(exit $ac_status); } && {
3554
test -z "$ac_c_werror_flag" ||
3555
test ! -s conftest.err
3556
} && test -s conftest.$ac_objext; then
3559
echo "$as_me: failed program was:" >&5
3560
sed 's/^/| /' conftest.$ac_ext >&5
3565
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572
ac_c_werror_flag=$ac_save_c_werror_flag
3574
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3575
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3576
if test "$ac_test_CFLAGS" = set; then
3577
CFLAGS=$ac_save_CFLAGS
3578
elif test $ac_cv_prog_cc_g = yes; then
3579
if test "$GCC" = yes; then
3585
if test "$GCC" = yes; then
3591
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3592
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3593
if test "${ac_cv_prog_cc_c89+set}" = set; then
3594
echo $ECHO_N "(cached) $ECHO_C" >&6
3596
ac_cv_prog_cc_c89=no
3598
cat >conftest.$ac_ext <<_ACEOF
3601
cat confdefs.h >>conftest.$ac_ext
3602
cat >>conftest.$ac_ext <<_ACEOF
3603
/* end confdefs.h. */
3606
#include <sys/types.h>
3607
#include <sys/stat.h>
3608
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3609
struct buf { int x; };
3610
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3611
static char *e (p, i)
3617
static char *f (char * (*g) (char **, int), char **p, ...)
3622
s = g (p, va_arg (v,int));
3627
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3628
function prototypes and stuff, but not '\xHH' hex character constants.
3629
These don't provoke an error unfortunately, instead are silently treated
3630
as 'x'. The following induces an error, until -std is added to get
3631
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3632
array size at least. It's necessary to write '\x00'==0 to get something
3633
that's true only with -std. */
3634
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3636
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3637
inside strings and character constants. */
3639
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3641
int test (int i, double x);
3642
struct s1 {int (*f) (int a);};
3643
struct s2 {int (*f) (double a);};
3644
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3650
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3655
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3656
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3658
CC="$ac_save_CC $ac_arg"
3659
rm -f conftest.$ac_objext
3660
if { (ac_try="$ac_compile"
3662
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3663
*) ac_try_echo=$ac_try;;
3665
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3666
(eval "$ac_compile") 2>conftest.er1
3668
grep -v '^ *+' conftest.er1 >conftest.err
3670
cat conftest.err >&5
3671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672
(exit $ac_status); } && {
3673
test -z "$ac_c_werror_flag" ||
3674
test ! -s conftest.err
3675
} && test -s conftest.$ac_objext; then
3676
ac_cv_prog_cc_c89=$ac_arg
3678
echo "$as_me: failed program was:" >&5
3679
sed 's/^/| /' conftest.$ac_ext >&5
3684
rm -f core conftest.err conftest.$ac_objext
3685
test "x$ac_cv_prog_cc_c89" != "xno" && break
3687
rm -f conftest.$ac_ext
3692
case "x$ac_cv_prog_cc_c89" in
3694
{ echo "$as_me:$LINENO: result: none needed" >&5
3695
echo "${ECHO_T}none needed" >&6; } ;;
3697
{ echo "$as_me:$LINENO: result: unsupported" >&5
3698
echo "${ECHO_T}unsupported" >&6; } ;;
3700
CC="$CC $ac_cv_prog_cc_c89"
3701
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3702
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3707
ac_cpp='$CPP $CPPFLAGS'
3708
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3709
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3710
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3712
depcc="$CC" am_compiler_list=
3714
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3715
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3716
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3717
echo $ECHO_N "(cached) $ECHO_C" >&6
3719
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3720
# We make a subdir and do the tests there. Otherwise we can end up
3721
# making bogus files that we don't know about and never remove. For
3722
# instance it was reported that on HP-UX the gcc test will end up
3723
# making a dummy file named `D' -- because `-MD' means `put the output
3726
# Copy depcomp to subdir because otherwise we won't find it if we're
3727
# using a relative directory.
3728
cp "$am_depcomp" conftest.dir
3730
# We will build objects and dependencies in a subdirectory because
3731
# it helps to detect inapplicable dependency modes. For instance
3732
# both Tru64's cc and ICC support -MD to output dependencies as a
3733
# side effect of compilation, but ICC will put the dependencies in
3734
# the current directory while Tru64 will put them in the object
3738
am_cv_CC_dependencies_compiler_type=none
3739
if test "$am_compiler_list" = ""; then
3740
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3742
for depmode in $am_compiler_list; do
3743
# Setup a source with many dependencies, because some compilers
3744
# like to wrap large dependency lists on column 80 (with \), and
3745
# we should not choose a depcomp mode which is confused by this.
3747
# We need to recreate these files for each test, as the compiler may
3748
# overwrite some of them when testing with obscure command lines.
3749
# This happens at least with the AIX C compiler.
3751
for i in 1 2 3 4 5 6; do
3752
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3753
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3754
# Solaris 8's {/usr,}/bin/sh.
3755
touch sub/conftst$i.h
3757
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3761
# after this tag, mechanisms are not by side-effect, so they'll
3762
# only be used when explicitly requested
3763
if test "x$enable_dependency_tracking" = xyes; then
3771
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3772
# mode. It turns out that the SunPro C++ compiler does not properly
3773
# handle `-M -o', and we need to detect this.
3774
if depmode=$depmode \
3775
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3776
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3777
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3778
>/dev/null 2>conftest.err &&
3779
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3780
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3781
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3782
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3783
# icc doesn't choke on unknown options, it will just issue warnings
3784
# or remarks (even with -Werror). So we grep stderr for any message
3785
# that says an option was ignored or not supported.
3786
# When given -MP, icc 7.0 and 7.1 complain thusly:
3787
# icc: Command line warning: ignoring option '-M'; no argument required
3788
# The diagnosis changed in icc 8.0:
3789
# icc: Command line remark: option '-MP' not supported
3790
if (grep 'ignoring option' conftest.err ||
3791
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3792
am_cv_CC_dependencies_compiler_type=$depmode
3801
am_cv_CC_dependencies_compiler_type=none
3805
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3806
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3807
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3810
test "x$enable_dependency_tracking" != xno \
3811
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3813
am__fastdepCC_FALSE='#'
3815
am__fastdepCC_TRUE='#'
3816
am__fastdepCC_FALSE=
3821
# Checks for libraries.
3824
{ echo "$as_me:$LINENO: checking for forkpty in -lutil" >&5
3825
echo $ECHO_N "checking for forkpty in -lutil... $ECHO_C" >&6; }
3826
if test "${ac_cv_lib_util_forkpty+set}" = set; then
3827
echo $ECHO_N "(cached) $ECHO_C" >&6
3829
ac_check_lib_save_LIBS=$LIBS
3831
cat >conftest.$ac_ext <<_ACEOF
3834
cat confdefs.h >>conftest.$ac_ext
3835
cat >>conftest.$ac_ext <<_ACEOF
3836
/* end confdefs.h. */
3838
/* Override any GCC internal prototype to avoid an error.
3839
Use char because int might match the return type of a GCC
3840
builtin and then its argument prototype would still apply. */
3853
rm -f conftest.$ac_objext conftest$ac_exeext
3854
if { (ac_try="$ac_link"
3856
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3857
*) ac_try_echo=$ac_try;;
3859
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3860
(eval "$ac_link") 2>conftest.er1
3862
grep -v '^ *+' conftest.er1 >conftest.err
3864
cat conftest.err >&5
3865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866
(exit $ac_status); } && {
3867
test -z "$ac_c_werror_flag" ||
3868
test ! -s conftest.err
3869
} && test -s conftest$ac_exeext &&
3870
$as_test_x conftest$ac_exeext; then
3871
ac_cv_lib_util_forkpty=yes
3873
echo "$as_me: failed program was:" >&5
3874
sed 's/^/| /' conftest.$ac_ext >&5
3876
ac_cv_lib_util_forkpty=no
3879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3880
conftest$ac_exeext conftest.$ac_ext
3881
LIBS=$ac_check_lib_save_LIBS
3883
{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_forkpty" >&5
3884
echo "${ECHO_T}$ac_cv_lib_util_forkpty" >&6; }
3885
if test $ac_cv_lib_util_forkpty = yes; then
3886
cat >>confdefs.h <<_ACEOF
3887
#define HAVE_LIBUTIL 1
3893
{ { echo "$as_me:$LINENO: error: Missing required library" >&5
3894
echo "$as_me: error: Missing required library" >&2;}
3895
{ (exit 1); exit 1; }; }
3899
# Checks for header files.
3901
ac_cpp='$CPP $CPPFLAGS'
3902
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3905
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3906
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3907
# On Suns, sometimes $CPP names a directory.
3908
if test -n "$CPP" && test -d "$CPP"; then
3911
if test -z "$CPP"; then
3912
if test "${ac_cv_prog_CPP+set}" = set; then
3913
echo $ECHO_N "(cached) $ECHO_C" >&6
3915
# Double quotes because CPP needs to be expanded
3916
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3919
for ac_c_preproc_warn_flag in '' yes
3921
# Use a header file that comes with gcc, so configuring glibc
3922
# with a fresh cross-compiler works.
3923
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3924
# <limits.h> exists even on freestanding compilers.
3925
# On the NeXT, cc -E runs the code through the compiler's parser,
3926
# not just through cpp. "Syntax error" is here to catch this case.
3927
cat >conftest.$ac_ext <<_ACEOF
3930
cat confdefs.h >>conftest.$ac_ext
3931
cat >>conftest.$ac_ext <<_ACEOF
3932
/* end confdefs.h. */
3934
# include <limits.h>
3936
# include <assert.h>
3940
if { (ac_try="$ac_cpp conftest.$ac_ext"
3942
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943
*) ac_try_echo=$ac_try;;
3945
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3946
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3948
grep -v '^ *+' conftest.er1 >conftest.err
3950
cat conftest.err >&5
3951
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952
(exit $ac_status); } >/dev/null && {
3953
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3954
test ! -s conftest.err
3958
echo "$as_me: failed program was:" >&5
3959
sed 's/^/| /' conftest.$ac_ext >&5
3961
# Broken: fails on valid input.
3965
rm -f conftest.err conftest.$ac_ext
3967
# OK, works on sane cases. Now check whether nonexistent headers
3968
# can be detected and how.
3969
cat >conftest.$ac_ext <<_ACEOF
3972
cat confdefs.h >>conftest.$ac_ext
3973
cat >>conftest.$ac_ext <<_ACEOF
3974
/* end confdefs.h. */
3975
#include <ac_nonexistent.h>
3977
if { (ac_try="$ac_cpp conftest.$ac_ext"
3979
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3980
*) ac_try_echo=$ac_try;;
3982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3983
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3985
grep -v '^ *+' conftest.er1 >conftest.err
3987
cat conftest.err >&5
3988
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989
(exit $ac_status); } >/dev/null && {
3990
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3991
test ! -s conftest.err
3993
# Broken: success on invalid input.
3996
echo "$as_me: failed program was:" >&5
3997
sed 's/^/| /' conftest.$ac_ext >&5
3999
# Passes both tests.
4004
rm -f conftest.err conftest.$ac_ext
4007
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4008
rm -f conftest.err conftest.$ac_ext
4009
if $ac_preproc_ok; then
4021
{ echo "$as_me:$LINENO: result: $CPP" >&5
4022
echo "${ECHO_T}$CPP" >&6; }
4024
for ac_c_preproc_warn_flag in '' yes
4026
# Use a header file that comes with gcc, so configuring glibc
4027
# with a fresh cross-compiler works.
4028
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4029
# <limits.h> exists even on freestanding compilers.
4030
# On the NeXT, cc -E runs the code through the compiler's parser,
4031
# not just through cpp. "Syntax error" is here to catch this case.
4032
cat >conftest.$ac_ext <<_ACEOF
4035
cat confdefs.h >>conftest.$ac_ext
4036
cat >>conftest.$ac_ext <<_ACEOF
4037
/* end confdefs.h. */
4039
# include <limits.h>
4041
# include <assert.h>
4045
if { (ac_try="$ac_cpp conftest.$ac_ext"
4047
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048
*) ac_try_echo=$ac_try;;
4050
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4051
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4053
grep -v '^ *+' conftest.er1 >conftest.err
4055
cat conftest.err >&5
4056
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057
(exit $ac_status); } >/dev/null && {
4058
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4059
test ! -s conftest.err
4063
echo "$as_me: failed program was:" >&5
4064
sed 's/^/| /' conftest.$ac_ext >&5
4066
# Broken: fails on valid input.
4070
rm -f conftest.err conftest.$ac_ext
4072
# OK, works on sane cases. Now check whether nonexistent headers
4073
# can be detected and how.
4074
cat >conftest.$ac_ext <<_ACEOF
4077
cat confdefs.h >>conftest.$ac_ext
4078
cat >>conftest.$ac_ext <<_ACEOF
4079
/* end confdefs.h. */
4080
#include <ac_nonexistent.h>
4082
if { (ac_try="$ac_cpp conftest.$ac_ext"
4084
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085
*) ac_try_echo=$ac_try;;
4087
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4088
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4090
grep -v '^ *+' conftest.er1 >conftest.err
4092
cat conftest.err >&5
4093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094
(exit $ac_status); } >/dev/null && {
4095
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4096
test ! -s conftest.err
4098
# Broken: success on invalid input.
4101
echo "$as_me: failed program was:" >&5
4102
sed 's/^/| /' conftest.$ac_ext >&5
4104
# Passes both tests.
4109
rm -f conftest.err conftest.$ac_ext
4112
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4113
rm -f conftest.err conftest.$ac_ext
4114
if $ac_preproc_ok; then
4117
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4118
See \`config.log' for more details." >&5
4119
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4120
See \`config.log' for more details." >&2;}
4121
{ (exit 1); exit 1; }; }
4125
ac_cpp='$CPP $CPPFLAGS'
4126
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4127
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4128
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4131
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4132
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4133
if test "${ac_cv_path_GREP+set}" = set; then
4134
echo $ECHO_N "(cached) $ECHO_C" >&6
4136
# Extract the first word of "grep ggrep" to use in msg output
4137
if test -z "$GREP"; then
4138
set dummy grep ggrep; ac_prog_name=$2
4139
if test "${ac_cv_path_GREP+set}" = set; then
4140
echo $ECHO_N "(cached) $ECHO_C" >&6
4142
ac_path_GREP_found=false
4143
# Loop through the user's path and test for each of PROGNAME-LIST
4144
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4148
test -z "$as_dir" && as_dir=.
4149
for ac_prog in grep ggrep; do
4150
for ac_exec_ext in '' $ac_executable_extensions; do
4151
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4152
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4153
# Check for GNU ac_path_GREP and select it if it is found.
4154
# Check for GNU $ac_path_GREP
4155
case `"$ac_path_GREP" --version 2>&1` in
4157
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4160
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4163
cat "conftest.in" "conftest.in" >"conftest.tmp"
4164
mv "conftest.tmp" "conftest.in"
4165
cp "conftest.in" "conftest.nl"
4166
echo 'GREP' >> "conftest.nl"
4167
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4168
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4169
ac_count=`expr $ac_count + 1`
4170
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4171
# Best one so far, save it but keep looking for a better one
4172
ac_cv_path_GREP="$ac_path_GREP"
4173
ac_path_GREP_max=$ac_count
4175
# 10*(2^10) chars as input seems more than enough
4176
test $ac_count -gt 10 && break
4178
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4182
$ac_path_GREP_found && break 3
4192
GREP="$ac_cv_path_GREP"
4193
if test -z "$GREP"; then
4194
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4195
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4196
{ (exit 1); exit 1; }; }
4200
ac_cv_path_GREP=$GREP
4205
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4206
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4207
GREP="$ac_cv_path_GREP"
4210
{ echo "$as_me:$LINENO: checking for egrep" >&5
4211
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4212
if test "${ac_cv_path_EGREP+set}" = set; then
4213
echo $ECHO_N "(cached) $ECHO_C" >&6
4215
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4216
then ac_cv_path_EGREP="$GREP -E"
4218
# Extract the first word of "egrep" to use in msg output
4219
if test -z "$EGREP"; then
4220
set dummy egrep; ac_prog_name=$2
4221
if test "${ac_cv_path_EGREP+set}" = set; then
4222
echo $ECHO_N "(cached) $ECHO_C" >&6
4224
ac_path_EGREP_found=false
4225
# Loop through the user's path and test for each of PROGNAME-LIST
4226
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4227
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4230
test -z "$as_dir" && as_dir=.
4231
for ac_prog in egrep; do
4232
for ac_exec_ext in '' $ac_executable_extensions; do
4233
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4234
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4235
# Check for GNU ac_path_EGREP and select it if it is found.
4236
# Check for GNU $ac_path_EGREP
4237
case `"$ac_path_EGREP" --version 2>&1` in
4239
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4242
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4245
cat "conftest.in" "conftest.in" >"conftest.tmp"
4246
mv "conftest.tmp" "conftest.in"
4247
cp "conftest.in" "conftest.nl"
4248
echo 'EGREP' >> "conftest.nl"
4249
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4250
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4251
ac_count=`expr $ac_count + 1`
4252
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4253
# Best one so far, save it but keep looking for a better one
4254
ac_cv_path_EGREP="$ac_path_EGREP"
4255
ac_path_EGREP_max=$ac_count
4257
# 10*(2^10) chars as input seems more than enough
4258
test $ac_count -gt 10 && break
4260
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4264
$ac_path_EGREP_found && break 3
4274
EGREP="$ac_cv_path_EGREP"
4275
if test -z "$EGREP"; then
4276
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4277
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4278
{ (exit 1); exit 1; }; }
4282
ac_cv_path_EGREP=$EGREP
4288
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4289
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4290
EGREP="$ac_cv_path_EGREP"
4293
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4294
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4295
if test "${ac_cv_header_stdc+set}" = set; then
4296
echo $ECHO_N "(cached) $ECHO_C" >&6
4298
cat >conftest.$ac_ext <<_ACEOF
4301
cat confdefs.h >>conftest.$ac_ext
4302
cat >>conftest.$ac_ext <<_ACEOF
4303
/* end confdefs.h. */
4317
rm -f conftest.$ac_objext
4318
if { (ac_try="$ac_compile"
4320
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4321
*) ac_try_echo=$ac_try;;
4323
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4324
(eval "$ac_compile") 2>conftest.er1
4326
grep -v '^ *+' conftest.er1 >conftest.err
4328
cat conftest.err >&5
4329
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330
(exit $ac_status); } && {
4331
test -z "$ac_c_werror_flag" ||
4332
test ! -s conftest.err
4333
} && test -s conftest.$ac_objext; then
4334
ac_cv_header_stdc=yes
4336
echo "$as_me: failed program was:" >&5
4337
sed 's/^/| /' conftest.$ac_ext >&5
4339
ac_cv_header_stdc=no
4342
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4344
if test $ac_cv_header_stdc = yes; then
4345
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4346
cat >conftest.$ac_ext <<_ACEOF
4349
cat confdefs.h >>conftest.$ac_ext
4350
cat >>conftest.$ac_ext <<_ACEOF
4351
/* end confdefs.h. */
4355
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4356
$EGREP "memchr" >/dev/null 2>&1; then
4359
ac_cv_header_stdc=no
4365
if test $ac_cv_header_stdc = yes; then
4366
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4367
cat >conftest.$ac_ext <<_ACEOF
4370
cat confdefs.h >>conftest.$ac_ext
4371
cat >>conftest.$ac_ext <<_ACEOF
4372
/* end confdefs.h. */
4376
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4377
$EGREP "free" >/dev/null 2>&1; then
4380
ac_cv_header_stdc=no
4386
if test $ac_cv_header_stdc = yes; then
4387
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4388
if test "$cross_compiling" = yes; then
4391
cat >conftest.$ac_ext <<_ACEOF
4394
cat confdefs.h >>conftest.$ac_ext
4395
cat >>conftest.$ac_ext <<_ACEOF
4396
/* end confdefs.h. */
4399
#if ((' ' & 0x0FF) == 0x020)
4400
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4401
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4403
# define ISLOWER(c) \
4404
(('a' <= (c) && (c) <= 'i') \
4405
|| ('j' <= (c) && (c) <= 'r') \
4406
|| ('s' <= (c) && (c) <= 'z'))
4407
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4410
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4415
for (i = 0; i < 256; i++)
4416
if (XOR (islower (i), ISLOWER (i))
4417
|| toupper (i) != TOUPPER (i))
4422
rm -f conftest$ac_exeext
4423
if { (ac_try="$ac_link"
4425
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4426
*) ac_try_echo=$ac_try;;
4428
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4429
(eval "$ac_link") 2>&5
4431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4433
{ (case "(($ac_try" in
4434
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4435
*) ac_try_echo=$ac_try;;
4437
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4438
(eval "$ac_try") 2>&5
4440
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441
(exit $ac_status); }; }; then
4444
echo "$as_me: program exited with status $ac_status" >&5
4445
echo "$as_me: failed program was:" >&5
4446
sed 's/^/| /' conftest.$ac_ext >&5
4449
ac_cv_header_stdc=no
4451
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4457
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4458
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4459
if test $ac_cv_header_stdc = yes; then
4461
cat >>confdefs.h <<\_ACEOF
4462
#define STDC_HEADERS 1
4467
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4477
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4478
inttypes.h stdint.h unistd.h
4480
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4481
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4482
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4483
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4484
echo $ECHO_N "(cached) $ECHO_C" >&6
4486
cat >conftest.$ac_ext <<_ACEOF
4489
cat confdefs.h >>conftest.$ac_ext
4490
cat >>conftest.$ac_ext <<_ACEOF
4491
/* end confdefs.h. */
4492
$ac_includes_default
4494
#include <$ac_header>
4496
rm -f conftest.$ac_objext
4497
if { (ac_try="$ac_compile"
4499
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4500
*) ac_try_echo=$ac_try;;
4502
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4503
(eval "$ac_compile") 2>conftest.er1
4505
grep -v '^ *+' conftest.er1 >conftest.err
4507
cat conftest.err >&5
4508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509
(exit $ac_status); } && {
4510
test -z "$ac_c_werror_flag" ||
4511
test ! -s conftest.err
4512
} && test -s conftest.$ac_objext; then
4513
eval "$as_ac_Header=yes"
4515
echo "$as_me: failed program was:" >&5
4516
sed 's/^/| /' conftest.$ac_ext >&5
4518
eval "$as_ac_Header=no"
4521
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523
ac_res=`eval echo '${'$as_ac_Header'}'`
4524
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4525
echo "${ECHO_T}$ac_res" >&6; }
4526
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4527
cat >>confdefs.h <<_ACEOF
4528
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4545
for ac_header in arpa/inet.h fcntl.h netinet/in.h sys/ioctl.h sys/socket.h sys/time.h termios.h utmp.h pty.h
4547
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4548
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4549
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4550
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4551
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4552
echo $ECHO_N "(cached) $ECHO_C" >&6
4554
ac_res=`eval echo '${'$as_ac_Header'}'`
4555
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4556
echo "${ECHO_T}$ac_res" >&6; }
4558
# Is the header compilable?
4559
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4560
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4561
cat >conftest.$ac_ext <<_ACEOF
4564
cat confdefs.h >>conftest.$ac_ext
4565
cat >>conftest.$ac_ext <<_ACEOF
4566
/* end confdefs.h. */
4567
$ac_includes_default
4568
#include <$ac_header>
4570
rm -f conftest.$ac_objext
4571
if { (ac_try="$ac_compile"
4573
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4574
*) ac_try_echo=$ac_try;;
4576
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4577
(eval "$ac_compile") 2>conftest.er1
4579
grep -v '^ *+' conftest.er1 >conftest.err
4581
cat conftest.err >&5
4582
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583
(exit $ac_status); } && {
4584
test -z "$ac_c_werror_flag" ||
4585
test ! -s conftest.err
4586
} && test -s conftest.$ac_objext; then
4587
ac_header_compiler=yes
4589
echo "$as_me: failed program was:" >&5
4590
sed 's/^/| /' conftest.$ac_ext >&5
4592
ac_header_compiler=no
4595
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4596
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4597
echo "${ECHO_T}$ac_header_compiler" >&6; }
4599
# Is the header present?
4600
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4601
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4602
cat >conftest.$ac_ext <<_ACEOF
4605
cat confdefs.h >>conftest.$ac_ext
4606
cat >>conftest.$ac_ext <<_ACEOF
4607
/* end confdefs.h. */
4608
#include <$ac_header>
4610
if { (ac_try="$ac_cpp conftest.$ac_ext"
4612
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4613
*) ac_try_echo=$ac_try;;
4615
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4616
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4618
grep -v '^ *+' conftest.er1 >conftest.err
4620
cat conftest.err >&5
4621
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622
(exit $ac_status); } >/dev/null && {
4623
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4624
test ! -s conftest.err
4626
ac_header_preproc=yes
4628
echo "$as_me: failed program was:" >&5
4629
sed 's/^/| /' conftest.$ac_ext >&5
4631
ac_header_preproc=no
4634
rm -f conftest.err conftest.$ac_ext
4635
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4636
echo "${ECHO_T}$ac_header_preproc" >&6; }
4638
# So? What about this header?
4639
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4641
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4642
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4643
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4644
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4645
ac_header_preproc=yes
4648
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4649
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4650
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4651
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4652
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4653
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4654
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4655
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4656
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4657
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4658
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4659
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4661
## ------------------------------------ ##
4662
## Report this to tech-talk@aps.anl.gov ##
4663
## ------------------------------------ ##
4665
) | sed "s/^/$as_me: WARNING: /" >&2
4668
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4669
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4670
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4671
echo $ECHO_N "(cached) $ECHO_C" >&6
4673
eval "$as_ac_Header=\$ac_header_preproc"
4675
ac_res=`eval echo '${'$as_ac_Header'}'`
4676
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4677
echo "${ECHO_T}$ac_res" >&6; }
4680
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4681
cat >>confdefs.h <<_ACEOF
4682
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4686
{ { echo "$as_me:$LINENO: error: Missing required header(s)" >&5
4687
echo "$as_me: error: Missing required header(s)" >&2;}
4688
{ (exit 1); exit 1; }; }
4694
# Checks for typedefs, structures, and compiler characteristics.
4695
{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4696
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
4697
if test "${ac_cv_header_stdbool_h+set}" = set; then
4698
echo $ECHO_N "(cached) $ECHO_C" >&6
4700
cat >conftest.$ac_ext <<_ACEOF
4703
cat confdefs.h >>conftest.$ac_ext
4704
cat >>conftest.$ac_ext <<_ACEOF
4705
/* end confdefs.h. */
4707
#include <stdbool.h>
4709
"error: bool is not defined"
4712
"error: false is not defined"
4715
"error: false is not 0"
4718
"error: true is not defined"
4721
"error: true is not 1"
4723
#ifndef __bool_true_false_are_defined
4724
"error: __bool_true_false_are_defined is not defined"
4727
struct s { _Bool s: 1; _Bool t; } s;
4729
char a[true == 1 ? 1 : -1];
4730
char b[false == 0 ? 1 : -1];
4731
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4732
char d[(bool) 0.5 == true ? 1 : -1];
4734
char f[(_Bool) 0.0 == false ? 1 : -1];
4736
char h[sizeof (_Bool)];
4738
enum { j = false, k = true, l = false * true, m = true * 256 };
4740
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4741
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4742
# if defined __xlc__ || defined __GNUC__
4743
/* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4744
reported by James Lemley on 2005-10-05; see
4745
http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4746
This test is not quite right, since xlc is allowed to
4747
reject this program, as the initializer for xlcbug is
4748
not one of the forms that C requires support for.
4749
However, doing the test right would require a runtime
4750
test, and that would make cross-compilation harder.
4751
Let us hope that IBM fixes the xlc bug, and also adds
4752
support for this kind of constant expression. In the
4753
meantime, this test will reject xlc, which is OK, since
4754
our stdbool.h substitute should suffice. We also test
4755
this with GCC, where it should work, to detect more
4756
quickly whether someone messes up the test in the
4758
char digs[] = "0123456789";
4759
int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4761
/* Catch a bug in an HP-UX C compiler. See
4762
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4763
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4774
/* Refer to every declared value, to avoid compiler optimizations. */
4775
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4776
+ !m + !n + !o + !p + !q + !pq);
4782
rm -f conftest.$ac_objext
4783
if { (ac_try="$ac_compile"
4785
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786
*) ac_try_echo=$ac_try;;
4788
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4789
(eval "$ac_compile") 2>conftest.er1
4791
grep -v '^ *+' conftest.er1 >conftest.err
4793
cat conftest.err >&5
4794
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795
(exit $ac_status); } && {
4796
test -z "$ac_c_werror_flag" ||
4797
test ! -s conftest.err
4798
} && test -s conftest.$ac_objext; then
4799
ac_cv_header_stdbool_h=yes
4801
echo "$as_me: failed program was:" >&5
4802
sed 's/^/| /' conftest.$ac_ext >&5
4804
ac_cv_header_stdbool_h=no
4807
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4809
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4810
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
4811
{ echo "$as_me:$LINENO: checking for _Bool" >&5
4812
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
4813
if test "${ac_cv_type__Bool+set}" = set; then
4814
echo $ECHO_N "(cached) $ECHO_C" >&6
4816
cat >conftest.$ac_ext <<_ACEOF
4819
cat confdefs.h >>conftest.$ac_ext
4820
cat >>conftest.$ac_ext <<_ACEOF
4821
/* end confdefs.h. */
4822
$ac_includes_default
4823
typedef _Bool ac__type_new_;
4827
if ((ac__type_new_ *) 0)
4829
if (sizeof (ac__type_new_))
4835
rm -f conftest.$ac_objext
4836
if { (ac_try="$ac_compile"
4838
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839
*) ac_try_echo=$ac_try;;
4841
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4842
(eval "$ac_compile") 2>conftest.er1
4844
grep -v '^ *+' conftest.er1 >conftest.err
4846
cat conftest.err >&5
4847
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848
(exit $ac_status); } && {
4849
test -z "$ac_c_werror_flag" ||
4850
test ! -s conftest.err
4851
} && test -s conftest.$ac_objext; then
4852
ac_cv_type__Bool=yes
4854
echo "$as_me: failed program was:" >&5
4855
sed 's/^/| /' conftest.$ac_ext >&5
4860
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4862
{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4863
echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
4864
if test $ac_cv_type__Bool = yes; then
4866
cat >>confdefs.h <<_ACEOF
4867
#define HAVE__BOOL 1
4873
if test $ac_cv_header_stdbool_h = yes; then
4875
cat >>confdefs.h <<\_ACEOF
4876
#define HAVE_STDBOOL_H 1
4881
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4882
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4883
if test "${ac_cv_c_const+set}" = set; then
4884
echo $ECHO_N "(cached) $ECHO_C" >&6
4886
cat >conftest.$ac_ext <<_ACEOF
4889
cat confdefs.h >>conftest.$ac_ext
4890
cat >>conftest.$ac_ext <<_ACEOF
4891
/* end confdefs.h. */
4896
/* FIXME: Include the comments suggested by Paul. */
4898
/* Ultrix mips cc rejects this. */
4899
typedef int charset[2];
4901
/* SunOS 4.1.1 cc rejects this. */
4902
char const *const *pcpcc;
4904
/* NEC SVR4.0.2 mips cc rejects this. */
4905
struct point {int x, y;};
4906
static struct point const zero = {0,0};
4907
/* AIX XL C 1.02.0.0 rejects this.
4908
It does not let you subtract one const X* pointer from another in
4909
an arm of an if-expression whose if-part is not a constant
4911
const char *g = "string";
4912
pcpcc = &g + (g ? g-g : 0);
4913
/* HPUX 7.0 cc rejects these. */
4915
ppc = (char**) pcpcc;
4916
pcpcc = (char const *const *) ppc;
4917
{ /* SCO 3.2v4 cc rejects this. */
4919
char const *s = 0 ? (char *) 0 : (char const *) 0;
4924
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4926
const int *foo = &x[0];
4929
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4930
typedef const int *iptr;
4934
{ /* AIX XL C 1.02.0.0 rejects this saying
4935
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4936
struct s { int j; const int *ap[3]; };
4937
struct s *b; b->j = 5;
4939
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4943
return !cs[0] && !zero.x;
4950
rm -f conftest.$ac_objext
4951
if { (ac_try="$ac_compile"
4953
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4954
*) ac_try_echo=$ac_try;;
4956
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4957
(eval "$ac_compile") 2>conftest.er1
4959
grep -v '^ *+' conftest.er1 >conftest.err
4961
cat conftest.err >&5
4962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963
(exit $ac_status); } && {
4964
test -z "$ac_c_werror_flag" ||
4965
test ! -s conftest.err
4966
} && test -s conftest.$ac_objext; then
4969
echo "$as_me: failed program was:" >&5
4970
sed 's/^/| /' conftest.$ac_ext >&5
4975
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4977
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4978
echo "${ECHO_T}$ac_cv_c_const" >&6; }
4979
if test $ac_cv_c_const = no; then
4981
cat >>confdefs.h <<\_ACEOF
4987
{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
4988
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
4989
if test "${ac_cv_type_uid_t+set}" = set; then
4990
echo $ECHO_N "(cached) $ECHO_C" >&6
4992
cat >conftest.$ac_ext <<_ACEOF
4995
cat confdefs.h >>conftest.$ac_ext
4996
cat >>conftest.$ac_ext <<_ACEOF
4997
/* end confdefs.h. */
4998
#include <sys/types.h>
5001
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5002
$EGREP "uid_t" >/dev/null 2>&1; then
5003
ac_cv_type_uid_t=yes
5010
{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5011
echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
5012
if test $ac_cv_type_uid_t = no; then
5014
cat >>confdefs.h <<\_ACEOF
5019
cat >>confdefs.h <<\_ACEOF
5025
{ echo "$as_me:$LINENO: checking for mode_t" >&5
5026
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
5027
if test "${ac_cv_type_mode_t+set}" = set; then
5028
echo $ECHO_N "(cached) $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
$ac_includes_default
5037
typedef mode_t ac__type_new_;
5041
if ((ac__type_new_ *) 0)
5043
if (sizeof (ac__type_new_))
5049
rm -f conftest.$ac_objext
5050
if { (ac_try="$ac_compile"
5052
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5053
*) ac_try_echo=$ac_try;;
5055
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5056
(eval "$ac_compile") 2>conftest.er1
5058
grep -v '^ *+' conftest.er1 >conftest.err
5060
cat conftest.err >&5
5061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062
(exit $ac_status); } && {
5063
test -z "$ac_c_werror_flag" ||
5064
test ! -s conftest.err
5065
} && test -s conftest.$ac_objext; then
5066
ac_cv_type_mode_t=yes
5068
echo "$as_me: failed program was:" >&5
5069
sed 's/^/| /' conftest.$ac_ext >&5
5071
ac_cv_type_mode_t=no
5074
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5076
{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5077
echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
5078
if test $ac_cv_type_mode_t = yes; then
5082
cat >>confdefs.h <<_ACEOF
5088
{ echo "$as_me:$LINENO: checking for pid_t" >&5
5089
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
5090
if test "${ac_cv_type_pid_t+set}" = set; then
5091
echo $ECHO_N "(cached) $ECHO_C" >&6
5093
cat >conftest.$ac_ext <<_ACEOF
5096
cat confdefs.h >>conftest.$ac_ext
5097
cat >>conftest.$ac_ext <<_ACEOF
5098
/* end confdefs.h. */
5099
$ac_includes_default
5100
typedef pid_t ac__type_new_;
5104
if ((ac__type_new_ *) 0)
5106
if (sizeof (ac__type_new_))
5112
rm -f conftest.$ac_objext
5113
if { (ac_try="$ac_compile"
5115
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5116
*) ac_try_echo=$ac_try;;
5118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5119
(eval "$ac_compile") 2>conftest.er1
5121
grep -v '^ *+' conftest.er1 >conftest.err
5123
cat conftest.err >&5
5124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125
(exit $ac_status); } && {
5126
test -z "$ac_c_werror_flag" ||
5127
test ! -s conftest.err
5128
} && test -s conftest.$ac_objext; then
5129
ac_cv_type_pid_t=yes
5131
echo "$as_me: failed program was:" >&5
5132
sed 's/^/| /' conftest.$ac_ext >&5
5137
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5139
{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5140
echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
5141
if test $ac_cv_type_pid_t = yes; then
5145
cat >>confdefs.h <<_ACEOF
5151
{ echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
5152
echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6; }
5153
if test "${ac_cv_c_restrict+set}" = set; then
5154
echo $ECHO_N "(cached) $ECHO_C" >&6
5157
# Try the official restrict keyword, then gcc's __restrict, and
5158
# the less common variants.
5159
for ac_kw in restrict __restrict __restrict__ _Restrict; do
5160
cat >conftest.$ac_ext <<_ACEOF
5163
cat confdefs.h >>conftest.$ac_ext
5164
cat >>conftest.$ac_ext <<_ACEOF
5165
/* end confdefs.h. */
5166
typedef int * int_ptr;
5167
int foo (int_ptr $ac_kw ip) {
5181
rm -f conftest.$ac_objext
5182
if { (ac_try="$ac_compile"
5184
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5185
*) ac_try_echo=$ac_try;;
5187
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5188
(eval "$ac_compile") 2>conftest.er1
5190
grep -v '^ *+' conftest.er1 >conftest.err
5192
cat conftest.err >&5
5193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194
(exit $ac_status); } && {
5195
test -z "$ac_c_werror_flag" ||
5196
test ! -s conftest.err
5197
} && test -s conftest.$ac_objext; then
5198
ac_cv_c_restrict=$ac_kw
5200
echo "$as_me: failed program was:" >&5
5201
sed 's/^/| /' conftest.$ac_ext >&5
5206
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5207
test "$ac_cv_c_restrict" != no && break
5211
{ echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5
5212
echo "${ECHO_T}$ac_cv_c_restrict" >&6; }
5213
case $ac_cv_c_restrict in
5216
cat >>confdefs.h <<\_ACEOF
5220
*) cat >>confdefs.h <<_ACEOF
5221
#define restrict $ac_cv_c_restrict
5226
{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5227
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5228
if test "${ac_cv_struct_tm+set}" = set; then
5229
echo $ECHO_N "(cached) $ECHO_C" >&6
5231
cat >conftest.$ac_ext <<_ACEOF
5234
cat confdefs.h >>conftest.$ac_ext
5235
cat >>conftest.$ac_ext <<_ACEOF
5236
/* end confdefs.h. */
5237
#include <sys/types.h>
5244
int *p = &tm.tm_sec;
5250
rm -f conftest.$ac_objext
5251
if { (ac_try="$ac_compile"
5253
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5254
*) ac_try_echo=$ac_try;;
5256
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5257
(eval "$ac_compile") 2>conftest.er1
5259
grep -v '^ *+' conftest.er1 >conftest.err
5261
cat conftest.err >&5
5262
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263
(exit $ac_status); } && {
5264
test -z "$ac_c_werror_flag" ||
5265
test ! -s conftest.err
5266
} && test -s conftest.$ac_objext; then
5267
ac_cv_struct_tm=time.h
5269
echo "$as_me: failed program was:" >&5
5270
sed 's/^/| /' conftest.$ac_ext >&5
5272
ac_cv_struct_tm=sys/time.h
5275
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5277
{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5278
echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5279
if test $ac_cv_struct_tm = sys/time.h; then
5281
cat >>confdefs.h <<\_ACEOF
5282
#define TM_IN_SYS_TIME 1
5288
# Checks for library functions.
5290
for ac_header in vfork.h
5292
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5293
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5294
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5295
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5296
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5297
echo $ECHO_N "(cached) $ECHO_C" >&6
5299
ac_res=`eval echo '${'$as_ac_Header'}'`
5300
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5301
echo "${ECHO_T}$ac_res" >&6; }
5303
# Is the header compilable?
5304
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5305
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5306
cat >conftest.$ac_ext <<_ACEOF
5309
cat confdefs.h >>conftest.$ac_ext
5310
cat >>conftest.$ac_ext <<_ACEOF
5311
/* end confdefs.h. */
5312
$ac_includes_default
5313
#include <$ac_header>
5315
rm -f conftest.$ac_objext
5316
if { (ac_try="$ac_compile"
5318
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5319
*) ac_try_echo=$ac_try;;
5321
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5322
(eval "$ac_compile") 2>conftest.er1
5324
grep -v '^ *+' conftest.er1 >conftest.err
5326
cat conftest.err >&5
5327
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328
(exit $ac_status); } && {
5329
test -z "$ac_c_werror_flag" ||
5330
test ! -s conftest.err
5331
} && test -s conftest.$ac_objext; then
5332
ac_header_compiler=yes
5334
echo "$as_me: failed program was:" >&5
5335
sed 's/^/| /' conftest.$ac_ext >&5
5337
ac_header_compiler=no
5340
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5341
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5342
echo "${ECHO_T}$ac_header_compiler" >&6; }
5344
# Is the header present?
5345
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5346
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5347
cat >conftest.$ac_ext <<_ACEOF
5350
cat confdefs.h >>conftest.$ac_ext
5351
cat >>conftest.$ac_ext <<_ACEOF
5352
/* end confdefs.h. */
5353
#include <$ac_header>
5355
if { (ac_try="$ac_cpp conftest.$ac_ext"
5357
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5358
*) ac_try_echo=$ac_try;;
5360
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5361
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5363
grep -v '^ *+' conftest.er1 >conftest.err
5365
cat conftest.err >&5
5366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367
(exit $ac_status); } >/dev/null && {
5368
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5369
test ! -s conftest.err
5371
ac_header_preproc=yes
5373
echo "$as_me: failed program was:" >&5
5374
sed 's/^/| /' conftest.$ac_ext >&5
5376
ac_header_preproc=no
5379
rm -f conftest.err conftest.$ac_ext
5380
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5381
echo "${ECHO_T}$ac_header_preproc" >&6; }
5383
# So? What about this header?
5384
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5386
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5387
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5388
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5389
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5390
ac_header_preproc=yes
5393
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5394
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5395
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5396
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5397
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5398
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5399
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5400
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5401
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5402
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5403
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5404
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5406
## ------------------------------------ ##
5407
## Report this to tech-talk@aps.anl.gov ##
5408
## ------------------------------------ ##
5410
) | sed "s/^/$as_me: WARNING: /" >&2
5413
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5414
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5415
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5416
echo $ECHO_N "(cached) $ECHO_C" >&6
5418
eval "$as_ac_Header=\$ac_header_preproc"
5420
ac_res=`eval echo '${'$as_ac_Header'}'`
5421
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5422
echo "${ECHO_T}$ac_res" >&6; }
5425
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5426
cat >>confdefs.h <<_ACEOF
5427
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5436
for ac_func in fork vfork
5438
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5439
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5440
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5441
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5442
echo $ECHO_N "(cached) $ECHO_C" >&6
5444
cat >conftest.$ac_ext <<_ACEOF
5447
cat confdefs.h >>conftest.$ac_ext
5448
cat >>conftest.$ac_ext <<_ACEOF
5449
/* end confdefs.h. */
5450
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5451
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5452
#define $ac_func innocuous_$ac_func
5454
/* System header to define __stub macros and hopefully few prototypes,
5455
which can conflict with char $ac_func (); below.
5456
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5457
<limits.h> exists even on freestanding compilers. */
5460
# include <limits.h>
5462
# include <assert.h>
5467
/* Override any GCC internal prototype to avoid an error.
5468
Use char because int might match the return type of a GCC
5469
builtin and then its argument prototype would still apply. */
5474
/* The GNU C library defines this for functions which it implements
5475
to always fail with ENOSYS. Some functions are actually named
5476
something starting with __ and the normal name is an alias. */
5477
#if defined __stub_$ac_func || defined __stub___$ac_func
5489
rm -f conftest.$ac_objext conftest$ac_exeext
5490
if { (ac_try="$ac_link"
5492
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5493
*) ac_try_echo=$ac_try;;
5495
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5496
(eval "$ac_link") 2>conftest.er1
5498
grep -v '^ *+' conftest.er1 >conftest.err
5500
cat conftest.err >&5
5501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502
(exit $ac_status); } && {
5503
test -z "$ac_c_werror_flag" ||
5504
test ! -s conftest.err
5505
} && test -s conftest$ac_exeext &&
5506
$as_test_x conftest$ac_exeext; then
5507
eval "$as_ac_var=yes"
5509
echo "$as_me: failed program was:" >&5
5510
sed 's/^/| /' conftest.$ac_ext >&5
5512
eval "$as_ac_var=no"
5515
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5516
conftest$ac_exeext conftest.$ac_ext
5518
ac_res=`eval echo '${'$as_ac_var'}'`
5519
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5520
echo "${ECHO_T}$ac_res" >&6; }
5521
if test `eval echo '${'$as_ac_var'}'` = yes; then
5522
cat >>confdefs.h <<_ACEOF
5523
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5529
if test "x$ac_cv_func_fork" = xyes; then
5530
{ echo "$as_me:$LINENO: checking for working fork" >&5
5531
echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
5532
if test "${ac_cv_func_fork_works+set}" = set; then
5533
echo $ECHO_N "(cached) $ECHO_C" >&6
5535
if test "$cross_compiling" = yes; then
5536
ac_cv_func_fork_works=cross
5538
cat >conftest.$ac_ext <<_ACEOF
5541
cat confdefs.h >>conftest.$ac_ext
5542
cat >>conftest.$ac_ext <<_ACEOF
5543
/* end confdefs.h. */
5544
$ac_includes_default
5549
/* By Ruediger Kuhlmann. */
5556
rm -f conftest$ac_exeext
5557
if { (ac_try="$ac_link"
5559
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5560
*) ac_try_echo=$ac_try;;
5562
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5563
(eval "$ac_link") 2>&5
5565
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5567
{ (case "(($ac_try" in
5568
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5569
*) ac_try_echo=$ac_try;;
5571
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5572
(eval "$ac_try") 2>&5
5574
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575
(exit $ac_status); }; }; then
5576
ac_cv_func_fork_works=yes
5578
echo "$as_me: program exited with status $ac_status" >&5
5579
echo "$as_me: failed program was:" >&5
5580
sed 's/^/| /' conftest.$ac_ext >&5
5583
ac_cv_func_fork_works=no
5585
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5590
{ echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
5591
echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
5594
ac_cv_func_fork_works=$ac_cv_func_fork
5596
if test "x$ac_cv_func_fork_works" = xcross; then
5598
*-*-amigaos* | *-*-msdosdjgpp*)
5599
# Override, as these systems have only a dummy fork() stub
5600
ac_cv_func_fork_works=no
5603
ac_cv_func_fork_works=yes
5606
{ echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5607
echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5609
ac_cv_func_vfork_works=$ac_cv_func_vfork
5610
if test "x$ac_cv_func_vfork" = xyes; then
5611
{ echo "$as_me:$LINENO: checking for working vfork" >&5
5612
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
5613
if test "${ac_cv_func_vfork_works+set}" = set; then
5614
echo $ECHO_N "(cached) $ECHO_C" >&6
5616
if test "$cross_compiling" = yes; then
5617
ac_cv_func_vfork_works=cross
5619
cat >conftest.$ac_ext <<_ACEOF
5622
cat confdefs.h >>conftest.$ac_ext
5623
cat >>conftest.$ac_ext <<_ACEOF
5624
/* end confdefs.h. */
5625
/* Thanks to Paul Eggert for this test. */
5626
$ac_includes_default
5627
#include <sys/wait.h>
5631
/* On some sparc systems, changes by the child to local and incoming
5632
argument registers are propagated back to the parent. The compiler
5633
is told about this with #include <vfork.h>, but some compilers
5634
(e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5635
static variable whose address is put into a register that is
5636
clobbered by the vfork. */
5639
sparc_address_test (int arg)
5641
sparc_address_test (arg) int arg;
5662
pid_t parent = getpid ();
5665
sparc_address_test (0);
5670
/* Here is another test for sparc vfork register problems. This
5671
test uses lots of local variables, at least as many local
5672
variables as main has allocated so far including compiler
5673
temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5674
4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5675
reuse the register of parent for one of the local variables,
5676
since it will think that parent can't possibly be used any more
5677
in this routine. Assigning to the local variable will thus
5678
munge parent in the parent process. */
5680
p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5681
p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5682
/* Convince the compiler that p..p7 are live; otherwise, it might
5683
use the same hardware register for all 8 local variables. */
5684
if (p != p1 || p != p2 || p != p3 || p != p4
5685
|| p != p5 || p != p6 || p != p7)
5688
/* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5689
from child file descriptors. If the child closes a descriptor
5690
before it execs or exits, this munges the parent's descriptor
5691
as well. Test for this by closing stdout in the child. */
5692
_exit(close(fileno(stdout)) != 0);
5697
while (wait(&status) != child)
5700
/* Was there some problem with vforking? */
5703
/* Did the child fail? (This shouldn't happen.) */
5706
/* Did the vfork/compiler bug occur? */
5707
|| parent != getpid()
5709
/* Did the file descriptor bug occur? */
5710
|| fstat(fileno(stdout), &st) != 0
5715
rm -f conftest$ac_exeext
5716
if { (ac_try="$ac_link"
5718
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5719
*) ac_try_echo=$ac_try;;
5721
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5722
(eval "$ac_link") 2>&5
5724
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5726
{ (case "(($ac_try" in
5727
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5728
*) ac_try_echo=$ac_try;;
5730
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5731
(eval "$ac_try") 2>&5
5733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734
(exit $ac_status); }; }; then
5735
ac_cv_func_vfork_works=yes
5737
echo "$as_me: program exited with status $ac_status" >&5
5738
echo "$as_me: failed program was:" >&5
5739
sed 's/^/| /' conftest.$ac_ext >&5
5742
ac_cv_func_vfork_works=no
5744
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5749
{ echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
5750
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
5753
if test "x$ac_cv_func_fork_works" = xcross; then
5754
ac_cv_func_vfork_works=$ac_cv_func_vfork
5755
{ echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5756
echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5759
if test "x$ac_cv_func_vfork_works" = xyes; then
5761
cat >>confdefs.h <<\_ACEOF
5762
#define HAVE_WORKING_VFORK 1
5767
cat >>confdefs.h <<\_ACEOF
5772
if test "x$ac_cv_func_fork_works" = xyes; then
5774
cat >>confdefs.h <<\_ACEOF
5775
#define HAVE_WORKING_FORK 1
5780
{ echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
5781
echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6; }
5782
if test "${ac_cv_type_getgroups+set}" = set; then
5783
echo $ECHO_N "(cached) $ECHO_C" >&6
5785
if test "$cross_compiling" = yes; then
5786
ac_cv_type_getgroups=cross
5788
cat >conftest.$ac_ext <<_ACEOF
5791
cat confdefs.h >>conftest.$ac_ext
5792
cat >>conftest.$ac_ext <<_ACEOF
5793
/* end confdefs.h. */
5794
/* Thanks to Mike Rendell for this test. */
5795
$ac_includes_default
5798
#define MAX(x, y) ((x) > (y) ? (x) : (y))
5805
union { gid_t gval; long int lval; } val;
5808
for (i = 0; i < NGID; i++)
5809
gidset[i] = val.gval;
5810
n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
5812
/* Exit non-zero if getgroups seems to require an array of ints. This
5813
happens when gid_t is short int but getgroups modifies an array
5815
return n > 0 && gidset[n] != val.gval;
5818
rm -f conftest$ac_exeext
5819
if { (ac_try="$ac_link"
5821
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5822
*) ac_try_echo=$ac_try;;
5824
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5825
(eval "$ac_link") 2>&5
5827
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5829
{ (case "(($ac_try" in
5830
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5831
*) ac_try_echo=$ac_try;;
5833
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5834
(eval "$ac_try") 2>&5
5836
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837
(exit $ac_status); }; }; then
5838
ac_cv_type_getgroups=gid_t
5840
echo "$as_me: program exited with status $ac_status" >&5
5841
echo "$as_me: failed program was:" >&5
5842
sed 's/^/| /' conftest.$ac_ext >&5
5845
ac_cv_type_getgroups=int
5847
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5851
if test $ac_cv_type_getgroups = cross; then
5852
cat >conftest.$ac_ext <<_ACEOF
5855
cat confdefs.h >>conftest.$ac_ext
5856
cat >>conftest.$ac_ext <<_ACEOF
5857
/* end confdefs.h. */
5861
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5862
$EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then
5863
ac_cv_type_getgroups=gid_t
5865
ac_cv_type_getgroups=int
5871
{ echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
5872
echo "${ECHO_T}$ac_cv_type_getgroups" >&6; }
5874
cat >>confdefs.h <<_ACEOF
5875
#define GETGROUPS_T $ac_cv_type_getgroups
5879
{ echo "$as_me:$LINENO: checking for size_t" >&5
5880
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5881
if test "${ac_cv_type_size_t+set}" = set; then
5882
echo $ECHO_N "(cached) $ECHO_C" >&6
5884
cat >conftest.$ac_ext <<_ACEOF
5887
cat confdefs.h >>conftest.$ac_ext
5888
cat >>conftest.$ac_ext <<_ACEOF
5889
/* end confdefs.h. */
5890
$ac_includes_default
5891
typedef size_t ac__type_new_;
5895
if ((ac__type_new_ *) 0)
5897
if (sizeof (ac__type_new_))
5903
rm -f conftest.$ac_objext
5904
if { (ac_try="$ac_compile"
5906
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5907
*) ac_try_echo=$ac_try;;
5909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5910
(eval "$ac_compile") 2>conftest.er1
5912
grep -v '^ *+' conftest.er1 >conftest.err
5914
cat conftest.err >&5
5915
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916
(exit $ac_status); } && {
5917
test -z "$ac_c_werror_flag" ||
5918
test ! -s conftest.err
5919
} && test -s conftest.$ac_objext; then
5920
ac_cv_type_size_t=yes
5922
echo "$as_me: failed program was:" >&5
5923
sed 's/^/| /' conftest.$ac_ext >&5
5925
ac_cv_type_size_t=no
5928
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5930
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5931
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5932
if test $ac_cv_type_size_t = yes; then
5936
cat >>confdefs.h <<_ACEOF
5937
#define size_t unsigned int
5942
{ echo "$as_me:$LINENO: checking for getgroups" >&5
5943
echo $ECHO_N "checking for getgroups... $ECHO_C" >&6; }
5944
if test "${ac_cv_func_getgroups+set}" = set; then
5945
echo $ECHO_N "(cached) $ECHO_C" >&6
5947
cat >conftest.$ac_ext <<_ACEOF
5950
cat confdefs.h >>conftest.$ac_ext
5951
cat >>conftest.$ac_ext <<_ACEOF
5952
/* end confdefs.h. */
5953
/* Define getgroups to an innocuous variant, in case <limits.h> declares getgroups.
5954
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5955
#define getgroups innocuous_getgroups
5957
/* System header to define __stub macros and hopefully few prototypes,
5958
which can conflict with char getgroups (); below.
5959
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5960
<limits.h> exists even on freestanding compilers. */
5963
# include <limits.h>
5965
# include <assert.h>
5970
/* Override any GCC internal prototype to avoid an error.
5971
Use char because int might match the return type of a GCC
5972
builtin and then its argument prototype would still apply. */
5977
/* The GNU C library defines this for functions which it implements
5978
to always fail with ENOSYS. Some functions are actually named
5979
something starting with __ and the normal name is an alias. */
5980
#if defined __stub_getgroups || defined __stub___getgroups
5987
return getgroups ();
5992
rm -f conftest.$ac_objext conftest$ac_exeext
5993
if { (ac_try="$ac_link"
5995
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5996
*) ac_try_echo=$ac_try;;
5998
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5999
(eval "$ac_link") 2>conftest.er1
6001
grep -v '^ *+' conftest.er1 >conftest.err
6003
cat conftest.err >&5
6004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005
(exit $ac_status); } && {
6006
test -z "$ac_c_werror_flag" ||
6007
test ! -s conftest.err
6008
} && test -s conftest$ac_exeext &&
6009
$as_test_x conftest$ac_exeext; then
6010
ac_cv_func_getgroups=yes
6012
echo "$as_me: failed program was:" >&5
6013
sed 's/^/| /' conftest.$ac_ext >&5
6015
ac_cv_func_getgroups=no
6018
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6019
conftest$ac_exeext conftest.$ac_ext
6021
{ echo "$as_me:$LINENO: result: $ac_cv_func_getgroups" >&5
6022
echo "${ECHO_T}$ac_cv_func_getgroups" >&6; }
6025
# If we don't yet have getgroups, see if it's in -lbsd.
6026
# This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
6028
if test $ac_cv_func_getgroups = no; then
6029
{ echo "$as_me:$LINENO: checking for getgroups in -lbsd" >&5
6030
echo $ECHO_N "checking for getgroups in -lbsd... $ECHO_C" >&6; }
6031
if test "${ac_cv_lib_bsd_getgroups+set}" = set; then
6032
echo $ECHO_N "(cached) $ECHO_C" >&6
6034
ac_check_lib_save_LIBS=$LIBS
6036
cat >conftest.$ac_ext <<_ACEOF
6039
cat confdefs.h >>conftest.$ac_ext
6040
cat >>conftest.$ac_ext <<_ACEOF
6041
/* end confdefs.h. */
6043
/* Override any GCC internal prototype to avoid an error.
6044
Use char because int might match the return type of a GCC
6045
builtin and then its argument prototype would still apply. */
6053
return getgroups ();
6058
rm -f conftest.$ac_objext conftest$ac_exeext
6059
if { (ac_try="$ac_link"
6061
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6062
*) ac_try_echo=$ac_try;;
6064
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6065
(eval "$ac_link") 2>conftest.er1
6067
grep -v '^ *+' conftest.er1 >conftest.err
6069
cat conftest.err >&5
6070
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071
(exit $ac_status); } && {
6072
test -z "$ac_c_werror_flag" ||
6073
test ! -s conftest.err
6074
} && test -s conftest$ac_exeext &&
6075
$as_test_x conftest$ac_exeext; then
6076
ac_cv_lib_bsd_getgroups=yes
6078
echo "$as_me: failed program was:" >&5
6079
sed 's/^/| /' conftest.$ac_ext >&5
6081
ac_cv_lib_bsd_getgroups=no
6084
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6085
conftest$ac_exeext conftest.$ac_ext
6086
LIBS=$ac_check_lib_save_LIBS
6088
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_getgroups" >&5
6089
echo "${ECHO_T}$ac_cv_lib_bsd_getgroups" >&6; }
6090
if test $ac_cv_lib_bsd_getgroups = yes; then
6096
# Run the program to test the functionality of the system-supplied
6097
# getgroups function only if there is such a function.
6098
if test $ac_cv_func_getgroups = yes; then
6099
{ echo "$as_me:$LINENO: checking for working getgroups" >&5
6100
echo $ECHO_N "checking for working getgroups... $ECHO_C" >&6; }
6101
if test "${ac_cv_func_getgroups_works+set}" = set; then
6102
echo $ECHO_N "(cached) $ECHO_C" >&6
6104
if test "$cross_compiling" = yes; then
6105
ac_cv_func_getgroups_works=no
6107
cat >conftest.$ac_ext <<_ACEOF
6110
cat confdefs.h >>conftest.$ac_ext
6111
cat >>conftest.$ac_ext <<_ACEOF
6112
/* end confdefs.h. */
6113
$ac_includes_default
6117
/* On Ultrix 4.3, getgroups (0, 0) always fails. */
6118
return getgroups (0, 0) == -1;
6123
rm -f conftest$ac_exeext
6124
if { (ac_try="$ac_link"
6126
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6127
*) ac_try_echo=$ac_try;;
6129
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6130
(eval "$ac_link") 2>&5
6132
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6134
{ (case "(($ac_try" in
6135
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6136
*) ac_try_echo=$ac_try;;
6138
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6139
(eval "$ac_try") 2>&5
6141
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142
(exit $ac_status); }; }; then
6143
ac_cv_func_getgroups_works=yes
6145
echo "$as_me: program exited with status $ac_status" >&5
6146
echo "$as_me: failed program was:" >&5
6147
sed 's/^/| /' conftest.$ac_ext >&5
6150
ac_cv_func_getgroups_works=no
6152
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6158
{ echo "$as_me:$LINENO: result: $ac_cv_func_getgroups_works" >&5
6159
echo "${ECHO_T}$ac_cv_func_getgroups_works" >&6; }
6160
if test $ac_cv_func_getgroups_works = yes; then
6162
cat >>confdefs.h <<\_ACEOF
6163
#define HAVE_GETGROUPS 1
6170
if test $ac_cv_c_compiler_gnu = yes; then
6171
{ echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
6172
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
6173
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
6174
echo $ECHO_N "(cached) $ECHO_C" >&6
6176
ac_pattern="Autoconf.*'x'"
6177
cat >conftest.$ac_ext <<_ACEOF
6180
cat confdefs.h >>conftest.$ac_ext
6181
cat >>conftest.$ac_ext <<_ACEOF
6182
/* end confdefs.h. */
6186
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6187
$EGREP "$ac_pattern" >/dev/null 2>&1; then
6188
ac_cv_prog_gcc_traditional=yes
6190
ac_cv_prog_gcc_traditional=no
6195
if test $ac_cv_prog_gcc_traditional = no; then
6196
cat >conftest.$ac_ext <<_ACEOF
6199
cat confdefs.h >>conftest.$ac_ext
6200
cat >>conftest.$ac_ext <<_ACEOF
6201
/* end confdefs.h. */
6205
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6206
$EGREP "$ac_pattern" >/dev/null 2>&1; then
6207
ac_cv_prog_gcc_traditional=yes
6213
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
6214
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
6215
if test $ac_cv_prog_gcc_traditional = yes; then
6216
CC="$CC -traditional"
6221
for ac_header in stdlib.h
6223
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6224
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6225
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6226
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6227
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6228
echo $ECHO_N "(cached) $ECHO_C" >&6
6230
ac_res=`eval echo '${'$as_ac_Header'}'`
6231
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6232
echo "${ECHO_T}$ac_res" >&6; }
6234
# Is the header compilable?
6235
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6236
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6237
cat >conftest.$ac_ext <<_ACEOF
6240
cat confdefs.h >>conftest.$ac_ext
6241
cat >>conftest.$ac_ext <<_ACEOF
6242
/* end confdefs.h. */
6243
$ac_includes_default
6244
#include <$ac_header>
6246
rm -f conftest.$ac_objext
6247
if { (ac_try="$ac_compile"
6249
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6250
*) ac_try_echo=$ac_try;;
6252
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6253
(eval "$ac_compile") 2>conftest.er1
6255
grep -v '^ *+' conftest.er1 >conftest.err
6257
cat conftest.err >&5
6258
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259
(exit $ac_status); } && {
6260
test -z "$ac_c_werror_flag" ||
6261
test ! -s conftest.err
6262
} && test -s conftest.$ac_objext; then
6263
ac_header_compiler=yes
6265
echo "$as_me: failed program was:" >&5
6266
sed 's/^/| /' conftest.$ac_ext >&5
6268
ac_header_compiler=no
6271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6272
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6273
echo "${ECHO_T}$ac_header_compiler" >&6; }
6275
# Is the header present?
6276
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6277
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6278
cat >conftest.$ac_ext <<_ACEOF
6281
cat confdefs.h >>conftest.$ac_ext
6282
cat >>conftest.$ac_ext <<_ACEOF
6283
/* end confdefs.h. */
6284
#include <$ac_header>
6286
if { (ac_try="$ac_cpp conftest.$ac_ext"
6288
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6289
*) ac_try_echo=$ac_try;;
6291
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6292
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6294
grep -v '^ *+' conftest.er1 >conftest.err
6296
cat conftest.err >&5
6297
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298
(exit $ac_status); } >/dev/null && {
6299
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6300
test ! -s conftest.err
6302
ac_header_preproc=yes
6304
echo "$as_me: failed program was:" >&5
6305
sed 's/^/| /' conftest.$ac_ext >&5
6307
ac_header_preproc=no
6310
rm -f conftest.err conftest.$ac_ext
6311
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6312
echo "${ECHO_T}$ac_header_preproc" >&6; }
6314
# So? What about this header?
6315
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6317
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6318
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6319
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6320
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6321
ac_header_preproc=yes
6324
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6325
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6326
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6327
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6328
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6329
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6330
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6331
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6332
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6333
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6334
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6335
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6337
## ------------------------------------ ##
6338
## Report this to tech-talk@aps.anl.gov ##
6339
## ------------------------------------ ##
6341
) | sed "s/^/$as_me: WARNING: /" >&2
6344
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6345
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6346
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6347
echo $ECHO_N "(cached) $ECHO_C" >&6
6349
eval "$as_ac_Header=\$ac_header_preproc"
6351
ac_res=`eval echo '${'$as_ac_Header'}'`
6352
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6353
echo "${ECHO_T}$ac_res" >&6; }
6356
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6357
cat >>confdefs.h <<_ACEOF
6358
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6365
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
6366
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
6367
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
6368
echo $ECHO_N "(cached) $ECHO_C" >&6
6370
if test "$cross_compiling" = yes; then
6371
ac_cv_func_malloc_0_nonnull=no
6373
cat >conftest.$ac_ext <<_ACEOF
6376
cat confdefs.h >>conftest.$ac_ext
6377
cat >>conftest.$ac_ext <<_ACEOF
6378
/* end confdefs.h. */
6379
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
6380
# include <stdlib.h>
6388
return ! malloc (0);
6393
rm -f conftest$ac_exeext
6394
if { (ac_try="$ac_link"
6396
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6397
*) ac_try_echo=$ac_try;;
6399
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6400
(eval "$ac_link") 2>&5
6402
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6404
{ (case "(($ac_try" in
6405
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6406
*) ac_try_echo=$ac_try;;
6408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6409
(eval "$ac_try") 2>&5
6411
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412
(exit $ac_status); }; }; then
6413
ac_cv_func_malloc_0_nonnull=yes
6415
echo "$as_me: program exited with status $ac_status" >&5
6416
echo "$as_me: failed program was:" >&5
6417
sed 's/^/| /' conftest.$ac_ext >&5
6420
ac_cv_func_malloc_0_nonnull=no
6422
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6427
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
6428
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
6429
if test $ac_cv_func_malloc_0_nonnull = yes; then
6431
cat >>confdefs.h <<\_ACEOF
6432
#define HAVE_MALLOC 1
6436
cat >>confdefs.h <<\_ACEOF
6437
#define HAVE_MALLOC 0
6440
case " $LIBOBJS " in
6441
*" malloc.$ac_objext "* ) ;;
6442
*) LIBOBJS="$LIBOBJS malloc.$ac_objext"
6447
cat >>confdefs.h <<\_ACEOF
6448
#define malloc rpl_malloc
6455
{ echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
6456
echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6; }
6457
if test "${ac_cv_func_setpgrp_void+set}" = set; then
6458
echo $ECHO_N "(cached) $ECHO_C" >&6
6460
if test "$cross_compiling" = yes; then
6461
{ { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
6462
echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
6463
{ (exit 1); exit 1; }; }
6465
cat >conftest.$ac_ext <<_ACEOF
6468
cat confdefs.h >>conftest.$ac_ext
6469
cat >>conftest.$ac_ext <<_ACEOF
6470
/* end confdefs.h. */
6471
$ac_includes_default
6475
/* If this system has a BSD-style setpgrp which takes arguments,
6476
setpgrp(1, 1) will fail with ESRCH and return -1, in that case
6477
exit successfully. */
6478
return setpgrp (1,1) != -1;
6483
rm -f conftest$ac_exeext
6484
if { (ac_try="$ac_link"
6486
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6487
*) ac_try_echo=$ac_try;;
6489
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6490
(eval "$ac_link") 2>&5
6492
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6494
{ (case "(($ac_try" in
6495
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6496
*) ac_try_echo=$ac_try;;
6498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6499
(eval "$ac_try") 2>&5
6501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502
(exit $ac_status); }; }; then
6503
ac_cv_func_setpgrp_void=no
6505
echo "$as_me: program exited with status $ac_status" >&5
6506
echo "$as_me: failed program was:" >&5
6507
sed 's/^/| /' conftest.$ac_ext >&5
6510
ac_cv_func_setpgrp_void=yes
6512
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6517
{ echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
6518
echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6; }
6519
if test $ac_cv_func_setpgrp_void = yes; then
6521
cat >>confdefs.h <<\_ACEOF
6522
#define SETPGRP_VOID 1
6527
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6528
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
6529
if test "${ac_cv_type_signal+set}" = set; then
6530
echo $ECHO_N "(cached) $ECHO_C" >&6
6532
cat >conftest.$ac_ext <<_ACEOF
6535
cat confdefs.h >>conftest.$ac_ext
6536
cat >>conftest.$ac_ext <<_ACEOF
6537
/* end confdefs.h. */
6538
#include <sys/types.h>
6544
return *(signal (0, 0)) (0) == 1;
6549
rm -f conftest.$ac_objext
6550
if { (ac_try="$ac_compile"
6552
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6553
*) ac_try_echo=$ac_try;;
6555
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6556
(eval "$ac_compile") 2>conftest.er1
6558
grep -v '^ *+' conftest.er1 >conftest.err
6560
cat conftest.err >&5
6561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562
(exit $ac_status); } && {
6563
test -z "$ac_c_werror_flag" ||
6564
test ! -s conftest.err
6565
} && test -s conftest.$ac_objext; then
6566
ac_cv_type_signal=int
6568
echo "$as_me: failed program was:" >&5
6569
sed 's/^/| /' conftest.$ac_ext >&5
6571
ac_cv_type_signal=void
6574
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6576
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6577
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
6579
cat >>confdefs.h <<_ACEOF
6580
#define RETSIGTYPE $ac_cv_type_signal
6584
{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
6585
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
6586
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
6587
echo $ECHO_N "(cached) $ECHO_C" >&6
6589
rm -f conftest.sym conftest.file
6591
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
6592
if test "$cross_compiling" = yes; then
6593
ac_cv_func_lstat_dereferences_slashed_symlink=no
6595
cat >conftest.$ac_ext <<_ACEOF
6598
cat confdefs.h >>conftest.$ac_ext
6599
cat >>conftest.$ac_ext <<_ACEOF
6600
/* end confdefs.h. */
6601
$ac_includes_default
6606
/* Linux will dereference the symlink and fail.
6607
That is better in the sense that it means we will not
6608
have to compile and use the lstat wrapper. */
6609
return lstat ("conftest.sym/", &sbuf) == 0;
6614
rm -f conftest$ac_exeext
6615
if { (ac_try="$ac_link"
6617
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6618
*) ac_try_echo=$ac_try;;
6620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6621
(eval "$ac_link") 2>&5
6623
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6625
{ (case "(($ac_try" in
6626
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6627
*) ac_try_echo=$ac_try;;
6629
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6630
(eval "$ac_try") 2>&5
6632
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633
(exit $ac_status); }; }; then
6634
ac_cv_func_lstat_dereferences_slashed_symlink=yes
6636
echo "$as_me: program exited with status $ac_status" >&5
6637
echo "$as_me: failed program was:" >&5
6638
sed 's/^/| /' conftest.$ac_ext >&5
6641
ac_cv_func_lstat_dereferences_slashed_symlink=no
6643
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6648
# If the `ln -s' command failed, then we probably don't even
6649
# have an lstat function.
6650
ac_cv_func_lstat_dereferences_slashed_symlink=no
6652
rm -f conftest.sym conftest.file
6655
{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
6656
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
6658
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
6660
cat >>confdefs.h <<_ACEOF
6661
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
6665
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
6666
case " $LIBOBJS " in
6667
*" lstat.$ac_objext "* ) ;;
6668
*) LIBOBJS="$LIBOBJS lstat.$ac_objext"
6674
{ echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
6675
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
6676
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
6677
echo $ECHO_N "(cached) $ECHO_C" >&6
6679
if test "$cross_compiling" = yes; then
6680
ac_cv_func_stat_empty_string_bug=yes
6682
cat >conftest.$ac_ext <<_ACEOF
6685
cat confdefs.h >>conftest.$ac_ext
6686
cat >>conftest.$ac_ext <<_ACEOF
6687
/* end confdefs.h. */
6688
$ac_includes_default
6693
return stat ("", &sbuf) == 0;
6698
rm -f conftest$ac_exeext
6699
if { (ac_try="$ac_link"
6701
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6702
*) ac_try_echo=$ac_try;;
6704
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6705
(eval "$ac_link") 2>&5
6707
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6709
{ (case "(($ac_try" in
6710
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6711
*) ac_try_echo=$ac_try;;
6713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6714
(eval "$ac_try") 2>&5
6716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717
(exit $ac_status); }; }; then
6718
ac_cv_func_stat_empty_string_bug=no
6720
echo "$as_me: program exited with status $ac_status" >&5
6721
echo "$as_me: failed program was:" >&5
6722
sed 's/^/| /' conftest.$ac_ext >&5
6725
ac_cv_func_stat_empty_string_bug=yes
6727
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6732
{ echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
6733
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
6734
if test $ac_cv_func_stat_empty_string_bug = yes; then
6735
case " $LIBOBJS " in
6736
*" stat.$ac_objext "* ) ;;
6737
*) LIBOBJS="$LIBOBJS stat.$ac_objext"
6742
cat >>confdefs.h <<_ACEOF
6743
#define HAVE_STAT_EMPTY_STRING_BUG 1
6749
for ac_func in strftime
6751
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6752
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6753
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6754
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6755
echo $ECHO_N "(cached) $ECHO_C" >&6
6757
cat >conftest.$ac_ext <<_ACEOF
6760
cat confdefs.h >>conftest.$ac_ext
6761
cat >>conftest.$ac_ext <<_ACEOF
6762
/* end confdefs.h. */
6763
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6764
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6765
#define $ac_func innocuous_$ac_func
6767
/* System header to define __stub macros and hopefully few prototypes,
6768
which can conflict with char $ac_func (); below.
6769
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6770
<limits.h> exists even on freestanding compilers. */
6773
# include <limits.h>
6775
# include <assert.h>
6780
/* Override any GCC internal prototype to avoid an error.
6781
Use char because int might match the return type of a GCC
6782
builtin and then its argument prototype would still apply. */
6787
/* The GNU C library defines this for functions which it implements
6788
to always fail with ENOSYS. Some functions are actually named
6789
something starting with __ and the normal name is an alias. */
6790
#if defined __stub_$ac_func || defined __stub___$ac_func
6802
rm -f conftest.$ac_objext conftest$ac_exeext
6803
if { (ac_try="$ac_link"
6805
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6806
*) ac_try_echo=$ac_try;;
6808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6809
(eval "$ac_link") 2>conftest.er1
6811
grep -v '^ *+' conftest.er1 >conftest.err
6813
cat conftest.err >&5
6814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815
(exit $ac_status); } && {
6816
test -z "$ac_c_werror_flag" ||
6817
test ! -s conftest.err
6818
} && test -s conftest$ac_exeext &&
6819
$as_test_x conftest$ac_exeext; then
6820
eval "$as_ac_var=yes"
6822
echo "$as_me: failed program was:" >&5
6823
sed 's/^/| /' conftest.$ac_ext >&5
6825
eval "$as_ac_var=no"
6828
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6829
conftest$ac_exeext conftest.$ac_ext
6831
ac_res=`eval echo '${'$as_ac_var'}'`
6832
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6833
echo "${ECHO_T}$ac_res" >&6; }
6834
if test `eval echo '${'$as_ac_var'}'` = yes; then
6835
cat >>confdefs.h <<_ACEOF
6836
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6840
# strftime is in -lintl on SCO UNIX.
6841
{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
6842
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
6843
if test "${ac_cv_lib_intl_strftime+set}" = set; then
6844
echo $ECHO_N "(cached) $ECHO_C" >&6
6846
ac_check_lib_save_LIBS=$LIBS
6848
cat >conftest.$ac_ext <<_ACEOF
6851
cat confdefs.h >>conftest.$ac_ext
6852
cat >>conftest.$ac_ext <<_ACEOF
6853
/* end confdefs.h. */
6855
/* Override any GCC internal prototype to avoid an error.
6856
Use char because int might match the return type of a GCC
6857
builtin and then its argument prototype would still apply. */
6870
rm -f conftest.$ac_objext conftest$ac_exeext
6871
if { (ac_try="$ac_link"
6873
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874
*) ac_try_echo=$ac_try;;
6876
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877
(eval "$ac_link") 2>conftest.er1
6879
grep -v '^ *+' conftest.er1 >conftest.err
6881
cat conftest.err >&5
6882
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883
(exit $ac_status); } && {
6884
test -z "$ac_c_werror_flag" ||
6885
test ! -s conftest.err
6886
} && test -s conftest$ac_exeext &&
6887
$as_test_x conftest$ac_exeext; then
6888
ac_cv_lib_intl_strftime=yes
6890
echo "$as_me: failed program was:" >&5
6891
sed 's/^/| /' conftest.$ac_ext >&5
6893
ac_cv_lib_intl_strftime=no
6896
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6897
conftest$ac_exeext conftest.$ac_ext
6898
LIBS=$ac_check_lib_save_LIBS
6900
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
6901
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
6902
if test $ac_cv_lib_intl_strftime = yes; then
6903
cat >>confdefs.h <<\_ACEOF
6904
#define HAVE_STRFTIME 1
6917
for ac_func in localtime_r socket strdup strerror
6919
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6920
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6921
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6922
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6923
echo $ECHO_N "(cached) $ECHO_C" >&6
6925
cat >conftest.$ac_ext <<_ACEOF
6928
cat confdefs.h >>conftest.$ac_ext
6929
cat >>conftest.$ac_ext <<_ACEOF
6930
/* end confdefs.h. */
6931
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6932
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6933
#define $ac_func innocuous_$ac_func
6935
/* System header to define __stub macros and hopefully few prototypes,
6936
which can conflict with char $ac_func (); below.
6937
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6938
<limits.h> exists even on freestanding compilers. */
6941
# include <limits.h>
6943
# include <assert.h>
6948
/* Override any GCC internal prototype to avoid an error.
6949
Use char because int might match the return type of a GCC
6950
builtin and then its argument prototype would still apply. */
6955
/* The GNU C library defines this for functions which it implements
6956
to always fail with ENOSYS. Some functions are actually named
6957
something starting with __ and the normal name is an alias. */
6958
#if defined __stub_$ac_func || defined __stub___$ac_func
6970
rm -f conftest.$ac_objext conftest$ac_exeext
6971
if { (ac_try="$ac_link"
6973
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6974
*) ac_try_echo=$ac_try;;
6976
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6977
(eval "$ac_link") 2>conftest.er1
6979
grep -v '^ *+' conftest.er1 >conftest.err
6981
cat conftest.err >&5
6982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983
(exit $ac_status); } && {
6984
test -z "$ac_c_werror_flag" ||
6985
test ! -s conftest.err
6986
} && test -s conftest$ac_exeext &&
6987
$as_test_x conftest$ac_exeext; then
6988
eval "$as_ac_var=yes"
6990
echo "$as_me: failed program was:" >&5
6991
sed 's/^/| /' conftest.$ac_ext >&5
6993
eval "$as_ac_var=no"
6996
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6997
conftest$ac_exeext conftest.$ac_ext
6999
ac_res=`eval echo '${'$as_ac_var'}'`
7000
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7001
echo "${ECHO_T}$ac_res" >&6; }
7002
if test `eval echo '${'$as_ac_var'}'` = yes; then
7003
cat >>confdefs.h <<_ACEOF
7004
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7008
{ { echo "$as_me:$LINENO: error: Missing required function(s)" >&5
7009
echo "$as_me: error: Missing required function(s)" >&2;}
7010
{ (exit 1); exit 1; }; }
7015
# Add configure option for access from anywhere
7016
# Check whether --enable-access-from-anywhere was given.
7017
if test "${enable_access_from_anywhere+set}" = set; then
7018
enableval=$enable_access_from_anywhere;
7020
enable_access_from_anywhere=no
7023
if test "x$enable_access_from_anywhere" != xno; then
7025
cat >>confdefs.h <<\_ACEOF
7026
#define ALLOW_FROM_ANYWHERE 1
7032
# Add configure option for creating EPICS build system Makefile
7034
# Check whether --with-epics-top was given.
7035
if test "${with_epics_top+set}" = set; then
7036
withval=$with_epics_top;
7041
if test "x$with_epics_top" != xno; then
7042
if test "x$with_epics_top" = xyes; then
7043
with_epics_top=../..
7045
use_epics_makefile=yes
7046
EPICS_TOP=$with_epics_top
7051
if test x$with_epics_top != xno; then
7053
WITH_EPICS_FALSE='#'
7060
# Check whether --enable-devel was given.
7061
if test "${enable_devel+set}" = set; then
7062
enableval=$enable_devel;
7065
if test x$enable_devel = xyes; then
7067
CFLAGS="$CFLAGS -Werror"
7068
CXXFLAGS="$CXXFLAGS -Werror"
7069
CPPFLAGS="$CPPFLAGS -DDEBUG"
7075
# Skip building documentation
7077
# Check whether --enable-doc was given.
7078
if test "${enable_doc+set}" = set; then
7079
enableval=$enable_doc;
7082
# If $enable_doc is:
7083
# no - Don't build or install generated documentation.
7084
# empty (default) - Install generated docs, but don't build.
7085
# Assumes they are already exist (ie dist. tarball)
7086
# yes - build and install generated documentation.
7088
if test x$enable_doc != xno; then
7090
INSTALL_DOC_FALSE='#'
7092
INSTALL_DOC_TRUE='#'
7096
if test x$enable_doc = xyes; then
7107
# Extract the first word of "$ac_prog", so it can be a program name with args.
7108
set dummy $ac_prog; ac_word=$2
7109
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7110
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7111
if test "${ac_cv_prog_A2X+set}" = set; then
7112
echo $ECHO_N "(cached) $ECHO_C" >&6
7114
if test -n "$A2X"; then
7115
ac_cv_prog_A2X="$A2X" # Let the user override the test.
7117
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7121
test -z "$as_dir" && as_dir=.
7122
for ac_exec_ext in '' $ac_executable_extensions; do
7123
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7124
ac_cv_prog_A2X="$ac_prog"
7125
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7135
if test -n "$A2X"; then
7136
{ echo "$as_me:$LINENO: result: $A2X" >&5
7137
echo "${ECHO_T}$A2X" >&6; }
7139
{ echo "$as_me:$LINENO: result: no" >&5
7140
echo "${ECHO_T}no" >&6; }
7144
test -n "$A2X" && break
7148
# These are used by a2x and must be present for it to function
7149
for ac_prog in asciidoc
7151
# Extract the first word of "$ac_prog", so it can be a program name with args.
7152
set dummy $ac_prog; ac_word=$2
7153
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7154
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7155
if test "${ac_cv_prog_ASCIIDOC+set}" = set; then
7156
echo $ECHO_N "(cached) $ECHO_C" >&6
7158
if test -n "$ASCIIDOC"; then
7159
ac_cv_prog_ASCIIDOC="$ASCIIDOC" # Let the user override the test.
7161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7165
test -z "$as_dir" && as_dir=.
7166
for ac_exec_ext in '' $ac_executable_extensions; do
7167
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7168
ac_cv_prog_ASCIIDOC="$ac_prog"
7169
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7178
ASCIIDOC=$ac_cv_prog_ASCIIDOC
7179
if test -n "$ASCIIDOC"; then
7180
{ echo "$as_me:$LINENO: result: $ASCIIDOC" >&5
7181
echo "${ECHO_T}$ASCIIDOC" >&6; }
7183
{ echo "$as_me:$LINENO: result: no" >&5
7184
echo "${ECHO_T}no" >&6; }
7188
test -n "$ASCIIDOC" && break
7191
for ac_prog in xmllint
7193
# Extract the first word of "$ac_prog", so it can be a program name with args.
7194
set dummy $ac_prog; ac_word=$2
7195
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7196
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7197
if test "${ac_cv_prog_XMLLINT+set}" = set; then
7198
echo $ECHO_N "(cached) $ECHO_C" >&6
7200
if test -n "$XMLLINT"; then
7201
ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
7203
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7207
test -z "$as_dir" && as_dir=.
7208
for ac_exec_ext in '' $ac_executable_extensions; do
7209
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7210
ac_cv_prog_XMLLINT="$ac_prog"
7211
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7220
XMLLINT=$ac_cv_prog_XMLLINT
7221
if test -n "$XMLLINT"; then
7222
{ echo "$as_me:$LINENO: result: $XMLLINT" >&5
7223
echo "${ECHO_T}$XMLLINT" >&6; }
7225
{ echo "$as_me:$LINENO: result: no" >&5
7226
echo "${ECHO_T}no" >&6; }
7230
test -n "$XMLLINT" && break
7233
for ac_prog in xsltproc
7235
# Extract the first word of "$ac_prog", so it can be a program name with args.
7236
set dummy $ac_prog; ac_word=$2
7237
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7238
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7239
if test "${ac_cv_prog_XSLTPROC+set}" = set; then
7240
echo $ECHO_N "(cached) $ECHO_C" >&6
7242
if test -n "$XSLTPROC"; then
7243
ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
7245
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249
test -z "$as_dir" && as_dir=.
7250
for ac_exec_ext in '' $ac_executable_extensions; do
7251
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7252
ac_cv_prog_XSLTPROC="$ac_prog"
7253
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7262
XSLTPROC=$ac_cv_prog_XSLTPROC
7263
if test -n "$XSLTPROC"; then
7264
{ echo "$as_me:$LINENO: result: $XSLTPROC" >&5
7265
echo "${ECHO_T}$XSLTPROC" >&6; }
7267
{ echo "$as_me:$LINENO: result: no" >&5
7268
echo "${ECHO_T}no" >&6; }
7272
test -n "$XSLTPROC" && break
7275
# a2x will use one of these
7276
for ac_prog in fop dblatex
7278
# Extract the first word of "$ac_prog", so it can be a program name with args.
7279
set dummy $ac_prog; ac_word=$2
7280
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7281
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7282
if test "${ac_cv_prog_PDFGEN+set}" = set; then
7283
echo $ECHO_N "(cached) $ECHO_C" >&6
7285
if test -n "$PDFGEN"; then
7286
ac_cv_prog_PDFGEN="$PDFGEN" # Let the user override the test.
7288
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292
test -z "$as_dir" && as_dir=.
7293
for ac_exec_ext in '' $ac_executable_extensions; do
7294
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7295
ac_cv_prog_PDFGEN="$ac_prog"
7296
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7305
PDFGEN=$ac_cv_prog_PDFGEN
7306
if test -n "$PDFGEN"; then
7307
{ echo "$as_me:$LINENO: result: $PDFGEN" >&5
7308
echo "${ECHO_T}$PDFGEN" >&6; }
7310
{ echo "$as_me:$LINENO: result: no" >&5
7311
echo "${ECHO_T}no" >&6; }
7315
test -n "$PDFGEN" && break
7319
if test x$enable_doc = xyes; then
7321
if test x$A2X = x; then
7322
{ { echo "$as_me:$LINENO: error: Missing a2x (from asciidoc)" >&5
7323
echo "$as_me: error: Missing a2x (from asciidoc)" >&2;}
7324
{ (exit 1); exit 1; }; }
7325
elif test x$ASCIIDOC = x; then
7326
{ { echo "$as_me:$LINENO: error: Missing asciidoc" >&5
7327
echo "$as_me: error: Missing asciidoc" >&2;}
7328
{ (exit 1); exit 1; }; }
7329
elif test x$XMLLINT = x; then
7330
{ { echo "$as_me:$LINENO: error: Missing xmllint" >&5
7331
echo "$as_me: error: Missing xmllint" >&2;}
7332
{ (exit 1); exit 1; }; }
7333
elif test x$XSLTPROC = x; then
7334
{ { echo "$as_me:$LINENO: error: Missing xsltproc" >&5
7335
echo "$as_me: error: Missing xsltproc" >&2;}
7336
{ (exit 1); exit 1; }; }
7337
elif test x$PDFGEN = x; then
7338
{ { echo "$as_me:$LINENO: error: Missing a docbook to pdf converter (fop or dblatex)" >&5
7339
echo "$as_me: error: Missing a docbook to pdf converter (fop or dblatex)" >&2;}
7340
{ (exit 1); exit 1; }; }
7345
elif test x$enable_doc != xno; then
7347
as_ac_File=`echo "ac_cv_file_${srcdir}/procServ.1" | $as_tr_sh`
7348
{ echo "$as_me:$LINENO: checking for ${srcdir}/procServ.1" >&5
7349
echo $ECHO_N "checking for ${srcdir}/procServ.1... $ECHO_C" >&6; }
7350
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
7351
echo $ECHO_N "(cached) $ECHO_C" >&6
7353
test "$cross_compiling" = yes &&
7354
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
7355
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
7356
{ (exit 1); exit 1; }; }
7357
if test -r "${srcdir}/procServ.1"; then
7358
eval "$as_ac_File=yes"
7360
eval "$as_ac_File=no"
7363
ac_res=`eval echo '${'$as_ac_File'}'`
7364
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7365
echo "${ECHO_T}$ac_res" >&6; }
7366
if test `eval echo '${'$as_ac_File'}'` = yes; then
7368
cat >>confdefs.h <<_ACEOF
7369
#define `echo "HAVE_${srcdir}/procServ.1" | $as_tr_cpp` 1
7374
{ { echo "$as_me:$LINENO: error: Documentation not found. Use --disable-doc to skip installing it, or --enable-doc to generate it" >&5
7375
echo "$as_me: error: Documentation not found. Use --disable-doc to skip installing it, or --enable-doc to generate it" >&2;}
7376
{ (exit 1); exit 1; }; }
7378
as_ac_File=`echo "ac_cv_file_${srcdir}/procServ.pdf" | $as_tr_sh`
7379
{ echo "$as_me:$LINENO: checking for ${srcdir}/procServ.pdf" >&5
7380
echo $ECHO_N "checking for ${srcdir}/procServ.pdf... $ECHO_C" >&6; }
7381
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
7382
echo $ECHO_N "(cached) $ECHO_C" >&6
7384
test "$cross_compiling" = yes &&
7385
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
7386
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
7387
{ (exit 1); exit 1; }; }
7388
if test -r "${srcdir}/procServ.pdf"; then
7389
eval "$as_ac_File=yes"
7391
eval "$as_ac_File=no"
7394
ac_res=`eval echo '${'$as_ac_File'}'`
7395
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7396
echo "${ECHO_T}$ac_res" >&6; }
7397
if test `eval echo '${'$as_ac_File'}'` = yes; then
7399
cat >>confdefs.h <<_ACEOF
7400
#define `echo "HAVE_${srcdir}/procServ.pdf" | $as_tr_cpp` 1
7405
{ { echo "$as_me:$LINENO: error: Documentation not found. Use --disable-doc to skip installing it, or --enable-doc to generate it" >&5
7406
echo "$as_me: error: Documentation not found. Use --disable-doc to skip installing it, or --enable-doc to generate it" >&2;}
7407
{ (exit 1); exit 1; }; }
7409
as_ac_File=`echo "ac_cv_file_${srcdir}/procServ.html" | $as_tr_sh`
7410
{ echo "$as_me:$LINENO: checking for ${srcdir}/procServ.html" >&5
7411
echo $ECHO_N "checking for ${srcdir}/procServ.html... $ECHO_C" >&6; }
7412
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
7413
echo $ECHO_N "(cached) $ECHO_C" >&6
7415
test "$cross_compiling" = yes &&
7416
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
7417
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
7418
{ (exit 1); exit 1; }; }
7419
if test -r "${srcdir}/procServ.html"; then
7420
eval "$as_ac_File=yes"
7422
eval "$as_ac_File=no"
7425
ac_res=`eval echo '${'$as_ac_File'}'`
7426
{ echo "$as_me:$LINENO: result: $ac_res" >&5
7427
echo "${ECHO_T}$ac_res" >&6; }
7428
if test `eval echo '${'$as_ac_File'}'` = yes; then
7430
cat >>confdefs.h <<_ACEOF
7431
#define `echo "HAVE_${srcdir}/procServ.html" | $as_tr_cpp` 1
7436
{ { echo "$as_me:$LINENO: error: Documentation not found. Use --disable-doc to skip installing it, or --enable-doc to generate it" >&5
7437
echo "$as_me: error: Documentation not found. Use --disable-doc to skip installing it, or --enable-doc to generate it" >&2;}
7438
{ (exit 1); exit 1; }; }
7445
# Clumsy workaround (waiting for AM_COND_IF in Automake 1.10.3) to use EPICS Makefile.in
7446
# Careful: while in "EPICS mode" you must remove Makefile.Automake.in before manually running autoreconf.
7447
# Better: Run "make maintainer-clean" then "make" which will clean up then autoreconf.
7448
ac_config_files="$ac_config_files Makefile"
7450
cat >confcache <<\_ACEOF
7451
# This file is a shell script that caches the results of configure
7452
# tests run on this system so they can be shared between configure
7453
# scripts and configure runs, see configure's option --config-cache.
7454
# It is not useful on other systems. If it contains results you don't
7455
# want to keep, you may remove or edit it.
7457
# config.status only pays attention to the cache file if you give it
7458
# the --recheck option to rerun configure.
7460
# `ac_cv_env_foo' variables (set or unset) will be overridden when
7461
# loading this file, other *unset* `ac_cv_foo' will be assigned the
7466
# The following way of writing the cache mishandles newlines in values,
7467
# but we know of no workaround that is simple, portable, and efficient.
7468
# So, we kill variables containing newlines.
7469
# Ultrix sh set writes to stderr and can't be redirected directly,
7470
# and sets the high bit in the cache file unless we assign to the vars.
7472
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7473
eval ac_val=\$$ac_var
7477
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7478
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7481
_ | IFS | as_nl) ;; #(
7482
*) $as_unset $ac_var ;;
7488
case $as_nl`(ac_space=' '; set) 2>&1` in #(
7489
*${as_nl}ac_space=\ *)
7490
# `set' does not quote correctly, so add quotes (double-quote
7491
# substitution turns \\\\ into \\, and sed turns \\ into \).
7494
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7497
# `set' quotes correctly as required by POSIX, so do not add quotes.
7498
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7507
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7509
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7511
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7512
if test -w "$cache_file"; then
7513
test "x$cache_file" != "x/dev/null" &&
7514
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
7515
echo "$as_me: updating cache $cache_file" >&6;}
7516
cat confcache >$cache_file
7518
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7519
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7524
test "x$prefix" = xNONE && prefix=$ac_default_prefix
7525
# Let make expand exec_prefix.
7526
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7528
# Transform confdefs.h into DEFS.
7529
# Protect against shell expansion while executing Makefile rules.
7530
# Protect against Makefile macro expansion.
7532
# If the first sed substitution is executed (which looks for macros that
7533
# take arguments), then branch to the quote section. Otherwise,
7534
# look for a macro that doesn't take arguments.
7538
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7540
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7544
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7557
DEFS=`sed -n "$ac_script" confdefs.h`
7562
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7563
# 1. Remove the extension, and $U if already installed.
7564
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7565
ac_i=`echo "$ac_i" | sed "$ac_script"`
7566
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7567
# will be set to the directory where LIBOBJS objects are built.
7568
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7569
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7573
LTLIBOBJS=$ac_ltlibobjs
7576
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7577
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7578
Usually this means the macro was only invoked conditionally." >&5
7579
echo "$as_me: error: conditional \"AMDEP\" was never defined.
7580
Usually this means the macro was only invoked conditionally." >&2;}
7581
{ (exit 1); exit 1; }; }
7583
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7584
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
7585
Usually this means the macro was only invoked conditionally." >&5
7586
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
7587
Usually this means the macro was only invoked conditionally." >&2;}
7588
{ (exit 1); exit 1; }; }
7590
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7591
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7592
Usually this means the macro was only invoked conditionally." >&5
7593
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7594
Usually this means the macro was only invoked conditionally." >&2;}
7595
{ (exit 1); exit 1; }; }
7597
if test -z "${WITH_EPICS_TRUE}" && test -z "${WITH_EPICS_FALSE}"; then
7598
{ { echo "$as_me:$LINENO: error: conditional \"WITH_EPICS\" was never defined.
7599
Usually this means the macro was only invoked conditionally." >&5
7600
echo "$as_me: error: conditional \"WITH_EPICS\" was never defined.
7601
Usually this means the macro was only invoked conditionally." >&2;}
7602
{ (exit 1); exit 1; }; }
7604
if test -z "${INSTALL_DOC_TRUE}" && test -z "${INSTALL_DOC_FALSE}"; then
7605
{ { echo "$as_me:$LINENO: error: conditional \"INSTALL_DOC\" was never defined.
7606
Usually this means the macro was only invoked conditionally." >&5
7607
echo "$as_me: error: conditional \"INSTALL_DOC\" was never defined.
7608
Usually this means the macro was only invoked conditionally." >&2;}
7609
{ (exit 1); exit 1; }; }
7611
if test -z "${BUILD_DOC_TRUE}" && test -z "${BUILD_DOC_FALSE}"; then
7612
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_DOC\" was never defined.
7613
Usually this means the macro was only invoked conditionally." >&5
7614
echo "$as_me: error: conditional \"BUILD_DOC\" was never defined.
7615
Usually this means the macro was only invoked conditionally." >&2;}
7616
{ (exit 1); exit 1; }; }
7619
: ${CONFIG_STATUS=./config.status}
7620
ac_clean_files_save=$ac_clean_files
7621
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7622
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7623
echo "$as_me: creating $CONFIG_STATUS" >&6;}
7624
cat >$CONFIG_STATUS <<_ACEOF
7626
# Generated by $as_me.
7627
# Run this file to recreate the current configuration.
7628
# Compiler output produced by configure, useful for debugging
7629
# configure, is in config.log if it exists.
7634
SHELL=\${CONFIG_SHELL-$SHELL}
7637
cat >>$CONFIG_STATUS <<\_ACEOF
7638
## --------------------- ##
7639
## M4sh Initialization. ##
7640
## --------------------- ##
7642
# Be more Bourne compatible
7643
DUALCASE=1; export DUALCASE # for MKS sh
7644
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7647
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7648
# is contrary to our usage. Disable this feature.
7649
alias -g '${1+"$@"}'='"$@"'
7650
setopt NO_GLOB_SUBST
7652
case `(set -o) 2>/dev/null` in
7653
*posix*) set -o posix ;;
7662
# Avoid depending upon Character Ranges.
7663
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7664
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7665
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7666
as_cr_digits='0123456789'
7667
as_cr_alnum=$as_cr_Letters$as_cr_digits
7669
# The user is always right.
7670
if test "${PATH_SEPARATOR+set}" != set; then
7671
echo "#! /bin/sh" >conf$$.sh
7672
echo "exit 0" >>conf$$.sh
7674
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7682
# Support unset when possible.
7683
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7691
# We need space, tab and new line, in precisely that order. Quoting is
7692
# there to prevent editors from complaining about space-tab.
7693
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7694
# splitting by setting IFS to empty value.)
7699
# Find who we are. Look in the path if we contain no directory separator.
7701
*[\\/]* ) as_myself=$0 ;;
7702
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7706
test -z "$as_dir" && as_dir=.
7707
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7713
# We did not find ourselves, most probably we were run as `sh COMMAND'
7714
# in which case we are not to be found in the path.
7715
if test "x$as_myself" = x; then
7718
if test ! -f "$as_myself"; then
7719
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7720
{ (exit 1); exit 1; }
7723
# Work around bugs in pre-3.0 UWIN ksh.
7724
for as_var in ENV MAIL MAILPATH
7725
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7733
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7734
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7735
LC_TELEPHONE LC_TIME
7737
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7738
eval $as_var=C; export $as_var
7740
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7744
# Required to use basename.
7745
if expr a : '\(a\)' >/dev/null 2>&1 &&
7746
test "X`expr 00001 : '.*\(...\)'`" = X001; then
7752
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7753
as_basename=basename
7759
# Name of the executable.
7760
as_me=`$as_basename -- "$0" ||
7761
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7762
X"$0" : 'X\(//\)$' \| \
7763
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7765
sed '/^.*\/\([^/][^/]*\)\/*$/{
7786
test "x$as_lineno_1" != "x$as_lineno_2" &&
7787
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7789
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7790
# uniformly replaced by the line number. The first 'sed' inserts a
7791
# line-number line after each line using $LINENO; the second 'sed'
7792
# does the real work. The second script uses 'N' to pair each
7793
# line-number line with the line containing $LINENO, and appends
7794
# trailing '-' during substitution so that $LINENO is not a special
7796
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7797
# scripts with optimization help from Paolo Bonzini. Blame Lee
7798
# E. McMahon (1931-1989) for sed's syntax. :-)
7810
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7814
chmod +x "$as_me.lineno" ||
7815
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7816
{ (exit 1); exit 1; }; }
7818
# Don't try to exec as it changes $[0], causing all sort of problems
7819
# (the dirname of $[0] is not the place where we might find the
7820
# original and so on. Autoconf is especially sensitive to this).
7822
# Exit status is that of the last command.
7827
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7833
ECHO_C= ECHO_N= ECHO_T=
7836
case `echo 'x\c'` in
7837
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
7844
if expr a : '\(a\)' >/dev/null 2>&1 &&
7845
test "X`expr 00001 : '.*\(...\)'`" = X001; then
7851
rm -f conf$$ conf$$.exe conf$$.file
7852
if test -d conf$$.dir; then
7853
rm -f conf$$.dir/conf$$.file
7859
if ln -s conf$$.file conf$$ 2>/dev/null; then
7861
# ... but there are two gotchas:
7862
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7863
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7864
# In both cases, we have to default to `cp -p'.
7865
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7867
elif ln conf$$.file conf$$ 2>/dev/null; then
7872
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7873
rmdir conf$$.dir 2>/dev/null
7875
if mkdir -p . 2>/dev/null; then
7878
test -d ./-p && rmdir ./-p
7882
if test -x / >/dev/null 2>&1; then
7885
if ls -dL / >/dev/null 2>&1; then
7892
if test -d "$1"; then
7898
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7899
???[sx]*):;;*)false;;esac;fi
7903
as_executable_p=$as_test_x
7905
# Sed expression to map a string onto a valid CPP name.
7906
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7908
# Sed expression to map a string onto a valid variable name.
7909
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7914
# Save the log message, to keep $[0] and so on meaningful, and to
7915
# report actual input values of CONFIG_FILES etc. instead of their
7916
# values after options handling.
7918
This file was extended by procServ Process Server $as_me 2.5.0, which was
7919
generated by GNU Autoconf 2.61. Invocation command line was
7921
CONFIG_FILES = $CONFIG_FILES
7922
CONFIG_HEADERS = $CONFIG_HEADERS
7923
CONFIG_LINKS = $CONFIG_LINKS
7924
CONFIG_COMMANDS = $CONFIG_COMMANDS
7927
on `(hostname || uname -n) 2>/dev/null | sed 1q`
7932
cat >>$CONFIG_STATUS <<_ACEOF
7933
# Files that config.status was made for.
7934
config_files="$ac_config_files"
7935
config_commands="$ac_config_commands"
7939
cat >>$CONFIG_STATUS <<\_ACEOF
7941
\`$as_me' instantiates files from templates according to the
7942
current configuration.
7944
Usage: $0 [OPTIONS] [FILE]...
7946
-h, --help print this help, then exit
7947
-V, --version print version number and configuration settings, then exit
7948
-q, --quiet do not print progress messages
7949
-d, --debug don't remove temporary files
7950
--recheck update $as_me by reconfiguring in the same conditions
7951
--file=FILE[:TEMPLATE]
7952
instantiate the configuration file FILE
7954
Configuration files:
7957
Configuration commands:
7960
Report bugs to <bug-autoconf@gnu.org>."
7963
cat >>$CONFIG_STATUS <<_ACEOF
7965
procServ Process Server config.status 2.5.0
7966
configured by $0, generated by GNU Autoconf 2.61,
7967
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7969
Copyright (C) 2006 Free Software Foundation, Inc.
7970
This config.status script is free software; the Free Software Foundation
7971
gives unlimited permission to copy, distribute and modify it."
7979
cat >>$CONFIG_STATUS <<\_ACEOF
7980
# If no file are specified by the user, then we need to provide default
7981
# value. By we need to know if files were specified by the user.
7987
ac_option=`expr "X$1" : 'X\([^=]*\)='`
7988
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7999
# Handling of the options.
8000
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8002
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8003
echo "$ac_cs_version"; exit ;;
8004
--debug | --debu | --deb | --de | --d | -d )
8006
--file | --fil | --fi | --f )
8008
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8009
ac_need_defaults=false;;
8010
--he | --h | --help | --hel | -h )
8011
echo "$ac_cs_usage"; exit ;;
8012
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
8013
| -silent | --silent | --silen | --sile | --sil | --si | --s)
8017
-*) { echo "$as_me: error: unrecognized option: $1
8018
Try \`$0 --help' for more information." >&2
8019
{ (exit 1); exit 1; }; } ;;
8021
*) ac_config_targets="$ac_config_targets $1"
8022
ac_need_defaults=false ;;
8028
ac_configure_extra_args=
8030
if $ac_cs_silent; then
8032
ac_configure_extra_args="$ac_configure_extra_args --silent"
8036
cat >>$CONFIG_STATUS <<_ACEOF
8037
if \$ac_cs_recheck; then
8038
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8041
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8045
cat >>$CONFIG_STATUS <<\_ACEOF
8049
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8050
## Running $as_me. ##
8056
cat >>$CONFIG_STATUS <<_ACEOF
8060
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8061
if test ! -e Makefile.Automake.in; then
8062
mv Makefile.in Makefile.Automake.in
8064
if test x$use_epics_makefile = xyes; then
8065
cp Makefile.Epics.in Makefile.in
8067
mv Makefile.Automake.in Makefile.in
8073
cat >>$CONFIG_STATUS <<\_ACEOF
8075
# Handling of arguments.
8076
for ac_config_target in $ac_config_targets
8078
case $ac_config_target in
8079
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8080
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8082
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8083
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8084
{ (exit 1); exit 1; }; };;
8089
# If the user did not use the arguments to specify the items to instantiate,
8090
# then the envvar interface is used. Set only those that are not.
8091
# We use the long form for the default assignment because of an extremely
8092
# bizarre bug on SunOS 4.1.3.
8093
if $ac_need_defaults; then
8094
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8095
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8098
# Have a temporary directory for convenience. Make it in the build tree
8099
# simply because there is no reason against having it here, and in addition,
8100
# creating and moving files from /tmp can sometimes cause problems.
8101
# Hook for its removal unless debugging.
8102
# Note that there is a small window in which the directory will not be cleaned:
8103
# after its creation but before its name has been assigned to `$tmp'.
8107
trap 'exit_status=$?
8108
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8110
trap '{ (exit 1); exit 1; }' 1 2 13 15
8112
# Create a (secure) tmp directory for tmp files.
8115
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8116
test -n "$tmp" && test -d "$tmp"
8119
tmp=./conf$$-$RANDOM
8120
(umask 077 && mkdir "$tmp")
8123
echo "$me: cannot create a temporary directory in ." >&2
8124
{ (exit 1); exit 1; }
8128
# Set up the sed scripts for CONFIG_FILES section.
8131
# No need to generate the scripts if there are no CONFIG_FILES.
8132
# This happens for instance when ./config.status config.h
8133
if test -n "$CONFIG_FILES"; then
8140
for ac_last_try in false false false false false :; do
8141
cat >conf$$subs.sed <<_ACEOF
8142
SHELL!$SHELL$ac_delim
8143
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8144
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8145
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8146
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8147
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8148
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8149
exec_prefix!$exec_prefix$ac_delim
8150
prefix!$prefix$ac_delim
8151
program_transform_name!$program_transform_name$ac_delim
8152
bindir!$bindir$ac_delim
8153
sbindir!$sbindir$ac_delim
8154
libexecdir!$libexecdir$ac_delim
8155
datarootdir!$datarootdir$ac_delim
8156
datadir!$datadir$ac_delim
8157
sysconfdir!$sysconfdir$ac_delim
8158
sharedstatedir!$sharedstatedir$ac_delim
8159
localstatedir!$localstatedir$ac_delim
8160
includedir!$includedir$ac_delim
8161
oldincludedir!$oldincludedir$ac_delim
8162
docdir!$docdir$ac_delim
8163
infodir!$infodir$ac_delim
8164
htmldir!$htmldir$ac_delim
8165
dvidir!$dvidir$ac_delim
8166
pdfdir!$pdfdir$ac_delim
8167
psdir!$psdir$ac_delim
8168
libdir!$libdir$ac_delim
8169
localedir!$localedir$ac_delim
8170
mandir!$mandir$ac_delim
8172
ECHO_C!$ECHO_C$ac_delim
8173
ECHO_N!$ECHO_N$ac_delim
8174
ECHO_T!$ECHO_T$ac_delim
8176
build_alias!$build_alias$ac_delim
8177
host_alias!$host_alias$ac_delim
8178
target_alias!$target_alias$ac_delim
8179
PACKAGE_DATE!$PACKAGE_DATE$ac_delim
8180
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8181
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8182
INSTALL_DATA!$INSTALL_DATA$ac_delim
8183
am__isrc!$am__isrc$ac_delim
8184
CYGPATH_W!$CYGPATH_W$ac_delim
8185
PACKAGE!$PACKAGE$ac_delim
8186
VERSION!$VERSION$ac_delim
8187
ACLOCAL!$ACLOCAL$ac_delim
8188
AUTOCONF!$AUTOCONF$ac_delim
8189
AUTOMAKE!$AUTOMAKE$ac_delim
8190
AUTOHEADER!$AUTOHEADER$ac_delim
8191
MAKEINFO!$MAKEINFO$ac_delim
8192
install_sh!$install_sh$ac_delim
8193
STRIP!$STRIP$ac_delim
8194
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8195
mkdir_p!$mkdir_p$ac_delim
8197
SET_MAKE!$SET_MAKE$ac_delim
8198
am__leading_dot!$am__leading_dot$ac_delim
8199
AMTAR!$AMTAR$ac_delim
8200
am__tar!$am__tar$ac_delim
8201
am__untar!$am__untar$ac_delim
8203
CXXFLAGS!$CXXFLAGS$ac_delim
8204
LDFLAGS!$LDFLAGS$ac_delim
8205
CPPFLAGS!$CPPFLAGS$ac_delim
8206
ac_ct_CXX!$ac_ct_CXX$ac_delim
8207
EXEEXT!$EXEEXT$ac_delim
8208
OBJEXT!$OBJEXT$ac_delim
8209
DEPDIR!$DEPDIR$ac_delim
8210
am__include!$am__include$ac_delim
8211
am__quote!$am__quote$ac_delim
8212
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8213
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8214
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8215
CXXDEPMODE!$CXXDEPMODE$ac_delim
8216
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
8217
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
8219
CFLAGS!$CFLAGS$ac_delim
8220
ac_ct_CC!$ac_ct_CC$ac_delim
8221
CCDEPMODE!$CCDEPMODE$ac_delim
8222
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8223
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8226
EGREP!$EGREP$ac_delim
8227
LIBOBJS!$LIBOBJS$ac_delim
8228
EPICS_TOP!$EPICS_TOP$ac_delim
8229
WITH_EPICS_TRUE!$WITH_EPICS_TRUE$ac_delim
8230
WITH_EPICS_FALSE!$WITH_EPICS_FALSE$ac_delim
8231
INSTALL_DOC_TRUE!$INSTALL_DOC_TRUE$ac_delim
8232
INSTALL_DOC_FALSE!$INSTALL_DOC_FALSE$ac_delim
8233
BUILD_DOC_TRUE!$BUILD_DOC_TRUE$ac_delim
8234
BUILD_DOC_FALSE!$BUILD_DOC_FALSE$ac_delim
8236
ASCIIDOC!$ASCIIDOC$ac_delim
8237
XMLLINT!$XMLLINT$ac_delim
8238
XSLTPROC!$XSLTPROC$ac_delim
8241
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8243
elif $ac_last_try; then
8244
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8245
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8246
{ (exit 1); exit 1; }; }
8248
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8252
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8253
if test -n "$ac_eof"; then
8254
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8255
ac_eof=`expr $ac_eof + 1`
8258
cat >>$CONFIG_STATUS <<_ACEOF
8259
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8260
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8263
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8264
s/^/s,@/; s/!/@,|#_!!_#|/
8267
s/'"$ac_delim"'$/,g/; t
8269
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8270
' >>$CONFIG_STATUS <conf$$subs.sed
8271
rm -f conf$$subs.sed
8272
cat >>$CONFIG_STATUS <<_ACEOF
8278
for ac_last_try in false false false false false :; do
8279
cat >conf$$subs.sed <<_ACEOF
8280
PDFGEN!$PDFGEN$ac_delim
8281
LTLIBOBJS!$LTLIBOBJS$ac_delim
8284
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 2; then
8286
elif $ac_last_try; then
8287
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8288
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8289
{ (exit 1); exit 1; }; }
8291
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8295
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8296
if test -n "$ac_eof"; then
8297
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8298
ac_eof=`expr $ac_eof + 1`
8301
cat >>$CONFIG_STATUS <<_ACEOF
8302
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
8303
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8306
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8307
s/^/s,@/; s/!/@,|#_!!_#|/
8310
s/'"$ac_delim"'$/,g/; t
8312
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8313
' >>$CONFIG_STATUS <conf$$subs.sed
8314
rm -f conf$$subs.sed
8315
cat >>$CONFIG_STATUS <<_ACEOF
8322
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8323
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8324
# trailing colons and then remove the whole line if VPATH becomes empty
8325
# (actually we leave an empty line to preserve line numbers).
8326
if test "x$srcdir" = x.; then
8327
ac_vpsub='/^[ ]*VPATH[ ]*=/{
8331
s/^\([^=]*=[ ]*\):*/\1/
8337
cat >>$CONFIG_STATUS <<\_ACEOF
8338
fi # test -n "$CONFIG_FILES"
8341
for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
8344
:[FHLC]) ac_mode=$ac_tag; continue;;
8346
case $ac_mode$ac_tag in
8348
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8349
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8350
{ (exit 1); exit 1; }; };;
8351
:[FH]-) ac_tag=-:-;;
8352
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8369
-) ac_f="$tmp/stdin";;
8370
*) # Look for the file first in the build tree, then in the source tree
8371
# (if the path is not absolute). The absolute path cannot be DOS-style,
8372
# because $ac_f cannot contain `:'.
8376
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8378
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8379
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8380
{ (exit 1); exit 1; }; };;
8382
ac_file_inputs="$ac_file_inputs $ac_f"
8385
# Let's still pretend it is `configure' which instantiates (i.e., don't
8386
# use $as_me), people would be surprised to read:
8387
# /* config.h. Generated by config.status. */
8388
configure_input="Generated from "`IFS=:
8389
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8390
if test x"$ac_file" != x-; then
8391
configure_input="$ac_file. $configure_input"
8392
{ echo "$as_me:$LINENO: creating $ac_file" >&5
8393
echo "$as_me: creating $ac_file" >&6;}
8397
*:-:* | *:-) cat >"$tmp/stdin";;
8402
ac_dir=`$as_dirname -- "$ac_file" ||
8403
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8404
X"$ac_file" : 'X\(//\)[^/]' \| \
8405
X"$ac_file" : 'X\(//\)$' \| \
8406
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8408
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8427
-*) as_dir=./$as_dir;;
8429
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8433
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8434
*) as_qdir=$as_dir;;
8436
as_dirs="'$as_qdir' $as_dirs"
8437
as_dir=`$as_dirname -- "$as_dir" ||
8438
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8439
X"$as_dir" : 'X\(//\)[^/]' \| \
8440
X"$as_dir" : 'X\(//\)$' \| \
8441
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8443
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8460
test -d "$as_dir" && break
8462
test -z "$as_dirs" || eval "mkdir $as_dirs"
8463
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8464
echo "$as_me: error: cannot create directory $as_dir" >&2;}
8465
{ (exit 1); exit 1; }; }; }
8469
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8471
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8472
# A ".." for each directory in $ac_dir_suffix.
8473
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8474
case $ac_top_builddir_sub in
8475
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8476
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8479
ac_abs_top_builddir=$ac_pwd
8480
ac_abs_builddir=$ac_pwd$ac_dir_suffix
8481
# for backward compatibility:
8482
ac_top_builddir=$ac_top_build_prefix
8485
.) # We are building in place.
8487
ac_top_srcdir=$ac_top_builddir_sub
8488
ac_abs_top_srcdir=$ac_pwd ;;
8489
[\\/]* | ?:[\\/]* ) # Absolute name.
8490
ac_srcdir=$srcdir$ac_dir_suffix;
8491
ac_top_srcdir=$srcdir
8492
ac_abs_top_srcdir=$srcdir ;;
8494
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8495
ac_top_srcdir=$ac_top_build_prefix$srcdir
8496
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8498
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8508
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8509
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8513
[\\/$]* | ?:[\\/]* ) ;;
8514
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8518
cat >>$CONFIG_STATUS <<\_ACEOF
8519
# If the template does not know about datarootdir, expand it.
8520
# FIXME: This hack should be removed a few years after 2.60.
8521
ac_datarootdir_hack=; ac_datarootdir_seen=
8523
case `sed -n '/datarootdir/ {
8532
' $ac_file_inputs` in
8533
*datarootdir*) ac_datarootdir_seen=yes;;
8534
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8535
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8536
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8538
cat >>$CONFIG_STATUS <<_ACEOF
8539
ac_datarootdir_hack='
8540
s&@datadir@&$datadir&g
8541
s&@docdir@&$docdir&g
8542
s&@infodir@&$infodir&g
8543
s&@localedir@&$localedir&g
8544
s&@mandir@&$mandir&g
8545
s&\\\${datarootdir}&$datarootdir&g' ;;
8549
# Neutralize VPATH when `$srcdir' = `.'.
8550
# Shell code in configure.ac might set extrasub.
8551
# FIXME: do we really want to maintain this feature?
8552
cat >>$CONFIG_STATUS <<_ACEOF
8556
cat >>$CONFIG_STATUS <<\_ACEOF
8558
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8559
s&@configure_input@&$configure_input&;t t
8560
s&@top_builddir@&$ac_top_builddir_sub&;t t
8561
s&@srcdir@&$ac_srcdir&;t t
8562
s&@abs_srcdir@&$ac_abs_srcdir&;t t
8563
s&@top_srcdir@&$ac_top_srcdir&;t t
8564
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8565
s&@builddir@&$ac_builddir&;t t
8566
s&@abs_builddir@&$ac_abs_builddir&;t t
8567
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8568
s&@INSTALL@&$ac_INSTALL&;t t
8569
s&@MKDIR_P@&$ac_MKDIR_P&;t t
8570
$ac_datarootdir_hack
8571
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
8573
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8574
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8575
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8576
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8577
which seems to be undefined. Please make sure it is defined." >&5
8578
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8579
which seems to be undefined. Please make sure it is defined." >&2;}
8583
-) cat "$tmp/out"; rm -f "$tmp/out";;
8584
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8589
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8590
echo "$as_me: executing $ac_file commands" >&6;}
8595
case $ac_file$ac_mode in
8596
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8597
# Strip MF so we end up with the name of the file.
8598
mf=`echo "$mf" | sed -e 's/:.*$//'`
8599
# Check whether this is an Automake generated Makefile or not.
8600
# We used to match only the files named `Makefile.in', but
8601
# some people rename them; so instead we look at the file content.
8602
# Grep'ing the first line is not enough: some people post-process
8603
# each Makefile.in and add a new line on top of each file to say so.
8604
# Grep'ing the whole file is not good either: AIX grep has a line
8605
# limit of 2048, but all sed's we know have understand at least 4000.
8606
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8607
dirpart=`$as_dirname -- "$mf" ||
8608
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8609
X"$mf" : 'X\(//\)[^/]' \| \
8610
X"$mf" : 'X\(//\)$' \| \
8611
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8613
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8633
# Extract the definition of DEPDIR, am__include, and am__quote
8634
# from the Makefile without running `make'.
8635
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8636
test -z "$DEPDIR" && continue
8637
am__include=`sed -n 's/^am__include = //p' < "$mf"`
8638
test -z "am__include" && continue
8639
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8640
# When using ansi2knr, U may be empty or an underscore; expand it
8641
U=`sed -n 's/^U = //p' < "$mf"`
8642
# Find all dependency output files, they are included files with
8643
# $(DEPDIR) in their names. We invoke sed twice because it is the
8644
# simplest approach to changing $(DEPDIR) to its actual value in the
8646
for file in `sed -n "
8647
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8648
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8649
# Make sure the directory exists.
8650
test -f "$dirpart/$file" && continue
8651
fdir=`$as_dirname -- "$file" ||
8652
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8653
X"$file" : 'X\(//\)[^/]' \| \
8654
X"$file" : 'X\(//\)$' \| \
8655
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8657
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8674
{ as_dir=$dirpart/$fdir
8676
-*) as_dir=./$as_dir;;
8678
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8682
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8683
*) as_qdir=$as_dir;;
8685
as_dirs="'$as_qdir' $as_dirs"
8686
as_dir=`$as_dirname -- "$as_dir" ||
8687
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8688
X"$as_dir" : 'X\(//\)[^/]' \| \
8689
X"$as_dir" : 'X\(//\)$' \| \
8690
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8692
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8709
test -d "$as_dir" && break
8711
test -z "$as_dirs" || eval "mkdir $as_dirs"
8712
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8713
echo "$as_me: error: cannot create directory $as_dir" >&2;}
8714
{ (exit 1); exit 1; }; }; }
8715
# echo "creating $dirpart/$file"
8716
echo '# dummy' > "$dirpart/$file"
8725
{ (exit 0); exit 0; }
8727
chmod +x $CONFIG_STATUS
8728
ac_clean_files=$ac_clean_files_save
8731
# configure is writing to config.log, and then calls config.status.
8732
# config.status does its own redirection, appending to config.log.
8733
# Unfortunately, on DOS this fails, as config.log is still kept open
8734
# by configure, so config.status won't be able to write to it; its
8735
# output is simply discarded. So we exec the FD to /dev/null,
8736
# effectively closing config.log, so it can be properly (re)opened and
8737
# appended to by config.status. When coming back to configure, we
8738
# need to make the FD available again.
8739
if test "$no_create" != yes; then
8741
ac_config_status_args=
8742
test "$silent" = yes &&
8743
ac_config_status_args="$ac_config_status_args --quiet"
8745
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8747
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
8748
# would make configure fail if this is the last instruction.
8749
$ac_cs_success || { (exit 1); exit 1; }