#!/bin/bash . config/functions with_options="evas" # feature_options="debug" PACKAGE="escreen" VERSION_MAJOR=0 VERSION_MINOR=0 VERSION_MICRO=1 init prefix="/usr/local" parse_options $* compile c++ available.c || status_error \ "A C++ compiler is not installed or does not work correctly. A C++ compiler is vital for macosd - so you need to install it first" compile c++ stl.c template.c template-specialization.c \ partial-template-specialization.c function-template.c \ || status_error \ "At least one of the advanced ANSI C++ tests failed. Since these features are vital for macosd you need to update to a more recent compiler first." headercheck c++ iostream string iostream sstream fstream || \ status_error "Not all tested STL headers are present - please install them." pkgcheck evas pkg-config EVAS atleast 0.9.9 # for the time of initial development / testing only pkgcheck x11 compile X11 atleast 11.0 save