aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-08-11 23:21:51 +0000
committerNick Mathewson <nickm@torproject.org>2003-08-11 23:21:51 +0000
commit5126f203f23773f64b51e5c0c7b7e1d702f26ca9 (patch)
tree139b1bbb5f0a3d72d74d4b7d5a1a8ecc876210e9 /configure.in
parent58e2edfb24ed19427ec52d058ffa8aecb5a94cf8 (diff)
downloadtor-5126f203f23773f64b51e5c0c7b7e1d702f26ca9.tar
tor-5126f203f23773f64b51e5c0c7b7e1d702f26ca9.tar.gz
Work on systems with broken AC_CHECK_TYPE
svn:r379
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index cf5ab525e..1c2886752 100644
--- a/configure.in
+++ b/configure.in
@@ -142,7 +142,16 @@ AC_CHECK_HEADERS(stdint.h sys/types.h inttypes.h)
dnl In case we aren't given a working stdint.h, we'll need to grow our own.
dnl Watch out.
-AC_CHECK_TYPES([int8_t, int16_t, int32_t, int64_t, uint8_t, uint16_t, uint32_t, uint64_t])
+AC_CHECK_SIZEOF(int8_t)
+AC_CHECK_SIZEOF(int16_t)
+AC_CHECK_SIZEOF(int32_t)
+AC_CHECK_SIZEOF(int64_t)
+AC_CHECK_SIZEOF(uint8_t)
+AC_CHECK_SIZEOF(uint16_t)
+AC_CHECK_SIZEOF(uint32_t)
+AC_CHECK_SIZEOF(uint64_t)
+
+dnl AC_CHECK_TYPES([int8_t, int16_t, int32_t, int64_t, uint8_t, uint16_t, uint32_t, uint64_t])
AC_CHECK_SIZEOF(char)
AC_CHECK_SIZEOF(short)