|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
#! /bin/sh
|
|
|
|
|
# From configure.ac Revision: 89357 .
|
|
|
|
|
# From configure.ac Revision: 89361 .
|
|
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
|
|
# Generated by GNU Autoconf 2.61.
|
|
|
|
|
#
|
|
|
|
@ -12403,13 +12403,11 @@ _ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
#include <sys/types.h> /* for off_t */
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
int (*fp) (FILE *, off_t, int) = fseeko;
|
|
|
|
|
return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
|
|
|
|
|
return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
|
|
|
|
|
;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
@ -12449,13 +12447,11 @@ cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
#define _LARGEFILE_SOURCE 1
|
|
|
|
|
#include <sys/types.h> /* for off_t */
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
int (*fp) (FILE *, off_t, int) = fseeko;
|
|
|
|
|
return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
|
|
|
|
|
return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
|
|
|
|
|
;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
@ -15286,56 +15282,17 @@ _ACEOF
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_func in timersub
|
|
|
|
|
do
|
|
|
|
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
|
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
|
|
|
|
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
|
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
|
|
#define $ac_func innocuous_$ac_func
|
|
|
|
|
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func (); below.
|
|
|
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
|
|
<limits.h> exists even on freestanding compilers. */
|
|
|
|
|
|
|
|
|
|
#ifdef __STDC__
|
|
|
|
|
# include <limits.h>
|
|
|
|
|
#else
|
|
|
|
|
# include <assert.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#undef $ac_func
|
|
|
|
|
|
|
|
|
|
/* Override any GCC internal prototype to avoid an error.
|
|
|
|
|
Use char because int might match the return type of a GCC
|
|
|
|
|
builtin and then its argument prototype would still apply. */
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C"
|
|
|
|
|
#endif
|
|
|
|
|
char $ac_func ();
|
|
|
|
|
/* The GNU C library defines this for functions which it implements
|
|
|
|
|
to always fail with ENOSYS. Some functions are actually named
|
|
|
|
|
something starting with __ and the normal name is an alias. */
|
|
|
|
|
#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
|
|
|
choke me
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include <sys/time.h>
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
return $ac_func ();
|
|
|
|
|
struct timeval *a; timersub(a, a, a);
|
|
|
|
|
;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
@ -15358,27 +15315,24 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
|
|
test ! -s conftest.err
|
|
|
|
|
} && test -s conftest$ac_exeext &&
|
|
|
|
|
$as_test_x conftest$ac_exeext; then
|
|
|
|
|
eval "$as_ac_var=yes"
|
|
|
|
|
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
|
|
|
echo "${ECHO_T}yes" >&6; }
|
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
|
|
|
#define HAVE_TIMERSUB 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
eval "$as_ac_var=no"
|
|
|
|
|
{ echo "$as_me:$LINENO: result: no" >&5
|
|
|
|
|
echo "${ECHO_T}no" >&6; }
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
|
|
|
fi
|
|
|
|
|
ac_res=`eval echo '${'$as_ac_var'}'`
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_res" >&6; }
|
|
|
|
|
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
if test "${ac_cv_header_sys_poll_h+set}" = set; then
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for sys/poll.h" >&5
|
|
|
|
|