| 7775 |
|
|
| 7776 |
fi |
fi |
| 7777 |
|
|
| 7778 |
|
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 7779 |
|
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
| 7780 |
|
if test "${ac_cv_header_time+set}" = set; then |
| 7781 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7782 |
|
else |
| 7783 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7784 |
|
#line $LINENO "configure" |
| 7785 |
|
#include "confdefs.h" |
| 7786 |
|
#include <sys/types.h> |
| 7787 |
|
#include <sys/time.h> |
| 7788 |
|
#include <time.h> |
| 7789 |
|
|
| 7790 |
|
#ifdef F77_DUMMY_MAIN |
| 7791 |
|
# ifdef __cplusplus |
| 7792 |
|
extern "C" |
| 7793 |
|
# endif |
| 7794 |
|
int F77_DUMMY_MAIN() { return 1; } |
| 7795 |
|
#endif |
| 7796 |
|
int |
| 7797 |
|
main () |
| 7798 |
|
{ |
| 7799 |
|
if ((struct tm *) 0) |
| 7800 |
|
return 0; |
| 7801 |
|
; |
| 7802 |
|
return 0; |
| 7803 |
|
} |
| 7804 |
|
_ACEOF |
| 7805 |
|
rm -f conftest.$ac_objext |
| 7806 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7807 |
|
(eval $ac_compile) 2>&5 |
| 7808 |
|
ac_status=$? |
| 7809 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7810 |
|
(exit $ac_status); } && |
| 7811 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 7812 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7813 |
|
(eval $ac_try) 2>&5 |
| 7814 |
|
ac_status=$? |
| 7815 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7816 |
|
(exit $ac_status); }; }; then |
| 7817 |
|
ac_cv_header_time=yes |
| 7818 |
|
else |
| 7819 |
|
echo "$as_me: failed program was:" >&5 |
| 7820 |
|
cat conftest.$ac_ext >&5 |
| 7821 |
|
ac_cv_header_time=no |
| 7822 |
|
fi |
| 7823 |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
| 7824 |
|
fi |
| 7825 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 7826 |
|
echo "${ECHO_T}$ac_cv_header_time" >&6 |
| 7827 |
|
if test $ac_cv_header_time = yes; then |
| 7828 |
|
|
| 7829 |
|
cat >>confdefs.h <<\_ACEOF |
| 7830 |
|
#define TIME_WITH_SYS_TIME 1 |
| 7831 |
|
_ACEOF |
| 7832 |
|
|
| 7833 |
|
fi |
| 7834 |
|
|
| 7835 |
|
|
| 7836 |
|
|
| 7837 |
|
|
| 8516 |
|
|
| 8517 |
|
|
| 8518 |
|
|
| 8519 |
|
|
| 8520 |
for ac_func in random drand48 fchmod getopt \ |
for ac_func in random drand48 fchmod getopt \ |
| 8521 |
gethostname select socket closesocket setsockopt send recv \ |
gethostname select socket closesocket setsockopt send recv \ |
| 8522 |
|
FD_SET \ |
| 8523 |
getdtablesize getrlimit syslog vsyslog setenv snprintf |
getdtablesize getrlimit syslog vsyslog setenv snprintf |
| 8524 |
do |
do |
| 8525 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |