#!/bin/bash . config/functions with_options="oggvorbis mad alsa oss" feature_options="debug pch pcstl" PACKAGE="gsmp" VERSION_MAJOR=0 VERSION_MINOR=1 VERSION_MICRO=0 init parse_options $* compile cc available.c 99.c || status_error \ "A C compiler is not installed or does not work correctly. This is not yet vital for GSMP - so we continue anyway ..." compile c++ available.c || status_error \ "A C++ compiler is not installed or does not work correctly. A C++ compiler is vital for GSMP - so you need to install it first" compile c++ rtti.c stl.c template.c template-specialization.c \ partial-template-specialization.c function-template.c \ exception.c || status_error \ "At least one of the advanced ANSI C++ tests failed. Since these features are vital for GSMP you need to update to a more recent compiler first." headercheck c++ string deque map algorithm vector queue list typeinfo \ sstream iomanip functional stack streambuf || \ status_error "Not all tested STL headers are present - please install them." pkgcheck evas pkg-config EVAS atleast 0.9.9 || status_error \ "Evas is not installed on your system. You can download it at: http://www.enlightenment.org/" pkgcheck imlib2 pkg-config IMLIB2 atleast 1.0.0 pkgcheck oss compile OSS pkgcheck alsa compile ALSA atleast 1.0.0 pkgcheck ogg lib OGGVORBIS cc "-ogg" pkgcheck vorbis lib OGGVORBIS cc "-lvorbis" pkgcheck mad lib MAD cc "-lmad" pkgcheck x11 compile X11 atleast 11.0 || status_error \ "Currently X11 is required for GSMP." save