#! /bin/sh if [ "$1" = "clean" -o "$1" = "-clean" -o "$1" = "--clean" ]; then rm -f Makefile aclocal.m4 config.cache config.guess config.h config.h.in config.log config.status config.sub configure install-sh libtool ltconfig ltmain.sh missing mkinstalldirs stamp-h stamp-h.in depcomp stamp-h1 find . \( -name '*.o' -o -name '*.lo' -o name 'Makefile.in' -o -name 'Makefile' \) -exec rm {} \; exit 0 fi PREFIX="/usr" # "/opt/surakware" # Gentoo Linux Configuration... #test -f /etc/make.globals && source /etc/make.globals #test -f /etc/make.conf && source /etc/make.conf #test -z ${CXXFLAGS} || export CXXFLAGS export WANT_AUTOMAKE_1_6=1 export WANT_AUTOCONF_2_5=1 aclocal && autoheader && autoconf && automake -a -c && ./configure --prefix=${PREFIX}