[project @ 1998-03-03 17:30:14 by simonm]
authorsimonm <unknown>
Tue, 3 Mar 1998 17:30:24 +0000 (17:30 +0000)
committersimonm <unknown>
Tue, 3 Mar 1998 17:30:24 +0000 (17:30 +0000)
Add some size tests.

configure.in
mk/config.h.in

index 97acf32..7487fc9 100644 (file)
@@ -470,6 +470,13 @@ dnl ** check for leading underscores in symbol names
 #
 AC_UNDERSCORE
 
+#
+dnl ** check the size of various C types
+#
+AC_CHECK_SIZEOF(int,    4)
+AC_CHECK_SIZEOF(long,   4)
+AC_CHECK_SIZEOF(void *, 4)
+
 AC_OUTPUT(mk/config.mk, echo timestamp > mk/stamp-h )
 
 echo ''
index 0596c44..6eac388 100644 (file)
 
 /* Define this if your time.h defines altzone */
 #undef HAVE_ALTZONE
+
+/* sizeof(int) */
+#undef SIZEOF_INT
+
+/* sizeof(long) */
+#undef SIZEOF_LONG
+
+/* sizeof(void *) */
+#undef SIZEOF_VOID_P