|
|
|
@ -2552,7 +2552,7 @@ mkinstalldirs="\$(SHELL) \$(top_srcdir)/config/mkinstalldirs" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_prog in gawk mawk nawk awk |
|
|
|
|
for ac_prog in mawk gawk nawk awk |
|
|
|
|
do |
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
@ -4965,6 +4965,7 @@ else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 4967 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <sys/types.h> |
|
|
|
|
#ifdef HAVE_SYS_UN_H |
|
|
|
|
#include <sys/un.h> |
|
|
|
|
#endif |
|
|
|
@ -4972,7 +4973,7 @@ int main() { |
|
|
|
|
struct sockaddr_un un; |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:4976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
if { (eval echo configure:4977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
pgac_cv_struct_sockaddr_un=yes |
|
|
|
|
else |
|
|
|
@ -4996,19 +4997,19 @@ fi |
|
|
|
|
## Functions, global variables |
|
|
|
|
## |
|
|
|
|
echo $ac_n "checking for int timezone""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5000: checking for int timezone" >&5 |
|
|
|
|
echo "configure:5001: checking for int timezone" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_var_int_timezone'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5005 "configure" |
|
|
|
|
#line 5006 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <time.h> |
|
|
|
|
int main() { |
|
|
|
|
int res = timezone / 60; |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
pgac_cv_var_int_timezone=yes |
|
|
|
|
else |
|
|
|
@ -5028,7 +5029,7 @@ EOF |
|
|
|
|
|
|
|
|
|
fi |
|
|
|
|
echo $ac_n "checking types of arguments for accept()""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5032: checking types of arguments for accept()" >&5 |
|
|
|
|
echo "configure:5033: checking types of arguments for accept()" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_accept_arg1'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -5042,7 +5043,7 @@ else |
|
|
|
|
for ac_cv_func_accept_arg2 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do |
|
|
|
|
for ac_cv_func_accept_arg3 in 'int' 'size_t' 'socklen_t' 'unsigned int'; do |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5046 "configure" |
|
|
|
|
#line 5047 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#ifdef HAVE_SYS_TYPES_H |
|
|
|
|
#include <sys/types.h> |
|
|
|
@ -5055,7 +5056,7 @@ int main() { |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
if { (eval echo configure:5060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
ac_not_found=no; break 3 |
|
|
|
|
else |
|
|
|
@ -5092,12 +5093,12 @@ EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether gettimeofday takes only one argument""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5096: checking whether gettimeofday takes only one argument" >&5 |
|
|
|
|
echo "configure:5097: checking whether gettimeofday takes only one argument" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_func_gettimeofday_1arg'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5101 "configure" |
|
|
|
|
#line 5102 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <sys/time.h> |
|
|
|
|
int main() { |
|
|
|
@ -5106,7 +5107,7 @@ struct timezone *tzp; |
|
|
|
|
gettimeofday(tp,tzp); |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
if { (eval echo configure:5111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
pgac_cv_func_gettimeofday_1arg=no |
|
|
|
|
else |
|
|
|
@ -5127,12 +5128,12 @@ EOF |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for fcntl(F_SETLK)""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5131: checking for fcntl(F_SETLK)" >&5 |
|
|
|
|
echo "configure:5132: checking for fcntl(F_SETLK)" >&5 |
|
|
|
|
case $host_os in |
|
|
|
|
linux*) echo "$ac_t""broken on Linux" 1>&6 ;; |
|
|
|
|
*) |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5136 "configure" |
|
|
|
|
#line 5137 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
#include <fcntl.h> |
|
|
|
@ -5144,7 +5145,7 @@ lck.l_type = F_WRLCK; |
|
|
|
|
fcntl(0, F_SETLK, &lck); |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
cat >> confdefs.h <<\EOF |
|
|
|
|
#define HAVE_FCNTL_SETLK 1 |
|
|
|
@ -5163,12 +5164,12 @@ esac |
|
|
|
|
for ac_func in fcvt getopt_long memmove pstat setproctitle setsid sigprocmask sysconf waitpid dlopen |
|
|
|
|
do |
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5167: checking for $ac_func" >&5 |
|
|
|
|
echo "configure:5168: checking for $ac_func" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5172 "configure" |
|
|
|
|
#line 5173 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
@ -5191,7 +5192,7 @@ $ac_func(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
|
else |
|
|
|
@ -5217,12 +5218,12 @@ done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for PS_STRINGS""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5221: checking for PS_STRINGS" >&5 |
|
|
|
|
echo "configure:5222: checking for PS_STRINGS" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_var_PS_STRINGS'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5226 "configure" |
|
|
|
|
#line 5227 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <machine/vmparam.h> |
|
|
|
|
#include <sys/exec.h> |
|
|
|
@ -5232,7 +5233,7 @@ PS_STRINGS->ps_nargvstr = 1; |
|
|
|
|
PS_STRINGS->ps_argvstr = "foo"; |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
pgac_cv_var_PS_STRINGS=yes |
|
|
|
|
else |
|
|
|
@ -5254,12 +5255,12 @@ fi |
|
|
|
|
|
|
|
|
|
SNPRINTF='' |
|
|
|
|
echo $ac_n "checking for snprintf""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5258: checking for snprintf" >&5 |
|
|
|
|
echo "configure:5259: checking for snprintf" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5263 "configure" |
|
|
|
|
#line 5264 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char snprintf(); below. */ |
|
|
|
@ -5282,7 +5283,7 @@ snprintf(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_snprintf=yes" |
|
|
|
|
else |
|
|
|
@ -5306,12 +5307,12 @@ SNPRINTF='snprintf.o' |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5310: checking for vsnprintf" >&5 |
|
|
|
|
echo "configure:5311: checking for vsnprintf" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5315 "configure" |
|
|
|
|
#line 5316 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char vsnprintf(); below. */ |
|
|
|
@ -5334,7 +5335,7 @@ vsnprintf(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_vsnprintf=yes" |
|
|
|
|
else |
|
|
|
@ -5359,7 +5360,7 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5363 "configure" |
|
|
|
|
#line 5364 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
EOF |
|
|
|
@ -5374,7 +5375,7 @@ fi |
|
|
|
|
rm -f conftest* |
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5378 "configure" |
|
|
|
|
#line 5379 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
EOF |
|
|
|
@ -5391,12 +5392,12 @@ rm -f conftest* |
|
|
|
|
|
|
|
|
|
# do this one the hard way in case isinf() is a macro |
|
|
|
|
echo $ac_n "checking for isinf""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5395: checking for isinf" >&5 |
|
|
|
|
echo "configure:5396: checking for isinf" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_isinf'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5400 "configure" |
|
|
|
|
#line 5401 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <math.h> |
|
|
|
|
|
|
|
|
@ -5404,7 +5405,7 @@ int main() { |
|
|
|
|
double x = 0.0; int res = isinf(x); |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
ac_cv_func_isinf=yes |
|
|
|
|
else |
|
|
|
@ -5430,12 +5431,12 @@ else |
|
|
|
|
for ac_func in fpclass fp_class fp_class_d class |
|
|
|
|
do |
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5434: checking for $ac_func" >&5 |
|
|
|
|
echo "configure:5435: checking for $ac_func" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5439 "configure" |
|
|
|
|
#line 5440 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
@ -5458,7 +5459,7 @@ $ac_func(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
|
else |
|
|
|
@ -5486,12 +5487,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for getrusage""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5490: checking for getrusage" >&5 |
|
|
|
|
echo "configure:5491: checking for getrusage" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_getrusage'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5495 "configure" |
|
|
|
|
#line 5496 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char getrusage(); below. */ |
|
|
|
@ -5514,7 +5515,7 @@ getrusage(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_getrusage=yes" |
|
|
|
|
else |
|
|
|
@ -5539,12 +5540,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for srandom""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5543: checking for srandom" >&5 |
|
|
|
|
echo "configure:5544: checking for srandom" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_srandom'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5548 "configure" |
|
|
|
|
#line 5549 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char srandom(); below. */ |
|
|
|
@ -5567,7 +5568,7 @@ srandom(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_srandom=yes" |
|
|
|
|
else |
|
|
|
@ -5592,12 +5593,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for gethostname""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5596: checking for gethostname" >&5 |
|
|
|
|
echo "configure:5597: checking for gethostname" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_gethostname'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5601 "configure" |
|
|
|
|
#line 5602 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char gethostname(); below. */ |
|
|
|
@ -5620,7 +5621,7 @@ gethostname(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_gethostname=yes" |
|
|
|
|
else |
|
|
|
@ -5645,12 +5646,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for random""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5649: checking for random" >&5 |
|
|
|
|
echo "configure:5650: checking for random" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_random'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5654 "configure" |
|
|
|
|
#line 5655 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char random(); below. */ |
|
|
|
@ -5673,7 +5674,7 @@ random(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_random=yes" |
|
|
|
|
else |
|
|
|
@ -5698,12 +5699,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for inet_aton""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5702: checking for inet_aton" >&5 |
|
|
|
|
echo "configure:5703: checking for inet_aton" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5707 "configure" |
|
|
|
|
#line 5708 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char inet_aton(); below. */ |
|
|
|
@ -5726,7 +5727,7 @@ inet_aton(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_inet_aton=yes" |
|
|
|
|
else |
|
|
|
@ -5751,12 +5752,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for strerror""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5755: checking for strerror" >&5 |
|
|
|
|
echo "configure:5756: checking for strerror" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_strerror'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5760 "configure" |
|
|
|
|
#line 5761 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char strerror(); below. */ |
|
|
|
@ -5779,7 +5780,7 @@ strerror(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_strerror=yes" |
|
|
|
|
else |
|
|
|
@ -5805,12 +5806,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for strdup""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5809: checking for strdup" >&5 |
|
|
|
|
echo "configure:5810: checking for strdup" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_strdup'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5814 "configure" |
|
|
|
|
#line 5815 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char strdup(); below. */ |
|
|
|
@ -5833,7 +5834,7 @@ strdup(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_strdup=yes" |
|
|
|
|
else |
|
|
|
@ -5858,12 +5859,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for strtol""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5862: checking for strtol" >&5 |
|
|
|
|
echo "configure:5863: checking for strtol" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_strtol'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5867 "configure" |
|
|
|
|
#line 5868 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char strtol(); below. */ |
|
|
|
@ -5886,7 +5887,7 @@ strtol(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_strtol=yes" |
|
|
|
|
else |
|
|
|
@ -5911,12 +5912,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for strtoul""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5915: checking for strtoul" >&5 |
|
|
|
|
echo "configure:5916: checking for strtoul" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_strtoul'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5920 "configure" |
|
|
|
|
#line 5921 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char strtoul(); below. */ |
|
|
|
@ -5939,7 +5940,7 @@ strtoul(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_strtoul=yes" |
|
|
|
|
else |
|
|
|
@ -5964,12 +5965,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for strcasecmp""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:5968: checking for strcasecmp" >&5 |
|
|
|
|
echo "configure:5969: checking for strcasecmp" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_strcasecmp'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 5973 "configure" |
|
|
|
|
#line 5974 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char strcasecmp(); below. */ |
|
|
|
@ -5992,7 +5993,7 @@ strcasecmp(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:5996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:5997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_strcasecmp=yes" |
|
|
|
|
else |
|
|
|
@ -6017,12 +6018,12 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for cbrt""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6021: checking for cbrt" >&5 |
|
|
|
|
echo "configure:6022: checking for cbrt" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_cbrt'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6026 "configure" |
|
|
|
|
#line 6027 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char cbrt(); below. */ |
|
|
|
@ -6045,7 +6046,7 @@ cbrt(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:6050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_cbrt=yes" |
|
|
|
|
else |
|
|
|
@ -6066,7 +6067,7 @@ EOF |
|
|
|
|
else |
|
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
|
echo $ac_n "checking for cbrt in -lm""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6070: checking for cbrt in -lm" >&5 |
|
|
|
|
echo "configure:6071: checking for cbrt in -lm" >&5 |
|
|
|
|
ac_lib_var=`echo m'_'cbrt | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
@ -6074,7 +6075,7 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-lm $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6078 "configure" |
|
|
|
|
#line 6079 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
@ -6085,7 +6086,7 @@ int main() { |
|
|
|
|
cbrt() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:6090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
@ -6123,12 +6124,12 @@ esac |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for rint""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6127: checking for rint" >&5 |
|
|
|
|
echo "configure:6128: checking for rint" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_rint'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6132 "configure" |
|
|
|
|
#line 6133 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char rint(); below. */ |
|
|
|
@ -6151,7 +6152,7 @@ rint(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_rint=yes" |
|
|
|
|
else |
|
|
|
@ -6172,7 +6173,7 @@ EOF |
|
|
|
|
else |
|
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
|
echo $ac_n "checking for rint in -lm""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6176: checking for rint in -lm" >&5 |
|
|
|
|
echo "configure:6177: checking for rint in -lm" >&5 |
|
|
|
|
ac_lib_var=`echo m'_'rint | sed 'y%./+-%__p_%'` |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
@ -6180,7 +6181,7 @@ else |
|
|
|
|
ac_save_LIBS="$LIBS" |
|
|
|
|
LIBS="-lm $HPUXMATHLIB $LIBS" |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6184 "configure" |
|
|
|
|
#line 6185 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
|
|
/* We use char because int might match the return type of a gcc2 |
|
|
|
@ -6191,7 +6192,7 @@ int main() { |
|
|
|
|
rint() |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:6196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes" |
|
|
|
|
else |
|
|
|
@ -6218,7 +6219,7 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6222 "configure" |
|
|
|
|
#line 6223 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <readline.h> |
|
|
|
|
EOF |
|
|
|
@ -6232,7 +6233,7 @@ EOF |
|
|
|
|
else |
|
|
|
|
rm -rf conftest* |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6236 "configure" |
|
|
|
|
#line 6237 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <readline/readline.h> |
|
|
|
|
EOF |
|
|
|
@ -6254,12 +6255,12 @@ rm -f conftest* |
|
|
|
|
for ac_func in filename_completion_function |
|
|
|
|
do |
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6258: checking for $ac_func" >&5 |
|
|
|
|
echo "configure:6259: checking for $ac_func" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6263 "configure" |
|
|
|
|
#line 6264 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char $ac_func(); below. */ |
|
|
|
@ -6282,7 +6283,7 @@ $ac_func(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:6287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_$ac_func=yes" |
|
|
|
|
else |
|
|
|
@ -6301,7 +6302,7 @@ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
|
|
#define $ac_tr_func 1 |
|
|
|
|
EOF |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6305 "configure" |
|
|
|
|
#line 6306 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <readline.h> |
|
|
|
|
EOF |
|
|
|
@ -6315,7 +6316,7 @@ EOF |
|
|
|
|
else |
|
|
|
|
rm -rf conftest* |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6319 "configure" |
|
|
|
|
#line 6320 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <readline/readline.h> |
|
|
|
|
EOF |
|
|
|
@ -6343,16 +6344,16 @@ done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for finite""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6347: checking for finite" >&5 |
|
|
|
|
echo "configure:6348: checking for finite" >&5 |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6349 "configure" |
|
|
|
|
#line 6350 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <math.h> |
|
|
|
|
int main() { |
|
|
|
|
int dummy=finite(1.0); |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:6357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
cat >> confdefs.h <<\EOF |
|
|
|
|
#define HAVE_FINITE 1 |
|
|
|
@ -6367,16 +6368,16 @@ fi |
|
|
|
|
rm -f conftest* |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6371: checking for sigsetjmp" >&5 |
|
|
|
|
echo "configure:6372: checking for sigsetjmp" >&5 |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6373 "configure" |
|
|
|
|
#line 6374 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <setjmp.h> |
|
|
|
|
int main() { |
|
|
|
|
sigjmp_buf x; sigsetjmp(x, 1); |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:6381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
cat >> confdefs.h <<\EOF |
|
|
|
|
#define HAVE_SIGSETJMP 1 |
|
|
|
@ -6396,12 +6397,12 @@ if test x"${enable_syslog+set}" = xset; then |
|
|
|
|
case $enable_syslog in |
|
|
|
|
yes) |
|
|
|
|
echo $ac_n "checking for syslog""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6400: checking for syslog" >&5 |
|
|
|
|
echo "configure:6401: checking for syslog" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_syslog'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6405 "configure" |
|
|
|
|
#line 6406 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
|
|
|
which can conflict with char syslog(); below. */ |
|
|
|
@ -6424,7 +6425,7 @@ syslog(); |
|
|
|
|
|
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
eval "ac_cv_func_syslog=yes" |
|
|
|
|
else |
|
|
|
@ -6464,7 +6465,7 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether long int is 64 bits""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6468: checking whether long int is 64 bits" >&5 |
|
|
|
|
echo "configure:6469: checking whether long int is 64 bits" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_type_long_int_64'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -6473,7 +6474,7 @@ else |
|
|
|
|
echo "configure: warning: 64 bit arithmetic disabled when cross-compiling" 1>&2 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6477 "configure" |
|
|
|
|
#line 6478 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
typedef long int int64; |
|
|
|
|
|
|
|
|
@ -6502,7 +6503,7 @@ main() { |
|
|
|
|
exit(! does_int64_work()); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:6507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
pgac_cv_type_long_int_64=yes |
|
|
|
|
else |
|
|
|
@ -6529,7 +6530,7 @@ fi |
|
|
|
|
|
|
|
|
|
if test x"$HAVE_LONG_INT_64" = x"no" ; then |
|
|
|
|
echo $ac_n "checking whether long long int is 64 bits""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6533: checking whether long long int is 64 bits" >&5 |
|
|
|
|
echo "configure:6534: checking whether long long int is 64 bits" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_type_long_long_int_64'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -6538,7 +6539,7 @@ else |
|
|
|
|
echo "configure: warning: 64 bit arithmetic disabled when cross-compiling" 1>&2 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6542 "configure" |
|
|
|
|
#line 6543 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
typedef long long int int64; |
|
|
|
|
|
|
|
|
@ -6567,7 +6568,7 @@ main() { |
|
|
|
|
exit(! does_int64_work()); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:6572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
pgac_cv_type_long_long_int_64=yes |
|
|
|
|
else |
|
|
|
@ -6598,7 +6599,7 @@ fi |
|
|
|
|
if [ x"$HAVE_LONG_LONG_INT_64" = xyes ] ; then |
|
|
|
|
if [ x$SNPRINTF = x ] ; then |
|
|
|
|
echo $ac_n "checking whether snprintf handles 'long long int' as %lld""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6602: checking whether snprintf handles 'long long int' as %lld" >&5 |
|
|
|
|
echo "configure:6603: checking whether snprintf handles 'long long int' as %lld" >&5 |
|
|
|
|
if test "$cross_compiling" = yes; then |
|
|
|
|
echo "$ac_t""assuming not on target machine" 1>&6 |
|
|
|
|
# Force usage of our own snprintf, since we cannot test foreign snprintf |
|
|
|
@ -6607,7 +6608,7 @@ echo "configure:6602: checking whether snprintf handles 'long long int' as %lld" |
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6611 "configure" |
|
|
|
|
#line 6612 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
typedef long long int int64; |
|
|
|
@ -6634,7 +6635,7 @@ main() { |
|
|
|
|
exit(! does_int64_snprintf_work()); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:6639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
echo "$ac_t""yes" 1>&6 |
|
|
|
|
INT64_FORMAT='"%lld"' |
|
|
|
@ -6645,7 +6646,7 @@ else |
|
|
|
|
rm -fr conftest* |
|
|
|
|
echo "$ac_t""no" 1>&6 |
|
|
|
|
echo $ac_n "checking whether snprintf handles 'long long int' as %qd""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6649: checking whether snprintf handles 'long long int' as %qd" >&5 |
|
|
|
|
echo "configure:6650: checking whether snprintf handles 'long long int' as %qd" >&5 |
|
|
|
|
if test "$cross_compiling" = yes; then |
|
|
|
|
echo "$ac_t""assuming not on target machine" 1>&6 |
|
|
|
|
# Force usage of our own snprintf, since we cannot test foreign snprintf |
|
|
|
@ -6654,7 +6655,7 @@ echo "configure:6649: checking whether snprintf handles 'long long int' as %qd" |
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6658 "configure" |
|
|
|
|
#line 6659 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
typedef long long int int64; |
|
|
|
@ -6681,7 +6682,7 @@ main() { |
|
|
|
|
exit(! does_int64_snprintf_work()); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:6686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
echo "$ac_t""yes" 1>&6 |
|
|
|
|
INT64_FORMAT='"%qd"' |
|
|
|
@ -6720,7 +6721,7 @@ EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking alignment of short""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6724: checking alignment of short" >&5 |
|
|
|
|
echo "configure:6725: checking alignment of short" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_alignof_short'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -6728,7 +6729,7 @@ else |
|
|
|
|
pgac_cv_alignof_short='sizeof(short)' |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6732 "configure" |
|
|
|
|
#line 6733 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
struct { char filler; short field; } mystruct; |
|
|
|
@ -6740,7 +6741,7 @@ main() |
|
|
|
|
exit(0); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:6745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
pgac_cv_alignof_short=`cat conftestval` |
|
|
|
|
else |
|
|
|
@ -6760,7 +6761,7 @@ EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking alignment of int""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6764: checking alignment of int" >&5 |
|
|
|
|
echo "configure:6765: checking alignment of int" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_alignof_int'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -6768,7 +6769,7 @@ else |
|
|
|
|
pgac_cv_alignof_int='sizeof(int)' |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6772 "configure" |
|
|
|
|
#line 6773 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
struct { char filler; int field; } mystruct; |
|
|
|
@ -6780,7 +6781,7 @@ main() |
|
|
|
|
exit(0); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:6785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
pgac_cv_alignof_int=`cat conftestval` |
|
|
|
|
else |
|
|
|
@ -6800,7 +6801,7 @@ EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking alignment of long""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6804: checking alignment of long" >&5 |
|
|
|
|
echo "configure:6805: checking alignment of long" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_alignof_long'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -6808,7 +6809,7 @@ else |
|
|
|
|
pgac_cv_alignof_long='sizeof(long)' |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6812 "configure" |
|
|
|
|
#line 6813 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
struct { char filler; long field; } mystruct; |
|
|
|
@ -6820,7 +6821,7 @@ main() |
|
|
|
|
exit(0); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:6825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
pgac_cv_alignof_long=`cat conftestval` |
|
|
|
|
else |
|
|
|
@ -6841,7 +6842,7 @@ EOF |
|
|
|
|
|
|
|
|
|
if [ x"$HAVE_LONG_LONG_INT_64" = xyes ] ; then |
|
|
|
|
echo $ac_n "checking alignment of long long int""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6845: checking alignment of long long int" >&5 |
|
|
|
|
echo "configure:6846: checking alignment of long long int" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_alignof_long_long_int'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -6849,7 +6850,7 @@ else |
|
|
|
|
pgac_cv_alignof_long_long_int='sizeof(long long int)' |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6853 "configure" |
|
|
|
|
#line 6854 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
struct { char filler; long long int field; } mystruct; |
|
|
|
@ -6861,7 +6862,7 @@ main() |
|
|
|
|
exit(0); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:6866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
pgac_cv_alignof_long_long_int=`cat conftestval` |
|
|
|
|
else |
|
|
|
@ -6882,7 +6883,7 @@ EOF |
|
|
|
|
|
|
|
|
|
fi |
|
|
|
|
echo $ac_n "checking alignment of double""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6886: checking alignment of double" >&5 |
|
|
|
|
echo "configure:6887: checking alignment of double" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_alignof_double'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -6890,7 +6891,7 @@ else |
|
|
|
|
pgac_cv_alignof_double='sizeof(double)' |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6894 "configure" |
|
|
|
|
#line 6895 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
struct { char filler; double field; } mystruct; |
|
|
|
@ -6902,7 +6903,7 @@ main() |
|
|
|
|
exit(0); |
|
|
|
|
} |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
if { (eval echo configure:6907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
|
|
|
|
then |
|
|
|
|
pgac_cv_alignof_double=`cat conftestval` |
|
|
|
|
else |
|
|
|
@ -6940,12 +6941,12 @@ EOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for POSIX signal interface""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6944: checking for POSIX signal interface" >&5 |
|
|
|
|
echo "configure:6945: checking for POSIX signal interface" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'pgac_cv_func_posix_signals'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
|
#line 6949 "configure" |
|
|
|
|
#line 6950 "configure" |
|
|
|
|
#include "confdefs.h" |
|
|
|
|
#include <signal.h> |
|
|
|
|
|
|
|
|
@ -6956,7 +6957,7 @@ act.sa_flags = SA_RESTART; |
|
|
|
|
sigaction(0, &act, &oact); |
|
|
|
|
; return 0; } |
|
|
|
|
EOF |
|
|
|
|
if { (eval echo configure:6960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
if { (eval echo configure:6961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
|
rm -rf conftest* |
|
|
|
|
pgac_cv_func_posix_signals=yes |
|
|
|
|
else |
|
|
|
@ -6986,7 +6987,7 @@ do |
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:6990: checking for $ac_word" >&5 |
|
|
|
|
echo "configure:6991: checking for $ac_word" >&5 |
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_TCLSH'+set}'`\" = set"; then |
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
|
else |
|
|
|
@ -7022,7 +7023,7 @@ test -n "$TCLSH" && break |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for tclConfig.sh""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7026: checking for tclConfig.sh" >&5 |
|
|
|
|
echo "configure:7027: checking for tclConfig.sh" >&5 |
|
|
|
|
# Let user override test |
|
|
|
|
if test -z "$TCL_CONFIG_SH"; then |
|
|
|
|
pgac_test_dirs="$with_tclconfig" |
|
|
|
@ -7055,7 +7056,7 @@ fi |
|
|
|
|
# Check for Tk configuration script tkConfig.sh |
|
|
|
|
if test "$with_tk" = yes; then |
|
|
|
|
echo $ac_n "checking for tkConfig.sh""... $ac_c" 1>&6 |
|
|
|
|
echo "configure:7059: checking for tkConfig.sh" >&5 |
|
|
|
|
echo "configure:7060: checking for tkConfig.sh" >&5 |
|
|
|
|
# Let user override test |
|
|
|
|
if test -z "$TK_CONFIG_SH"; then |
|
|
|
|
pgac_test_dirs="$with_tkconfig $with_tclconfig" |
|
|
|
|