[project @ 2000-06-08 20:41:30 by panne]
authorpanne <unknown>
Thu, 8 Jun 2000 20:41:30 +0000 (20:41 +0000)
committerpanne <unknown>
Thu, 8 Jun 2000 20:41:30 +0000 (20:41 +0000)
autoconf hackery for CTypes{,ISO}

acconfig.h
configure.in
mk/config.h.in

index a5cd3f3..e6ad3f5 100644 (file)
 /* Define if you support the production (and use) of Win32 DLLs. */
 #undef HAVE_WIN32_DLL_SUPPORT
 
+/* Define to Haskell type for char */
+#undef HTYPE_CHAR
+
+/* Define to Haskell type for clock_t */
+#undef HTYPE_CLOCK_T
+
+/* Define to Haskell type for signed double */
+#undef HTYPE_DOUBLE
+
+/* Define to Haskell type for float */
+#undef HTYPE_FLOAT
+
+/* Define to Haskell type for int */
+#undef HTYPE_INT
+
+/* Define to Haskell type for long */
+#undef HTYPE_LONG
+
+/* Define to Haskell type for long long */
+#undef HTYPE_LONG_LONG
+
+/* Define to Haskell type for ptrdiff_t */
+#undef HTYPE_PTRDIFF_T
+
+/* Define to Haskell type for short */
+#undef HTYPE_SHORT
+
+/* Define to Haskell type for sig_atomic_t */
+#undef HTYPE_SIG_ATOMIC_T
+
+/* Define to Haskell type for signed char */
+#undef HTYPE_SIGNED_CHAR
+
+/* Define to Haskell type for size_t */
+#undef HTYPE_SIZE_T
+
+/* Define to Haskell type for time_t */
+#undef HTYPE_TIME_T
+
+/* Define to Haskell type for unsigned char */
+#undef HTYPE_UNSIGNED_CHAR
+
+/* Define to Haskell type for unsigned int */
+#undef HTYPE_UNSIGNED_INT
+
+/* Define to Haskell type for unsigned long */
+#undef HTYPE_UNSIGNED_LONG
+
+/* Define to Haskell type for unsigned long long */
+#undef HTYPE_UNSIGNED_LONG_LONG
+
+/* Define to Haskell type for unsigned short */
+#undef HTYPE_UNSIGNED_SHORT
+
+/* Define to Haskell type for wchar_t */
+#undef HTYPE_WCHAR_T
+
 /* Define if C Symbols have a leading underscore added by the compiler */
 #undef LEADING_UNDERSCORE
 
index 436a4d0..c3d0e13 100644 (file)
@@ -612,6 +612,29 @@ fi
 FPTOOLS_CHECK_ALIGNMENT(unsigned short)
 FPTOOLS_CHECK_ALIGNMENT(void *)
 
+dnl ** map standard C types and ISO types to Haskell types
+FPTOOLS_CHECK_HTYPE(char)
+FPTOOLS_CHECK_HTYPE(signed char)
+FPTOOLS_CHECK_HTYPE(unsigned char)
+FPTOOLS_CHECK_HTYPE(short)
+FPTOOLS_CHECK_HTYPE(unsigned short)
+FPTOOLS_CHECK_HTYPE(int)
+FPTOOLS_CHECK_HTYPE(unsigned int)
+FPTOOLS_CHECK_HTYPE(long)
+FPTOOLS_CHECK_HTYPE(unsigned long)
+if test "$fptools_cv_have_long_long" = yes; then
+FPTOOLS_CHECK_HTYPE(long long)
+FPTOOLS_CHECK_HTYPE(unsigned long long)
+fi
+FPTOOLS_CHECK_HTYPE(float)
+FPTOOLS_CHECK_HTYPE(double)
+FPTOOLS_CHECK_HTYPE(ptrdiff_t)
+FPTOOLS_CHECK_HTYPE(size_t)
+FPTOOLS_CHECK_HTYPE(wchar_t)
+FPTOOLS_CHECK_HTYPE(sig_atomic_t)
+FPTOOLS_CHECK_HTYPE(clock_t)
+FPTOOLS_CHECK_HTYPE(time_t)
+
 dnl ** can we open files in binary mode?
 FPTOOLS_O_BINARY
 
index c7e4b30..cc96838 100644 (file)
 /* Define if you support the production (and use) of Win32 DLLs. */
 #undef HAVE_WIN32_DLL_SUPPORT
 
+/* Define to Haskell type for char */
+#undef HTYPE_CHAR
+
+/* Define to Haskell type for clock_t */
+#undef HTYPE_CLOCK_T
+
+/* Define to Haskell type for signed double */
+#undef HTYPE_DOUBLE
+
+/* Define to Haskell type for float */
+#undef HTYPE_FLOAT
+
+/* Define to Haskell type for int */
+#undef HTYPE_INT
+
+/* Define to Haskell type for long */
+#undef HTYPE_LONG
+
+/* Define to Haskell type for long long */
+#undef HTYPE_LONG_LONG
+
+/* Define to Haskell type for ptrdiff_t */
+#undef HTYPE_PTRDIFF_T
+
+/* Define to Haskell type for short */
+#undef HTYPE_SHORT
+
+/* Define to Haskell type for sig_atomic_t */
+#undef HTYPE_SIG_ATOMIC_T
+
+/* Define to Haskell type for signed char */
+#undef HTYPE_SIGNED_CHAR
+
+/* Define to Haskell type for size_t */
+#undef HTYPE_SIZE_T
+
+/* Define to Haskell type for time_t */
+#undef HTYPE_TIME_T
+
+/* Define to Haskell type for unsigned char */
+#undef HTYPE_UNSIGNED_CHAR
+
+/* Define to Haskell type for unsigned int */
+#undef HTYPE_UNSIGNED_INT
+
+/* Define to Haskell type for unsigned long */
+#undef HTYPE_UNSIGNED_LONG
+
+/* Define to Haskell type for unsigned long long */
+#undef HTYPE_UNSIGNED_LONG_LONG
+
+/* Define to Haskell type for unsigned short */
+#undef HTYPE_UNSIGNED_SHORT
+
+/* Define to Haskell type for wchar_t */
+#undef HTYPE_WCHAR_T
+
 /* Define if C Symbols have a leading underscore added by the compiler */
 #undef LEADING_UNDERSCORE