From ae2612e32753ea9f7c621f87431219bf79d3fe08 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Mon, 9 Jan 2012 13:26:06 -0200 Subject: [PATCH] build-sys: give recommended configure options for hacking --- autogen.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.7.4