autogen.sh: configure with 3-clicks + paste
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 11 Jan 2012 19:54:05 +0000 (17:54 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 11 Jan 2012 19:54:05 +0000 (17:54 -0200)
autogen.sh

index 7652d25..6c73d4e 100755 (executable)
@@ -11,19 +11,19 @@ args="--prefix=/usr \
 --sysconfdir=/etc \
 --libdir=$(libdir /usr/lib)"
 
-echo
-echo "----------------------------------------------------------------"
-echo "Initialized build system. For a common configuration please run:"
-echo "----------------------------------------------------------------"
-echo
-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
+hackargs="--enable-debug --with-xz --with-zlib"
+
+cat <<EOC
+
+----------------------------------------------------------------
+Initialized build system. For a common configuration please run:
+----------------------------------------------------------------
+
+./configure CFLAGS='-g -O2' $args
+
+If you are debugging or hacking on kmod, consider configuring
+like below:
+
+./configure CFLAGS="-g -O2 -Werror" $args $hackargs
+
+EOC