shithub: mc

Download patch

ref: 1520007d5fd0238f7ea3bf7aa7269043976bf3d6
parent: c71e69c0817c581bcbe0c321a8dec64433c553c7
author: Ori Bernstein <ori@eigenstate.org>
date: Sun May 17 14:46:28 EDT 2015

Don't need a configure script for mbld.

--- a/mbld/configure
+++ /dev/null
@@ -1,65 +1,0 @@
-#!/bin/sh
-
-prefix="/usr/local"
-
-for i in `seq 300`; do
-    echo "Lots of output to emulate automake... ok"
-    echo "Testing for things you'll never use... fail"
-    echo "Satisfying the fortran77 lobby... ok"
-    echo "Burning CPU time checking for the bloody obvious... ok"
-done
-echo "Automake emulated successfully"
-
-INST_ROOT='/usr/local'
-
-for arg in $*; do
-    shift 1
-    case $arg in
-        "--prefix" | "-p")
-            prefix=shift $*
-            ;;
-        --prefix=*)
-            prefix=`echo $arg | sed 's/^--prefix=//g'`
-            ;;
-        "--help" | "-h")
-            echo "Usage:"
-            echo "      --prefix | -p: The prefix to install to"
-            break;
-            ;;
-        *) echo "Unrecognized argument $arg";;
-    esac
-done
-
-OS=`uname`
-
-echo export INST_ROOT=$prefix > config.mk
-
-echo "pkg config = " > config.myr
-echo "const Instroot = \"$prefix\"" >> config.myr
-echo "const Objsuffix = \".o\"" >> config.myr
-echo "const Linkcmd = [\"ld\", \"-o\"]" >> config.myr
-echo "const Arcmd = [\"ar\", \"-rcs\"]" >> config.myr
-echo "const Ascmd = [\"as\", \"-g\"]" >> config.myr
-echo "const Directlib = false" >> config.myr
-echo "const Runtime = \"_myrrt.o\"" >> config.myr
-echo "const Manpath = \"share/man/man\"" >> config.myr
-case $OS in
-    *Linux*)
-        echo 'export SYS=linux' >> config.mk
-        echo 'const Sys = "Linux"' >> config.myr
-        ;;
-    *Darwin*)
-        echo 'export SYS=osx' >> config.mk
-        echo 'const Sys = "OSX"' >> config.myr
-        ;;
-    *)
-        echo 'Unknown architecture.'
-        ;;
-esac
-echo ";;" >> config.myr
-
-cat << EOF
-    Building with:
-        prefix=$prefix
-EOF
-