modularize the IntelMac hack, should now work on all Macs with ghc6.5
[sbp.git] / misc / broken-cygwin-detection-patch
diff --git a/misc/broken-cygwin-detection-patch b/misc/broken-cygwin-detection-patch
new file mode 100644 (file)
index 0000000..b45c074
--- /dev/null
@@ -0,0 +1,12 @@
+--- Native/configure.in        2006-09-02 15:34:01.000000000 -0700
++++ Native/configure.in        2006-09-02 15:33:11.000000000 -0700
+@@ -105,7 +105,7 @@
+ ],[DEBUG_CPPFLAGS=""])
+
+ # hack for Cygwin
+-CYGPATH=`which cygpath`
++type cygpath && CYGPATH=`which cygpath`
+
+ JVM=""
+ for TESTJVM in $(sed -e '/^#.*/ d' jvm.list | grep "${JVMFILTER}") ; do
+