summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorwolfgang.thaller@gmx.net <unknown>2006-11-27 13:06:02 +0000
committerwolfgang.thaller@gmx.net <unknown>2006-11-27 13:06:02 +0000
commitffdbb302967a147550113251e47b9d98a7affdc0 (patch)
tree9d3f3e67c928c92b1ef23ba30b1524e131007239 /aclocal.m4
parent08560cf0e3a2a1928650ca5d5d0bb44fbac2ea44 (diff)
downloadhaskell-ffdbb302967a147550113251e47b9d98a7affdc0.tar.gz
Initial support for x86_64-darwin
Basic -fvia-C code generation is there, not much testing.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 9d1e1cab9b..86fdeaf76f 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -168,6 +168,10 @@ case $HostPlatform in
alpha-dec-osf*) fptools_cv_leading_underscore=no;;
*cygwin32) fptools_cv_leading_underscore=yes;;
*mingw32) fptools_cv_leading_underscore=yes;;
+
+ # HACK: Apple doesn't seem to provide nlist in the 64-bit-libraries
+x86_64-apple-darwin*) fptools_cv_leading_underscore=yes;;
+
*) AC_RUN_IFELSE([AC_LANG_SOURCE([[#ifdef HAVE_NLIST_H
#include <nlist.h>
struct nlist xYzzY1[] = {{"xYzzY1", 0},{0}};