shithub: mc

Download patch

ref: 02b049f149999981a2993939750a0f3739fd4dce
parent: 4c168baca830ab272ab88c41e07fecf4b98fe79b
author: Ori Bernstein <[email protected]>
date: Mon May 26 08:58:12 EDT 2014

Don't build on unkown systems.

    We're just going to get things wrong. What was I thinking?

--- a/configure
+++ b/configure
@@ -46,9 +46,10 @@
         echo 'export SYS=osx' >> config.mk
         ;;
     *)
-        echo 'Unknown architecture. Assuming Linux ABI.'
-        echo '#define Asmcmd "as -g -o %s %s"' >> config.h
-        echo '#define Fprefix "' >> config.h
+        echo 'Unknown architecture.'
+        echo 'Cannot build'
+        rm -f config.h config.mk
+        exit 1
         ;;
 esac