add support for ghc6.5 and IntelMac
[sbp.git] / misc / jvm-bridge.intelmac3
diff --git a/misc/jvm-bridge.intelmac3 b/misc/jvm-bridge.intelmac3
new file mode 100644 (file)
index 0000000..52e04ba
--- /dev/null
@@ -0,0 +1,11 @@
+--- Haskell/javavm.ghc-pkg.m4  2003-07-22 05:52:53.000000000 -0700
++++ Haskell/javavm.ghc-pkg.m4  2006-09-03 00:40:39.000000000 -0700
+@@ -31,7 +31,7 @@
+       extra_libraries  = ["stdc++","JVMBridge","JVMInvocation","HaskellJVMBridge"`'patsubst(patsubst(patsubst(JVM_LDFLAGS,`-framework[        ]+[^    ]+',`'),`-L[^   ]+',`'),`[      ]*-l\([^        ]+\)[   ]*',`,"\1"')],
+       include_dirs     = [],
+       c_includes       = [],
+-      package_deps     = ["lang","concurrent","haskell98"],
++      package_deps     = ["rts","haskell98"],
+       extra_ghc_opts   = ["-fglasgow-exts","-fallow-undecidable-instances"],
+       extra_cc_opts    = [],
+       extra_frameworks = [patsubst(patsubst(patsubst(patsubst(JVM_LDFLAGS,`-L[^       ]+[     ]*',`'),`-l[^   ]+[     ]*',`'),`-framework[    ]+\([^  ]+\)',``,"\1"''),`^,',`')],