blob: c0b95427e78d89f40557d7998f7f1d75d79f2718 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
$NetBSD: patch-ai,v 1.6 2007/03/24 17:57:20 kristerw Exp $
--- ../ghc-6.4.2/distrib/prep-bin-dist-mingw.orig 2006-03-19 04:26:18.000000000 +0100
+++ ../ghc-6.4.2/distrib/prep-bin-dist-mingw 2006-10-14 04:43:55.000000000 +0200
@@ -27,25 +27,25 @@
# - gcc_version -- what gcc version your mingw tree uses.
#
#
-if [ "x${old_ghc_top}" == "x" ]; then
+if [ "x${old_ghc_top}" = "x" ]; then
export old_ghc_top=c:/ghc/ghc-6.2.1
fi
-if [ "x${mingw_top}" == "x" ]; then
+if [ "x${mingw_top}" = "x" ]; then
export mingw_top=c:/mingw3
fi
# The gcc-lib directory of the mingw tree you want to
# include with the binary dist.
-if [ "x${gcc_lib}" == "x" ]; then
- if [ "x${gcc_version}" == "x" ]; then
+if [ "x${gcc_lib}" = "x" ]; then
+ if [ "x${gcc_version}" = "x" ]; then
# The default (with mingw3)
export gcc_lib=$mingw_top/lib/gcc-lib/mingw32/3.2.3
else
export gcc_lib=$mingw_top/lib/gcc-lib/mingw32/${gcc_version}
fi
fi
-if [ "x${gcc_libexec}" == "x" ]; then
- if [ "x${gcc_version}" == "x" ]; then
+if [ "x${gcc_libexec}" = "x" ]; then
+ if [ "x${gcc_version}" = "x" ]; then
# The default (with mingw3)
export gcc_libexec=$mingw_top/lib/gcc-lib/mingw32/3.2.3
else
@@ -61,7 +61,7 @@ if [ "x${gcc_libexec}" == "x" ]; then
fi
#Directory where a (cygwin-free) perl binary resides.
-if [ "x${perl_dir}" == "x" ]; then
+if [ "x${perl_dir}" = "x" ]; then
export perl_dir=$old_ghc_top
fi
@@ -69,13 +69,13 @@ fi
# The mingw include, lib, and bin directories; all derived
# from ${mingw_top}.
#
-if [ "x${mingw_include}" == "x" ]; then
+if [ "x${mingw_include}" = "x" ]; then
export mingw_include=$mingw_top/include
fi
-if [ "x${mingw_lib}" == "x" ]; then
+if [ "x${mingw_lib}" = "x" ]; then
export mingw_lib=$mingw_top/lib
fi
-if [ "x${mingw_bin}" == "x" ]; then
+if [ "x${mingw_bin}" = "x" ]; then
export mingw_bin=$mingw_top/bin
fi
|