summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-01-09 13:26:06 -0200
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2012-01-09 13:27:20 -0200
commitae2612e32753ea9f7c621f87431219bf79d3fe08 (patch)
tree0943d4d26e0365da7d52af8f4deaa9218043958f /autogen.sh
parentdd420605b27e58297a68805a56cbf10810d785a0 (diff)
downloadkmod-ae2612e32753ea9f7c621f87431219bf79d3fe08.tar.gz
build-sys: give recommended configure options for hacking
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 56e61e6..18370ce 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -16,5 +16,14 @@ echo "----------------------------------------------------------------"
echo "Initialized build system. For a common configuration please run:"
echo "----------------------------------------------------------------"
echo
-echo "# ./configure $args"
+echo "# ./configure CFLAGS='-g -O2' \\"
+echo " $args"
+echo
+
+echo "If you are debugging or hacking on kmod, consider configuring"
+echo "like below:"
+echo
+echo "# ./configure CFLAGS='-g -O2 -Werror' \\"
+echo " $args \\"
+echo " --enable-debug"
echo