Mercurial > archived > louis > perso > liblxcstats
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/configure Thu Jan 06 00:59:06 2011 +0100 @@ -0,0 +1,6 @@ +#!/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"