mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Added detection for getgroups(), fpathconf(), pathconf(),
confstr(), and sysconf().
This commit is contained in:
		
							parent
							
								
									60429e055e
								
							
						
					
					
						commit
						35a092fece
					
				
					 3 changed files with 131 additions and 114 deletions
				
			
		
							
								
								
									
										15
									
								
								config.h.in
									
										
									
									
									
								
							
							
						
						
									
										15
									
								
								config.h.in
									
										
									
									
									
								
							| 
						 | 
					@ -269,6 +269,9 @@
 | 
				
			||||||
/* Define if you have the getpeername function.  */
 | 
					/* Define if you have the getpeername function.  */
 | 
				
			||||||
#undef HAVE_GETPEERNAME
 | 
					#undef HAVE_GETPEERNAME
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Define if you have the getgroups function.  */
 | 
				
			||||||
 | 
					#undef HAVE_GETGROUPS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Define if you have the getpgrp function.  */
 | 
					/* Define if you have the getpgrp function.  */
 | 
				
			||||||
#undef HAVE_GETPGRP
 | 
					#undef HAVE_GETPGRP
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -284,6 +287,18 @@
 | 
				
			||||||
/* Define if you have the getwd function.  */
 | 
					/* Define if you have the getwd function.  */
 | 
				
			||||||
#undef HAVE_GETWD
 | 
					#undef HAVE_GETWD
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Define if you have the fpathconf function.  */
 | 
				
			||||||
 | 
					#undef HAVE_FPATHCONF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Define if you have the pathconf function.  */
 | 
				
			||||||
 | 
					#undef HAVE_PATHCONF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Define if you have the confstr function.  */
 | 
				
			||||||
 | 
					#undef HAVE_CONFSTR
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Define if you have the sysconf function.  */
 | 
				
			||||||
 | 
					#undef HAVE_SYSCONF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Define if you have the hypot function.  */
 | 
					/* Define if you have the hypot function.  */
 | 
				
			||||||
#undef HAVE_HYPOT
 | 
					#undef HAVE_HYPOT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										219
									
								
								configure
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										219
									
								
								configure
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
#! /bin/sh
 | 
					#! /bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# From configure.in Revision: 1.108 
 | 
					# From configure.in Revision: 1.109 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Guess values for system-dependent variables and create Makefiles.
 | 
					# Guess values for system-dependent variables and create Makefiles.
 | 
				
			||||||
# Generated automatically using autoconf version 2.13 
 | 
					# Generated automatically using autoconf version 2.13 
 | 
				
			||||||
| 
						 | 
					@ -3189,22 +3189,23 @@ fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# checks for library functions
 | 
					# checks for library functions
 | 
				
			||||||
for ac_func in alarm chown clock ctermid ctermid_r dlopen execv flock fork \
 | 
					for ac_func in alarm chown clock confstr ctermid ctermid_r dlopen execv \
 | 
				
			||||||
 fsync fdatasync ftime ftruncate \
 | 
					 flock fork fsync fdatasync fpathconf ftime ftruncate \
 | 
				
			||||||
 getpeername getpgrp getpid getpwent gettimeofday getwd \
 | 
					 getgroups getpeername getpgrp getpid getpwent gettimeofday getwd \
 | 
				
			||||||
 kill link lstat mkfifo mktime nice pause plock pthread_init putenv readlink \
 | 
					 kill link lstat mkfifo mktime nice pathconf pause plock pthread_init \
 | 
				
			||||||
 | 
					 putenv readlink \
 | 
				
			||||||
 select setgid setlocale setuid setsid setpgid setpgrp setvbuf \
 | 
					 select setgid setlocale setuid setsid setpgid setpgrp setvbuf \
 | 
				
			||||||
 sigaction siginterrupt sigrelse strftime strptime symlink \
 | 
					 sigaction siginterrupt sigrelse strftime strptime symlink sysconf \
 | 
				
			||||||
 tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
 | 
					 tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
 | 
				
			||||||
 truncate uname waitpid
 | 
					 truncate uname waitpid
 | 
				
			||||||
do
 | 
					do
 | 
				
			||||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3203: checking for $ac_func" >&5
 | 
					echo "configure:3204: checking for $ac_func" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3208 "configure"
 | 
					#line 3209 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
/* System header to define __stub macros and hopefully few prototypes,
 | 
					/* System header to define __stub macros and hopefully few prototypes,
 | 
				
			||||||
    which can conflict with char $ac_func(); below.  */
 | 
					    which can conflict with char $ac_func(); below.  */
 | 
				
			||||||
| 
						 | 
					@ -3227,7 +3228,7 @@ $ac_func();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
					if { (eval echo configure:3232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  eval "ac_cv_func_$ac_func=yes"
 | 
					  eval "ac_cv_func_$ac_func=yes"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3256,12 +3257,12 @@ done
 | 
				
			||||||
for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs
 | 
					for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs
 | 
				
			||||||
do
 | 
					do
 | 
				
			||||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3260: checking for $ac_func" >&5
 | 
					echo "configure:3261: checking for $ac_func" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3265 "configure"
 | 
					#line 3266 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
/* System header to define __stub macros and hopefully few prototypes,
 | 
					/* System header to define __stub macros and hopefully few prototypes,
 | 
				
			||||||
    which can conflict with char $ac_func(); below.  */
 | 
					    which can conflict with char $ac_func(); below.  */
 | 
				
			||||||
| 
						 | 
					@ -3284,7 +3285,7 @@ $ac_func();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
					if { (eval echo configure:3289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  eval "ac_cv_func_$ac_func=yes"
 | 
					  eval "ac_cv_func_$ac_func=yes"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3312,12 +3313,12 @@ done
 | 
				
			||||||
for ac_func in dup2 getcwd strdup strerror memmove
 | 
					for ac_func in dup2 getcwd strdup strerror memmove
 | 
				
			||||||
do
 | 
					do
 | 
				
			||||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3316: checking for $ac_func" >&5
 | 
					echo "configure:3317: checking for $ac_func" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3321 "configure"
 | 
					#line 3322 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
/* System header to define __stub macros and hopefully few prototypes,
 | 
					/* System header to define __stub macros and hopefully few prototypes,
 | 
				
			||||||
    which can conflict with char $ac_func(); below.  */
 | 
					    which can conflict with char $ac_func(); below.  */
 | 
				
			||||||
| 
						 | 
					@ -3340,7 +3341,7 @@ $ac_func();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
					if { (eval echo configure:3345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  eval "ac_cv_func_$ac_func=yes"
 | 
					  eval "ac_cv_func_$ac_func=yes"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3367,12 +3368,12 @@ done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo $ac_n "checking for getpgrp""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for getpgrp""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3371: checking for getpgrp" >&5
 | 
					echo "configure:3372: checking for getpgrp" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_func_getpgrp'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_func_getpgrp'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3376 "configure"
 | 
					#line 3377 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
/* System header to define __stub macros and hopefully few prototypes,
 | 
					/* System header to define __stub macros and hopefully few prototypes,
 | 
				
			||||||
    which can conflict with char getpgrp(); below.  */
 | 
					    which can conflict with char getpgrp(); below.  */
 | 
				
			||||||
| 
						 | 
					@ -3395,7 +3396,7 @@ getpgrp();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
					if { (eval echo configure:3400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  eval "ac_cv_func_getpgrp=yes"
 | 
					  eval "ac_cv_func_getpgrp=yes"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3410,14 +3411,14 @@ fi
 | 
				
			||||||
if eval "test \"`echo '$ac_cv_func_'getpgrp`\" = yes"; then
 | 
					if eval "test \"`echo '$ac_cv_func_'getpgrp`\" = yes"; then
 | 
				
			||||||
  echo "$ac_t""yes" 1>&6
 | 
					  echo "$ac_t""yes" 1>&6
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3414 "configure"
 | 
					#line 3415 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
#include <unistd.h>
 | 
					#include <unistd.h>
 | 
				
			||||||
int main() {
 | 
					int main() {
 | 
				
			||||||
getpgrp(0);
 | 
					getpgrp(0);
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:3422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  cat >> confdefs.h <<\EOF
 | 
					  cat >> confdefs.h <<\EOF
 | 
				
			||||||
#define GETPGRP_HAVE_ARG 1
 | 
					#define GETPGRP_HAVE_ARG 1
 | 
				
			||||||
| 
						 | 
					@ -3433,12 +3434,12 @@ else
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo $ac_n "checking for setpgrp""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for setpgrp""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3437: checking for setpgrp" >&5
 | 
					echo "configure:3438: checking for setpgrp" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3442 "configure"
 | 
					#line 3443 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
/* System header to define __stub macros and hopefully few prototypes,
 | 
					/* System header to define __stub macros and hopefully few prototypes,
 | 
				
			||||||
    which can conflict with char setpgrp(); below.  */
 | 
					    which can conflict with char setpgrp(); below.  */
 | 
				
			||||||
| 
						 | 
					@ -3461,7 +3462,7 @@ setpgrp();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
					if { (eval echo configure:3466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  eval "ac_cv_func_setpgrp=yes"
 | 
					  eval "ac_cv_func_setpgrp=yes"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3476,14 +3477,14 @@ fi
 | 
				
			||||||
if eval "test \"`echo '$ac_cv_func_'setpgrp`\" = yes"; then
 | 
					if eval "test \"`echo '$ac_cv_func_'setpgrp`\" = yes"; then
 | 
				
			||||||
  echo "$ac_t""yes" 1>&6
 | 
					  echo "$ac_t""yes" 1>&6
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3480 "configure"
 | 
					#line 3481 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
#include <unistd.h>
 | 
					#include <unistd.h>
 | 
				
			||||||
int main() {
 | 
					int main() {
 | 
				
			||||||
setpgrp(0,0);
 | 
					setpgrp(0,0);
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:3488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  cat >> confdefs.h <<\EOF
 | 
					  cat >> confdefs.h <<\EOF
 | 
				
			||||||
#define SETPGRP_HAVE_ARG 1
 | 
					#define SETPGRP_HAVE_ARG 1
 | 
				
			||||||
| 
						 | 
					@ -3499,12 +3500,12 @@ else
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3503: checking for gettimeofday" >&5
 | 
					echo "configure:3504: checking for gettimeofday" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3508 "configure"
 | 
					#line 3509 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
/* System header to define __stub macros and hopefully few prototypes,
 | 
					/* System header to define __stub macros and hopefully few prototypes,
 | 
				
			||||||
    which can conflict with char gettimeofday(); below.  */
 | 
					    which can conflict with char gettimeofday(); below.  */
 | 
				
			||||||
| 
						 | 
					@ -3527,7 +3528,7 @@ gettimeofday();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
					if { (eval echo configure:3532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  eval "ac_cv_func_gettimeofday=yes"
 | 
					  eval "ac_cv_func_gettimeofday=yes"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3542,14 +3543,14 @@ fi
 | 
				
			||||||
if eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then
 | 
					if eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then
 | 
				
			||||||
  echo "$ac_t""yes" 1>&6
 | 
					  echo "$ac_t""yes" 1>&6
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3546 "configure"
 | 
					#line 3547 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
#include <sys/time.h>
 | 
					#include <sys/time.h>
 | 
				
			||||||
int main() {
 | 
					int main() {
 | 
				
			||||||
gettimeofday((struct timeval*)0,(struct timezone*)0);
 | 
					gettimeofday((struct timeval*)0,(struct timezone*)0);
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:3554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  :
 | 
					  :
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  echo "configure: failed program was:" >&5
 | 
					  echo "configure: failed program was:" >&5
 | 
				
			||||||
| 
						 | 
					@ -3568,12 +3569,12 @@ fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# checks for structures
 | 
					# checks for structures
 | 
				
			||||||
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
 | 
					echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3572: checking whether time.h and sys/time.h may both be included" >&5
 | 
					echo "configure:3573: checking whether time.h and sys/time.h may both be included" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3577 "configure"
 | 
					#line 3578 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
#include <sys/types.h>
 | 
					#include <sys/types.h>
 | 
				
			||||||
#include <sys/time.h>
 | 
					#include <sys/time.h>
 | 
				
			||||||
| 
						 | 
					@ -3582,7 +3583,7 @@ int main() {
 | 
				
			||||||
struct tm *tp;
 | 
					struct tm *tp;
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:3587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  ac_cv_header_time=yes
 | 
					  ac_cv_header_time=yes
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3603,12 +3604,12 @@ EOF
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
 | 
					echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3607: checking whether struct tm is in sys/time.h or time.h" >&5
 | 
					echo "configure:3608: checking whether struct tm is in sys/time.h or time.h" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3612 "configure"
 | 
					#line 3613 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
#include <sys/types.h>
 | 
					#include <sys/types.h>
 | 
				
			||||||
#include <time.h>
 | 
					#include <time.h>
 | 
				
			||||||
| 
						 | 
					@ -3616,7 +3617,7 @@ int main() {
 | 
				
			||||||
struct tm *tp; tp->tm_sec;
 | 
					struct tm *tp; tp->tm_sec;
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:3621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  ac_cv_struct_tm=time.h
 | 
					  ac_cv_struct_tm=time.h
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3637,12 +3638,12 @@ EOF
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3641: checking for tm_zone in struct tm" >&5
 | 
					echo "configure:3642: checking for tm_zone in struct tm" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3646 "configure"
 | 
					#line 3647 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
#include <sys/types.h>
 | 
					#include <sys/types.h>
 | 
				
			||||||
#include <$ac_cv_struct_tm>
 | 
					#include <$ac_cv_struct_tm>
 | 
				
			||||||
| 
						 | 
					@ -3650,7 +3651,7 @@ int main() {
 | 
				
			||||||
struct tm tm; tm.tm_zone;
 | 
					struct tm tm; tm.tm_zone;
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:3655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  ac_cv_struct_tm_zone=yes
 | 
					  ac_cv_struct_tm_zone=yes
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3670,12 +3671,12 @@ EOF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  echo $ac_n "checking for tzname""... $ac_c" 1>&6
 | 
					  echo $ac_n "checking for tzname""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3674: checking for tzname" >&5
 | 
					echo "configure:3675: checking for tzname" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3679 "configure"
 | 
					#line 3680 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
#include <time.h>
 | 
					#include <time.h>
 | 
				
			||||||
#ifndef tzname /* For SGI.  */
 | 
					#ifndef tzname /* For SGI.  */
 | 
				
			||||||
| 
						 | 
					@ -3685,7 +3686,7 @@ int main() {
 | 
				
			||||||
atoi(*tzname);
 | 
					atoi(*tzname);
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
					if { (eval echo configure:3690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  ac_cv_var_tzname=yes
 | 
					  ac_cv_var_tzname=yes
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3708,19 +3709,19 @@ fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo $ac_n "checking for time.h that defines altzone""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for time.h that defines altzone""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3712: checking for time.h that defines altzone" >&5
 | 
					echo "configure:3713: checking for time.h that defines altzone" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_header_time_altzone'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_header_time_altzone'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3717 "configure"
 | 
					#line 3718 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
#include <time.h>
 | 
					#include <time.h>
 | 
				
			||||||
int main() {
 | 
					int main() {
 | 
				
			||||||
return altzone;
 | 
					return altzone;
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:3725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  ac_cv_header_time_altzone=yes
 | 
					  ac_cv_header_time_altzone=yes
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3742,9 +3743,9 @@ fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
was_it_defined=no
 | 
					was_it_defined=no
 | 
				
			||||||
echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6
 | 
					echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3746: checking whether sys/select.h and sys/time.h may both be included" >&5
 | 
					echo "configure:3747: checking whether sys/select.h and sys/time.h may both be included" >&5
 | 
				
			||||||
cat > conftest.$ac_ext <<EOF
 | 
					cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3748 "configure"
 | 
					#line 3749 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <sys/types.h>
 | 
					#include <sys/types.h>
 | 
				
			||||||
| 
						 | 
					@ -3755,7 +3756,7 @@ int main() {
 | 
				
			||||||
;
 | 
					;
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:3760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  cat >> confdefs.h <<\EOF
 | 
					  cat >> confdefs.h <<\EOF
 | 
				
			||||||
#define SYS_SELECT_WITH_SYS_TIME 1
 | 
					#define SYS_SELECT_WITH_SYS_TIME 1
 | 
				
			||||||
| 
						 | 
					@ -3771,14 +3772,14 @@ echo "$ac_t""$was_it_defined" 1>&6
 | 
				
			||||||
# checks for compiler characteristics
 | 
					# checks for compiler characteristics
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
 | 
					echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3775: checking whether char is unsigned" >&5
 | 
					echo "configure:3776: checking whether char is unsigned" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  if test "$GCC" = yes; then
 | 
					  if test "$GCC" = yes; then
 | 
				
			||||||
  # GCC predefines this symbol on systems where it applies.
 | 
					  # GCC predefines this symbol on systems where it applies.
 | 
				
			||||||
cat > conftest.$ac_ext <<EOF
 | 
					cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3782 "configure"
 | 
					#line 3783 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
#ifdef __CHAR_UNSIGNED__
 | 
					#ifdef __CHAR_UNSIGNED__
 | 
				
			||||||
  yes
 | 
					  yes
 | 
				
			||||||
| 
						 | 
					@ -3800,7 +3801,7 @@ if test "$cross_compiling" = yes; then
 | 
				
			||||||
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 | 
					    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3804 "configure"
 | 
					#line 3805 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
/* volatile prevents gcc2 from optimizing the test away on sparcs.  */
 | 
					/* volatile prevents gcc2 from optimizing the test away on sparcs.  */
 | 
				
			||||||
#if !defined(__STDC__) || __STDC__ != 1
 | 
					#if !defined(__STDC__) || __STDC__ != 1
 | 
				
			||||||
| 
						 | 
					@ -3810,7 +3811,7 @@ main() {
 | 
				
			||||||
  volatile char c = 255; exit(c < 0);
 | 
					  volatile char c = 255; exit(c < 0);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 | 
					if { (eval echo configure:3815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
  ac_cv_c_char_unsigned=yes
 | 
					  ac_cv_c_char_unsigned=yes
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3835,12 +3836,12 @@ fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo $ac_n "checking for working const""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for working const""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3839: checking for working const" >&5
 | 
					echo "configure:3840: checking for working const" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3844 "configure"
 | 
					#line 3845 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int main() {
 | 
					int main() {
 | 
				
			||||||
| 
						 | 
					@ -3889,7 +3890,7 @@ ccp = (char const *const *) p;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:3894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  ac_cv_c_const=yes
 | 
					  ac_cv_c_const=yes
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3912,16 +3913,16 @@ fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
works=no
 | 
					works=no
 | 
				
			||||||
echo $ac_n "checking for working volatile""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for working volatile""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3916: checking for working volatile" >&5
 | 
					echo "configure:3917: checking for working volatile" >&5
 | 
				
			||||||
cat > conftest.$ac_ext <<EOF
 | 
					cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3918 "configure"
 | 
					#line 3919 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int main() {
 | 
					int main() {
 | 
				
			||||||
volatile int x; x = 0;
 | 
					volatile int x; x = 0;
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:3926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  works=yes
 | 
					  works=yes
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3938,16 +3939,16 @@ echo "$ac_t""$works" 1>&6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
works=no
 | 
					works=no
 | 
				
			||||||
echo $ac_n "checking for working signed char""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for working signed char""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3942: checking for working signed char" >&5
 | 
					echo "configure:3943: checking for working signed char" >&5
 | 
				
			||||||
cat > conftest.$ac_ext <<EOF
 | 
					cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3944 "configure"
 | 
					#line 3945 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int main() {
 | 
					int main() {
 | 
				
			||||||
signed char c;
 | 
					signed char c;
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:3952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  works=yes
 | 
					  works=yes
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -3964,16 +3965,16 @@ echo "$ac_t""$works" 1>&6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
have_prototypes=no
 | 
					have_prototypes=no
 | 
				
			||||||
echo $ac_n "checking for prototypes""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for prototypes""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3968: checking for prototypes" >&5
 | 
					echo "configure:3969: checking for prototypes" >&5
 | 
				
			||||||
cat > conftest.$ac_ext <<EOF
 | 
					cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3970 "configure"
 | 
					#line 3971 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
int foo(int x) { return 0; }
 | 
					int foo(int x) { return 0; }
 | 
				
			||||||
int main() {
 | 
					int main() {
 | 
				
			||||||
return foo(10);
 | 
					return foo(10);
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:3977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:3978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  cat >> confdefs.h <<\EOF
 | 
					  cat >> confdefs.h <<\EOF
 | 
				
			||||||
#define HAVE_PROTOTYPES 1
 | 
					#define HAVE_PROTOTYPES 1
 | 
				
			||||||
| 
						 | 
					@ -3988,9 +3989,9 @@ echo "$ac_t""$have_prototypes" 1>&6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
works=no
 | 
					works=no
 | 
				
			||||||
echo $ac_n "checking for variable length prototypes and stdarg.h""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for variable length prototypes and stdarg.h""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:3992: checking for variable length prototypes and stdarg.h" >&5
 | 
					echo "configure:3993: checking for variable length prototypes and stdarg.h" >&5
 | 
				
			||||||
cat > conftest.$ac_ext <<EOF
 | 
					cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 3994 "configure"
 | 
					#line 3995 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdarg.h>
 | 
					#include <stdarg.h>
 | 
				
			||||||
| 
						 | 
					@ -4007,7 +4008,7 @@ int main() {
 | 
				
			||||||
return foo(10, "", 3.14);
 | 
					return foo(10, "", 3.14);
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:4012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  cat >> confdefs.h <<\EOF
 | 
					  cat >> confdefs.h <<\EOF
 | 
				
			||||||
#define HAVE_STDARG_PROTOTYPES 1
 | 
					#define HAVE_STDARG_PROTOTYPES 1
 | 
				
			||||||
| 
						 | 
					@ -4023,16 +4024,16 @@ echo "$ac_t""$works" 1>&6
 | 
				
			||||||
if test "$have_prototypes" = yes; then
 | 
					if test "$have_prototypes" = yes; then
 | 
				
			||||||
bad_prototypes=no
 | 
					bad_prototypes=no
 | 
				
			||||||
echo $ac_n "checking for bad exec* prototypes""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for bad exec* prototypes""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4027: checking for bad exec* prototypes" >&5
 | 
					echo "configure:4028: checking for bad exec* prototypes" >&5
 | 
				
			||||||
cat > conftest.$ac_ext <<EOF
 | 
					cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4029 "configure"
 | 
					#line 4030 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
#include <unistd.h>
 | 
					#include <unistd.h>
 | 
				
			||||||
int main() {
 | 
					int main() {
 | 
				
			||||||
char **t;execve("@",t,t);
 | 
					char **t;execve("@",t,t);
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:4037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  :
 | 
					  :
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  echo "configure: failed program was:" >&5
 | 
					  echo "configure: failed program was:" >&5
 | 
				
			||||||
| 
						 | 
					@ -4049,12 +4050,12 @@ fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bad_forward=no
 | 
					bad_forward=no
 | 
				
			||||||
echo $ac_n "checking for bad static forward""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for bad static forward""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4053: checking for bad static forward" >&5
 | 
					echo "configure:4054: checking for bad static forward" >&5
 | 
				
			||||||
if test "$cross_compiling" = yes; then
 | 
					if test "$cross_compiling" = yes; then
 | 
				
			||||||
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 | 
					    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4058 "configure"
 | 
					#line 4059 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct s { int a; int b; };
 | 
					struct s { int a; int b; };
 | 
				
			||||||
| 
						 | 
					@ -4070,7 +4071,7 @@ main() {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 | 
					if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
  :
 | 
					  :
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -4089,9 +4090,9 @@ echo "$ac_t""$bad_forward" 1>&6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
va_list_is_array=no
 | 
					va_list_is_array=no
 | 
				
			||||||
echo $ac_n "checking whether va_list is an array""... $ac_c" 1>&6
 | 
					echo $ac_n "checking whether va_list is an array""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4093: checking whether va_list is an array" >&5
 | 
					echo "configure:4094: checking whether va_list is an array" >&5
 | 
				
			||||||
cat > conftest.$ac_ext <<EOF
 | 
					cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4095 "configure"
 | 
					#line 4096 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef HAVE_STDARG_PROTOTYPES
 | 
					#ifdef HAVE_STDARG_PROTOTYPES
 | 
				
			||||||
| 
						 | 
					@ -4104,7 +4105,7 @@ int main() {
 | 
				
			||||||
va_list list1, list2; list1 = list2;
 | 
					va_list list1, list2; list1 = list2;
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:4109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  :
 | 
					  :
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  echo "configure: failed program was:" >&5
 | 
					  echo "configure: failed program was:" >&5
 | 
				
			||||||
| 
						 | 
					@ -4120,12 +4121,12 @@ echo "$ac_t""$va_list_is_array" 1>&6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
 | 
					# sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
 | 
				
			||||||
echo $ac_n "checking for gethostbyname_r""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for gethostbyname_r""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4124: checking for gethostbyname_r" >&5
 | 
					echo "configure:4125: checking for gethostbyname_r" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname_r'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_func_gethostbyname_r'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4129 "configure"
 | 
					#line 4130 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
/* System header to define __stub macros and hopefully few prototypes,
 | 
					/* System header to define __stub macros and hopefully few prototypes,
 | 
				
			||||||
    which can conflict with char gethostbyname_r(); below.  */
 | 
					    which can conflict with char gethostbyname_r(); below.  */
 | 
				
			||||||
| 
						 | 
					@ -4148,7 +4149,7 @@ gethostbyname_r();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
					if { (eval echo configure:4153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  eval "ac_cv_func_gethostbyname_r=yes"
 | 
					  eval "ac_cv_func_gethostbyname_r=yes"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -4168,11 +4169,11 @@ if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  echo $ac_n "checking gethostbyname_r with 6 args""... $ac_c" 1>&6
 | 
					  echo $ac_n "checking gethostbyname_r with 6 args""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4172: checking gethostbyname_r with 6 args" >&5
 | 
					echo "configure:4173: checking gethostbyname_r with 6 args" >&5
 | 
				
			||||||
  OLD_CFLAGS=$CFLAGS
 | 
					  OLD_CFLAGS=$CFLAGS
 | 
				
			||||||
  CFLAGS="$CFLAGS $MY_CPPFLAGS $MY_THREAD_CPPFLAGS $MY_CFLAGS"
 | 
					  CFLAGS="$CFLAGS $MY_CPPFLAGS $MY_THREAD_CPPFLAGS $MY_CFLAGS"
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4176 "configure"
 | 
					#line 4177 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#   include <netdb.h>
 | 
					#   include <netdb.h>
 | 
				
			||||||
| 
						 | 
					@ -4189,7 +4190,7 @@ int main() {
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:4194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
    cat >> confdefs.h <<\EOF
 | 
					    cat >> confdefs.h <<\EOF
 | 
				
			||||||
| 
						 | 
					@ -4209,9 +4210,9 @@ else
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
    echo "$ac_t""no" 1>&6
 | 
					    echo "$ac_t""no" 1>&6
 | 
				
			||||||
    echo $ac_n "checking gethostbyname_r with 5 args""... $ac_c" 1>&6
 | 
					    echo $ac_n "checking gethostbyname_r with 5 args""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4213: checking gethostbyname_r with 5 args" >&5
 | 
					echo "configure:4214: checking gethostbyname_r with 5 args" >&5
 | 
				
			||||||
    cat > conftest.$ac_ext <<EOF
 | 
					    cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4215 "configure"
 | 
					#line 4216 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#     include <netdb.h>
 | 
					#     include <netdb.h>
 | 
				
			||||||
| 
						 | 
					@ -4228,7 +4229,7 @@ int main() {
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:4233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
      cat >> confdefs.h <<\EOF
 | 
					      cat >> confdefs.h <<\EOF
 | 
				
			||||||
| 
						 | 
					@ -4248,9 +4249,9 @@ else
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
      echo "$ac_t""no" 1>&6
 | 
					      echo "$ac_t""no" 1>&6
 | 
				
			||||||
      echo $ac_n "checking gethostbyname_r with 3 args""... $ac_c" 1>&6
 | 
					      echo $ac_n "checking gethostbyname_r with 3 args""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4252: checking gethostbyname_r with 3 args" >&5
 | 
					echo "configure:4253: checking gethostbyname_r with 3 args" >&5
 | 
				
			||||||
      cat > conftest.$ac_ext <<EOF
 | 
					      cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4254 "configure"
 | 
					#line 4255 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#       include <netdb.h>
 | 
					#       include <netdb.h>
 | 
				
			||||||
| 
						 | 
					@ -4265,7 +4266,7 @@ int main() {
 | 
				
			||||||
      
 | 
					      
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
					if { (eval echo configure:4270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
        cat >> confdefs.h <<\EOF
 | 
					        cat >> confdefs.h <<\EOF
 | 
				
			||||||
| 
						 | 
					@ -4299,12 +4300,12 @@ else
 | 
				
			||||||
  echo "$ac_t""no" 1>&6
 | 
					  echo "$ac_t""no" 1>&6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
 | 
					  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4303: checking for gethostbyname" >&5
 | 
					echo "configure:4304: checking for gethostbyname" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4308 "configure"
 | 
					#line 4309 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
/* System header to define __stub macros and hopefully few prototypes,
 | 
					/* System header to define __stub macros and hopefully few prototypes,
 | 
				
			||||||
    which can conflict with char gethostbyname(); below.  */
 | 
					    which can conflict with char gethostbyname(); below.  */
 | 
				
			||||||
| 
						 | 
					@ -4327,7 +4328,7 @@ gethostbyname();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
					if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  eval "ac_cv_func_gethostbyname=yes"
 | 
					  eval "ac_cv_func_gethostbyname=yes"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -4363,7 +4364,7 @@ fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Linux requires this for correct f.p. operations
 | 
					# Linux requires this for correct f.p. operations
 | 
				
			||||||
echo $ac_n "checking for __fpu_control in -lieee""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for __fpu_control in -lieee""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4367: checking for __fpu_control in -lieee" >&5
 | 
					echo "configure:4368: checking for __fpu_control in -lieee" >&5
 | 
				
			||||||
ac_lib_var=`echo ieee'_'__fpu_control | sed 'y%./+-%__p_%'`
 | 
					ac_lib_var=`echo ieee'_'__fpu_control | sed 'y%./+-%__p_%'`
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
| 
						 | 
					@ -4371,7 +4372,7 @@ else
 | 
				
			||||||
  ac_save_LIBS="$LIBS"
 | 
					  ac_save_LIBS="$LIBS"
 | 
				
			||||||
LIBS="-lieee  $LIBS"
 | 
					LIBS="-lieee  $LIBS"
 | 
				
			||||||
cat > conftest.$ac_ext <<EOF
 | 
					cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4375 "configure"
 | 
					#line 4376 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
/* Override any gcc2 internal prototype to avoid an error.  */
 | 
					/* Override any gcc2 internal prototype to avoid an error.  */
 | 
				
			||||||
/* We use char because int might match the return type of a gcc2
 | 
					/* We use char because int might match the return type of a gcc2
 | 
				
			||||||
| 
						 | 
					@ -4382,7 +4383,7 @@ int main() {
 | 
				
			||||||
__fpu_control()
 | 
					__fpu_control()
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
					if { (eval echo configure:4387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  eval "ac_cv_lib_$ac_lib_var=yes"
 | 
					  eval "ac_cv_lib_$ac_lib_var=yes"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -4412,7 +4413,7 @@ fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Check for --with-fpectl
 | 
					# Check for --with-fpectl
 | 
				
			||||||
echo $ac_n "checking for --with-fpectl""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for --with-fpectl""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4416: checking for --with-fpectl" >&5
 | 
					echo "configure:4417: checking for --with-fpectl" >&5
 | 
				
			||||||
# Check whether --with-fpectl or --without-fpectl was given.
 | 
					# Check whether --with-fpectl or --without-fpectl was given.
 | 
				
			||||||
if test "${with_fpectl+set}" = set; then
 | 
					if test "${with_fpectl+set}" = set; then
 | 
				
			||||||
  withval="$with_fpectl"
 | 
					  withval="$with_fpectl"
 | 
				
			||||||
| 
						 | 
					@ -4435,7 +4436,7 @@ BeOS) ;;
 | 
				
			||||||
*) LIBM=-lm
 | 
					*) LIBM=-lm
 | 
				
			||||||
esac
 | 
					esac
 | 
				
			||||||
echo $ac_n "checking for --with-libm=STRING""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for --with-libm=STRING""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4439: checking for --with-libm=STRING" >&5
 | 
					echo "configure:4440: checking for --with-libm=STRING" >&5
 | 
				
			||||||
# Check whether --with-libm or --without-libm was given.
 | 
					# Check whether --with-libm or --without-libm was given.
 | 
				
			||||||
if test "${with_libm+set}" = set; then
 | 
					if test "${with_libm+set}" = set; then
 | 
				
			||||||
  withval="$with_libm"
 | 
					  withval="$with_libm"
 | 
				
			||||||
| 
						 | 
					@ -4456,7 +4457,7 @@ fi
 | 
				
			||||||
# check for --with-libc=...
 | 
					# check for --with-libc=...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo $ac_n "checking for --with-libc=STRING""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for --with-libc=STRING""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4460: checking for --with-libc=STRING" >&5
 | 
					echo "configure:4461: checking for --with-libc=STRING" >&5
 | 
				
			||||||
# Check whether --with-libc or --without-libc was given.
 | 
					# Check whether --with-libc or --without-libc was given.
 | 
				
			||||||
if test "${with_libc+set}" = set; then
 | 
					if test "${with_libc+set}" = set; then
 | 
				
			||||||
  withval="$with_libc"
 | 
					  withval="$with_libc"
 | 
				
			||||||
| 
						 | 
					@ -4480,12 +4481,12 @@ LIBS="$LIBS $LIBM"
 | 
				
			||||||
for ac_func in hypot
 | 
					for ac_func in hypot
 | 
				
			||||||
do
 | 
					do
 | 
				
			||||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4484: checking for $ac_func" >&5
 | 
					echo "configure:4485: checking for $ac_func" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4489 "configure"
 | 
					#line 4490 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
/* System header to define __stub macros and hopefully few prototypes,
 | 
					/* System header to define __stub macros and hopefully few prototypes,
 | 
				
			||||||
    which can conflict with char $ac_func(); below.  */
 | 
					    which can conflict with char $ac_func(); below.  */
 | 
				
			||||||
| 
						 | 
					@ -4508,7 +4509,7 @@ $ac_func();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
					if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  eval "ac_cv_func_$ac_func=yes"
 | 
					  eval "ac_cv_func_$ac_func=yes"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -4535,12 +4536,12 @@ done
 | 
				
			||||||
for ac_func in hypot
 | 
					for ac_func in hypot
 | 
				
			||||||
do
 | 
					do
 | 
				
			||||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4539: checking for $ac_func" >&5
 | 
					echo "configure:4540: checking for $ac_func" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4544 "configure"
 | 
					#line 4545 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
/* System header to define __stub macros and hopefully few prototypes,
 | 
					/* System header to define __stub macros and hopefully few prototypes,
 | 
				
			||||||
    which can conflict with char $ac_func(); below.  */
 | 
					    which can conflict with char $ac_func(); below.  */
 | 
				
			||||||
| 
						 | 
					@ -4563,7 +4564,7 @@ $ac_func();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; return 0; }
 | 
					; return 0; }
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
					if { (eval echo configure:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
				
			||||||
  rm -rf conftest*
 | 
					  rm -rf conftest*
 | 
				
			||||||
  eval "ac_cv_func_$ac_func=yes"
 | 
					  eval "ac_cv_func_$ac_func=yes"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -4593,7 +4594,7 @@ LIBS=$LIBS_SAVE
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# check for getopt
 | 
					# check for getopt
 | 
				
			||||||
echo $ac_n "checking for genuine getopt""... $ac_c" 1>&6
 | 
					echo $ac_n "checking for genuine getopt""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4597: checking for genuine getopt" >&5
 | 
					echo "configure:4598: checking for genuine getopt" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_func_getopt'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_func_getopt'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -4601,7 +4602,7 @@ else
 | 
				
			||||||
  ac_cv_func_getopt=no
 | 
					  ac_cv_func_getopt=no
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4605 "configure"
 | 
					#line 4606 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
extern int optind, opterr, getopt();
 | 
					extern int optind, opterr, getopt();
 | 
				
			||||||
| 
						 | 
					@ -4613,7 +4614,7 @@ int main() {
 | 
				
			||||||
	exit(0);
 | 
						exit(0);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 | 
					if { (eval echo configure:4618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
  ac_cv_func_getopt=yes
 | 
					  ac_cv_func_getopt=yes
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -4631,7 +4632,7 @@ test $ac_cv_func_getopt = no && LIBOBJS="$LIBOBJS getopt.o"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# check whether malloc(0) returns NULL or not
 | 
					# check whether malloc(0) returns NULL or not
 | 
				
			||||||
echo $ac_n "checking what malloc(0) returns""... $ac_c" 1>&6
 | 
					echo $ac_n "checking what malloc(0) returns""... $ac_c" 1>&6
 | 
				
			||||||
echo "configure:4635: checking what malloc(0) returns" >&5
 | 
					echo "configure:4636: checking what malloc(0) returns" >&5
 | 
				
			||||||
if eval "test \"`echo '$''{'ac_cv_malloc_zero'+set}'`\" = set"; then
 | 
					if eval "test \"`echo '$''{'ac_cv_malloc_zero'+set}'`\" = set"; then
 | 
				
			||||||
  echo $ac_n "(cached) $ac_c" 1>&6
 | 
					  echo $ac_n "(cached) $ac_c" 1>&6
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					@ -4639,7 +4640,7 @@ else
 | 
				
			||||||
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 | 
					    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  cat > conftest.$ac_ext <<EOF
 | 
					  cat > conftest.$ac_ext <<EOF
 | 
				
			||||||
#line 4643 "configure"
 | 
					#line 4644 "configure"
 | 
				
			||||||
#include "confdefs.h"
 | 
					#include "confdefs.h"
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
#ifdef HAVE_STDLIB
 | 
					#ifdef HAVE_STDLIB
 | 
				
			||||||
| 
						 | 
					@ -4658,7 +4659,7 @@ main() {
 | 
				
			||||||
	exit(0);
 | 
						exit(0);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
if { (eval echo configure:4662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 | 
					if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
  ac_cv_malloc_zero=nonnull
 | 
					  ac_cv_malloc_zero=nonnull
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										11
									
								
								configure.in
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								configure.in
									
										
									
									
									
								
							| 
						 | 
					@ -679,12 +679,13 @@ DLINCLDIR=${dldir}
 | 
				
			||||||
LIBS="$LIBS -ldl -ldld"], AC_MSG_RESULT(no))
 | 
					LIBS="$LIBS -ldl -ldld"], AC_MSG_RESULT(no))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# checks for library functions
 | 
					# checks for library functions
 | 
				
			||||||
AC_CHECK_FUNCS(alarm chown clock ctermid ctermid_r dlopen execv flock fork \
 | 
					AC_CHECK_FUNCS(alarm chown clock confstr ctermid ctermid_r dlopen execv \
 | 
				
			||||||
 fsync fdatasync ftime ftruncate \
 | 
					 flock fork fsync fdatasync fpathconf ftime ftruncate \
 | 
				
			||||||
 getpeername getpgrp getpid getpwent gettimeofday getwd \
 | 
					 getgroups getpeername getpgrp getpid getpwent gettimeofday getwd \
 | 
				
			||||||
 kill link lstat mkfifo mktime nice pause plock pthread_init putenv readlink \
 | 
					 kill link lstat mkfifo mktime nice pathconf pause plock pthread_init \
 | 
				
			||||||
 | 
					 putenv readlink \
 | 
				
			||||||
 select setgid setlocale setuid setsid setpgid setpgrp setvbuf \
 | 
					 select setgid setlocale setuid setsid setpgid setpgrp setvbuf \
 | 
				
			||||||
 sigaction siginterrupt sigrelse strftime strptime symlink \
 | 
					 sigaction siginterrupt sigrelse strftime strptime symlink sysconf \
 | 
				
			||||||
 tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
 | 
					 tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
 | 
				
			||||||
 truncate uname waitpid)
 | 
					 truncate uname waitpid)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue