[project @ 2003-09-03 11:15:19 by simonmar]
[ghc-hetmet.git] / configure.ac
index 319e54a..b8d1116 100644 (file)
@@ -206,6 +206,15 @@ ia64-*-linux*)
         HostVendor_CPP='unknown'
         HostOS_CPP='linux'
         ;;
+x86_64-*-linux*)
+        HostPlatform=x86_64-unknown-linux
+        TargetPlatform=x86_64-unknown-linux
+        BuildPlatform=x86_64-unknown-linux
+        HostPlatform_CPP='x86_64_unknown_linux'
+        HostArch_CPP='x86_64'
+        HostVendor_CPP='unknown'
+        HostOS_CPP='linux'
+       ;;
 m68k-next-nextstep2)
         HostPlatform_CPP='m68k_next_nextstep2'
         HostArch_CPP='m68k'
@@ -236,13 +245,13 @@ m68k-*-openbsd*)
         HostVendor_CPP='unknown'
         HostOS_CPP='openbsd'
         ;;
-m68k-apple-netbsd*)
-       HostPlatform=m68k-apple-netbsd
-       TargetPlatform=m68k-apple-netbsd
-       BuildPlatform=m68k-apple-netbsd
-        HostPlatform_CPP='m68k_apple_netbsd'
+m68k-*-netbsd*)
+       HostPlatform=m68k-unknown-netbsd
+       TargetPlatform=m68k-unknown-netbsd
+       BuildPlatform=m68k-unknown-netbsd
+        HostPlatform_CPP='m68k_unknown_netbsd'
         HostArch_CPP='m68k'
-        HostVendor_CPP='apple'
+        HostVendor_CPP='unknown'
         HostOS_CPP='netbsd'
         ;;
 m68k-sun-sunos4*)
@@ -718,10 +727,10 @@ fi
 
 AC_ARG_WITH(greencard,
 [  --with-greencard=<greencard compiler>
-        Use a command different from 'green-card' to compile GreenCard files
+        Use a command different from 'greencard' to compile GreenCard files
 ],
 [
-GreencardCmd=$withval;
+GreenCardCmd=$withval;
 FPTOOLS_GREENCARD(3.00)
 ]
 )