]> code.citadel.org Git - citadel.git/blobdiff - citadel/configure.in
Changed to use integer macros from typesize.h for specific bit widths
[citadel.git] / citadel / configure.in
index dcdf5db66beacdcccca91089c4e167517b40bf4c..d69fa145853f50490067fe4f1ab719001d2da268 100644 (file)
@@ -207,6 +207,13 @@ AC_TYPE_SIZE_T
 AC_HEADER_TIME
 AC_STRUCT_TM
 
+dnl Check the size of various builtin types; see typesize.h (error)
+AC_CHECK_SIZEOF(char, 0)
+AC_CHECK_SIZEOF(short, 0)
+AC_CHECK_SIZEOF(int, 0)
+AC_CHECK_SIZEOF(long, 0)
+dnl AC_CHECK_SIZEOF(long long, 0)
+
 AC_CACHE_CHECK([for ut_type in struct utmp], ac_cv_struct_ut_type,
 [AC_TRY_COMPILE([#include <sys/types.h>
 #include <utmp.h>], [struct utmp ut; ut.ut_type;],