view configure @ 10:3a1977ecccc7

Add a configure script and fix various things
author Louis Opter <kalessin@kalessin.fr>
date Thu, 06 Jan 2011 00:59:06 +0100
parents
children
line wrap: on
line source

#!/bin/sh

# Use /usr as a prefix so it works our of the box with collectd.
which cmake >/dev/null 2>&1 \
    && cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/ . \
    || echo "You need to install cmake (http://www.cmake.org/) to configure the liblxcstats"