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
cc0a715a
Commit
cc0a715a
authored
Jun 15, 2000
by
panne
Browse files
[project @ 2000-06-15 20:22:53 by panne]
Quick workaround for Reuben's M$ configuration problems
parent
9f60c2c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
aclocal.m4
View file @
cc0a715a
dnl $Id: aclocal.m4,v 1.
49
2000/06/
08
20:
57:02
panne Exp $
dnl $Id: aclocal.m4,v 1.
50
2000/06/
15
20:
22:53
panne Exp $
dnl
dnl Extra autoconf macros for the Glasgow fptools
dnl
...
...
@@ -377,7 +377,7 @@ undefine([AC_CV_SIZEOF_NAME])dnl
dnl ** Map an arithmetic C type to a Haskell type.
dnl Based on autconf's AC_CHECK_SIZEOF.
dnl FPTOOLS_CHECK_HTYPE(TYPE)
dnl FPTOOLS_CHECK_HTYPE(TYPE
[, DEFAULT_VALUE, [, VALUE-FOR-CROSS-COMPILATION]
)
AC_DEFUN(FPTOOLS_CHECK_HTYPE,
[changequote(<<, >>)dnl
dnl The name to #define.
...
...
@@ -412,7 +412,9 @@ main() {
}
fclose(f);
exit(0);
}], AC_CV_NAME=`cat conftestval`, AC_CV_NAME=NotReallyAType, AC_CV_NAME=NotReallyAType)])dnl
}], AC_CV_NAME=`cat conftestval`,
ifelse([$2], , AC_CV_NAME=NotReallyAType, AC_CV_NAME=$2),
ifelse([$3], , AC_CV_NAME=NotReallyATypeCross, AC_CV_NAME=$3))]) dnl
AC_MSG_RESULT($AC_CV_NAME)
AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME)
undefine([AC_TYPE_NAME])dnl
...
...
configure.in
View file @
cc0a715a
...
...
@@ -631,7 +631,8 @@ 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)
dnl Int32 is a HACK for non-ISO C compilers
FPTOOLS_CHECK_HTYPE(sig_atomic_t, Int32)
FPTOOLS_CHECK_HTYPE(clock_t)
FPTOOLS_CHECK_HTYPE(time_t)
...
...
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