annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
3a1977ecccc7 Add a configure script and fix various things
Louis Opter <kalessin@kalessin.fr>
parents:
diff changeset
1 #!/bin/sh
3a1977ecccc7 Add a configure script and fix various things
Louis Opter <kalessin@kalessin.fr>
parents:
diff changeset
2
3a1977ecccc7 Add a configure script and fix various things
Louis Opter <kalessin@kalessin.fr>
parents:
diff changeset
3 # Use /usr as a prefix so it works our of the box with collectd.
3a1977ecccc7 Add a configure script and fix various things
Louis Opter <kalessin@kalessin.fr>
parents:
diff changeset
4 which cmake >/dev/null 2>&1 \
3a1977ecccc7 Add a configure script and fix various things
Louis Opter <kalessin@kalessin.fr>
parents:
diff changeset
5 && cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/ . \
3a1977ecccc7 Add a configure script and fix various things
Louis Opter <kalessin@kalessin.fr>
parents:
diff changeset
6 || echo "You need to install cmake (http://www.cmake.org/) to configure the liblxcstats"