Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
9579f611
Commit
9579f611
authored
Jun 08, 2000
by
panne
Browse files
[project @ 2000-06-08 20:41:30 by panne]
autoconf hackery for CTypes{,ISO}
parent
a379f8f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
acconfig.h
View file @
9579f611
...
...
@@ -96,6 +96,63 @@
/* 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
...
...
configure.in
View file @
9579f611
...
...
@@ -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
...
...
mk/config.h.in
View file @
9579f611
...
...
@@ -147,6 +147,63 @@
/* 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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment