Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDick Porter <dick@acm.org>2002-03-19 22:29:43 +0300
committerDick Porter <dick@acm.org>2002-03-19 22:29:43 +0300
commit63b7ca26dfb7afba1c818d975267c19cc38b2651 (patch)
treef927358eaaa1854e518b9e6e8925282d21146903 /web/mono-build.sh
parent034fc0046ac6c959c688a735cfb6a2a43aced742 (diff)
2002-03-19 Dick Porter <dick@ximian.com>
* doc/mono-build.sh: * doc/mono-build-w32.sh: Updated to get libgc svn path=/trunk/mono/; revision=3224
Diffstat (limited to 'web/mono-build.sh')
-rwxr-xr-xweb/mono-build.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/web/mono-build.sh b/web/mono-build.sh
index 09b488f68d7..ffe5fc216b9 100755
--- a/web/mono-build.sh
+++ b/web/mono-build.sh
@@ -97,6 +97,12 @@ else
PKG_CONFIG_PATH="$here/install/lib/pkgconfig:$PKG_CONFIG_PATH"
fi
+if [ -f /usr/include/gc/gc.h ]; then
+ install_libgc=no
+else
+ install_libgc=yes
+fi
+
if [ $install_pkgconfig = "yes" -o $install_glib = "yes" ]; then
ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
fi
@@ -106,6 +112,11 @@ export LD_LIBRARY_PATH
export ACLOCAL_FLAGS
export PKG_CONFIG_PATH
+CPPFLAGS="$CPPFLAGS -I$here/install/include"
+LDFLAGS="$LDFLAGS -L$here/install/lib"
+export CPPFLAGS
+export LDFLAGS
+
# Grab pkg-config-0.8, glib-1.3.12 if necessary
if [ $install_pkgconfig = "yes" ]; then
@@ -120,6 +131,15 @@ else
echo "Not installing glib, you already seem to have it installed"
fi
+if [ $install_libgc = "yes" ]; then
+ install_package gc6.0.tar.gz gc6.0 libgc
+ # make install didnt do the headers!
+ mkdir -p $here/install/include/gc
+ cp -r $here/gc6.0/include/* $here/install/include/gc
+else
+ echo "Not installing libgc, you already seem to have it installed"
+fi
+
# End of build dependencies, now get the latest mono checkout and build that
test -z "$CVSROOT" && CVSROOT=:pserver:anonymous@anoncvs.go-mono.com:/mono