#!/bin/sh # # Export variables needed for compilation export CFLAGS="-Os -pipe -w" export CXXFLAGS="-Os -pipe -fno-exceptions -fno-rtti -w" export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig #export LDFLAGS="-ltinfo" ./configure --prefix=/usr/local --enable-static --enable-shared \ --with-slang --disable-use-tty-group --disable-ncurses make