summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-09-21 11:39:39 -0400
committerOri Bernstein <ori@eigenstate.org>2012-09-21 11:39:39 -0400
commit05c90edfb988054f51dd360b5459cd0ca81693f8 (patch)
tree28de472cd3240846c40392841af53e247229843a /configure
parentc827bfd2eb941cfdccf9cb2a1b6e50c24af5049e (diff)
downloadmc-05c90edfb988054f51dd360b5459cd0ca81693f8.tar.gz
Fix config.h quoting on Darwin.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 342b94d..329e8f6 100755
--- a/configure
+++ b/configure
@@ -33,7 +33,7 @@ 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*)
@@ -41,8 +41,8 @@ case $OS in
echo '#define Fprefix ""' >> config.h
;;
*Darwin*)
- echo '\#define Asmcmd "as -g -o %s %s"' >> config.h
- echo '\#define Fprefix "_"' >> config.h
+ echo '#define Asmcmd "as -g -o %s %s"' >> config.h
+ echo '#define Fprefix "_"' >> config.h
;;
*)
echo 'Unknown architecture. Assuming Linux ABI.'