Merge pull request #3773 from mono/bockbuild-integration
[mono.git] / mcs / tools / linker / configure
1 #!/bin/sh
2 VERSION=0.1
3 prefix=/usr/local
4 while test x$1 != x; do
5         case $1 in
6                 --prefix=*)
7                         prefix=`echo $1 | sed 's/--prefix=//'`
8                         ;;
9                 --prefix)
10                         echo --prefix needs an argument: --prefix=directory >&2
11                         ;;
12                 *)
13                         echo Unknown argument $1 >&2
14         esac
15         shift
16 done
17
18 echo "prefix=$prefix" > config.make
19 echo "RUNTIME=mono" >> config.make
20 echo "ASSEMBLY_VERSION=$VERSION.0.0" >> config.make
21 echo "VERSION=$VERSION" >> config.make
22
23 echo "monolinker has been configure to be installed in $prefix"