diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-12-04 16:03:19 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-12-04 16:03:19 +0000 |
commit | eb5ea263bc6597de2b78ee5e5f8ca2a4137f0eca (patch) | |
tree | fe6b091a9dcc3446b53f557a96ef6e0aa1c22a35 /configure.in | |
parent | f4fcde5c4eb58ea592cf5e3f0cc41534a7e73b46 (diff) | |
download | gnutls-eb5ea263bc6597de2b78ee5e5f8ca2a4137f0eca.tar.gz |
now the peer's certificate list is stored into auth info structure (instead
of the certificate).
several other cleanups.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/configure.in b/configure.in index 14a98c92bf..34e7121f2f 100644 --- a/configure.in +++ b/configure.in @@ -261,19 +261,29 @@ AC_SUBST( DEFINE_SIZE_T) ]) -AC_CHECK_TYPE(time_t,, -AC_DEFINE(NO_TIME_T), +AC_CHECK_TYPE(time_t, + DEFINE_TIME_T="#include <time.h>" + AC_SUBST( DEFINE_TIME_T) + , + AC_CHECK_TYPE(time_t, + DEFINE_TIME_T="#include <sys/time.h>" + AC_SUBST( DEFINE_TIME_T) + , + DEFINE_TIME_T="typedef unsigned int time_t;" + AC_SUBST( DEFINE_TIME_T) + AC_DEFINE(NO_TIME_T), + [ + #include <sys/time.h> + ] + ) +, [ -#ifdef HAVE_TIME_H -# include <time.h> -#endif -#ifdef HAVE_SYS_TIME_H -# include <sys/time.h> -#endif + #include <time.h> ] ) + AC_C_BIGENDIAN AC_MSG_RESULT([*** |