summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-09-24 00:50:22 -0400
committerOri Bernstein <ori@eigenstate.org>2014-09-24 00:50:22 -0400
commit3b868baad030d2002b5c15920d228130b7dd96c8 (patch)
treeb82fd0dadf60639e65f5b44a5a680f4acfd307d7 /configure
parent13433d8aa8f5e97e4754916a70e177ff14214cfd (diff)
downloadmc-3b868baad030d2002b5c15920d228130b7dd96c8.tar.gz
Remove dependency on system() call.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 3808f35..36d9c97 100755
--- a/configure
+++ b/configure
@@ -36,17 +36,17 @@ echo export INST_ROOT=$prefix > config.mk
echo '#define Instroot "'$prefix'"' > config.h
case $OS in
*Linux*)
- echo '#define Asmcmd "as -g -o %s %s"' >> config.h
+ echo '#define Asmcmd {"as", "-g", "-o", NULL}' >> config.h
echo '#define symprefix ""' >> config.h
echo 'export SYS=linux' >> config.mk
;;
*Darwin*)
- echo '#define Asmcmd "as -g -o %s %s"' >> config.h
+ echo '#define Asmcmd {"as", "-g", "-o", NULL}' >> config.h
echo '#define symprefix "_"' >> config.h
echo 'export SYS=osx' >> config.mk
;;
*FreeBSD*)
- echo '#define Asmcmd "as -g -o %s %s"' >> config.h
+ echo '#define Asmcmd {"as", "-g", "-o", NULL}' >> config.h
echo '#define symprefix ""' >> config.h
echo 'export SYS=freebsd' >> config.mk
;;