build-sys: give recommended configure options for hacking
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 9 Jan 2012 15:26:06 +0000 (13:26 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 9 Jan 2012 15:27:20 +0000 (13:27 -0200)
autogen.sh

index 56e61e6..18370ce 100755 (executable)
@@ -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