shithub: mc

Download patch

ref: 05c90edfb988054f51dd360b5459cd0ca81693f8
parent: c827bfd2eb941cfdccf9cb2a1b6e50c24af5049e
author: Ori Bernstein <[email protected]>
date: Fri Sep 21 07:39:39 EDT 2012

Fix config.h quoting on Darwin.

--- a/configure
+++ b/configure
@@ -33,7 +33,7 @@
 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 @@
         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.'