Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alexbiehl-gc
GHC
Commits
9579f611
Commit
9579f611
authored
24 years ago
by
sven.panne@aedion.de
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 2000-06-08 20:41:30 by panne]
autoconf hackery for CTypes{,ISO}
parent
a379f8f5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
acconfig.h
+57
-0
57 additions, 0 deletions
acconfig.h
configure.in
+23
-0
23 additions, 0 deletions
configure.in
mk/config.h.in
+57
-0
57 additions, 0 deletions
mk/config.h.in
with
137 additions
and
0 deletions
acconfig.h
+
57
−
0
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
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
23
−
0
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
...
...
This diff is collapsed.
Click to expand it.
mk/config.h.in
+
57
−
0
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment