summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-06-06 13:09:55 +0000
committerIan Lynagh <igloo@earth.li>2008-06-06 13:09:55 +0000
commit89ce706af6ca2670600b510bf8be8bce0b4fe9ef (patch)
treecaed28ebe505e1edf977896ab3ce83a1cefbd8b7 /configure.ac
parentdc2a0e66275055dec3068cc8194cfe907acd36ff (diff)
downloadhaskell-89ce706af6ca2670600b510bf8be8bce0b4fe9ef.tar.gz
Teach configure about amd64/NetBSD; fixes trac #2348
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8892ba0073..a2e4e1d69a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -170,6 +170,15 @@ amd64-*-freebsd*|x86_64-*-freebsd*)
HostVendor_CPP='unknown'
HostOS_CPP='freebsd'
;;
+amd64-*-netbsd*|x86_64-*-netbsd*)
+ HostPlatform=x86_64-unknown-netbsd
+ TargetPlatform=x86_64-unknown-netbsd
+ BuildPlatform=x86_64-unknown-netbsd
+ HostPlatform_CPP='x86_64_unknown_netbsd'
+ HostArch_CPP='x86_64'
+ HostVendor_CPP='unknown'
+ HostOS_CPP='netbsd'
+ ;;
arm*-linux*)
HostPlatform=arm-unknown-linux # hack again
TargetPlatform=arm-unknown-linux