summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-09-28 13:56:54 -0400
committerOri Bernstein <ori@eigenstate.org>2012-09-28 13:56:54 -0400
commitdeb278d26087e1393e1ef1f9bfe0592b4df16298 (patch)
treea3ef66288e25ae4ce53c952cbaff63b1d9580bc4 /configure
parent040b2c92820949d286a8c94b7dcb8965523549e8 (diff)
downloadmc-deb278d26087e1393e1ef1f9bfe0592b4df16298.tar.gz
use 'myrbuild' to build the standard Myrddin library.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index a188c4f..9033b6c 100755
--- a/configure
+++ b/configure
@@ -33,16 +33,18 @@ done
OS=`uname`
echo export INST_ROOT=$prefix > config.mk
-echo '#define Instroot "'$prefix'"' > config.h
+echo '#define Instroot "'$prefix'"' > config.h
case $OS in
*Linux*)
echo '#define Asmcmd "as -g -o %s %s"' >> config.h
echo '#define Fprefix ""' >> config.h
+ echo 'export SYS=linux' >> config.mk
;;
*Darwin*)
echo '#define Asmcmd "as -g -o %s %s"' >> config.h
echo '#define Fprefix "_"' >> config.h
+ echo 'export SYS=osx' >> config.mk
;;
*)
echo 'Unknown architecture. Assuming Linux ABI.'