summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-12-04 16:03:19 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-12-04 16:03:19 +0000
commiteb5ea263bc6597de2b78ee5e5f8ca2a4137f0eca (patch)
treefe6b091a9dcc3446b53f557a96ef6e0aa1c22a35 /configure.in
parentf4fcde5c4eb58ea592cf5e3f0cc41534a7e73b46 (diff)
downloadgnutls-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.in26
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([***