build-sys: add script to bootstrap and configure
diff --git a/README b/README
index 79b272e..5837054 100644
--- a/README
+++ b/README
@@ -31,6 +31,14 @@
To compile and install run:
make && make install
+Hacking
+=======
+
+Run 'bootstrap' script before configure. If you want to accept the recommended
+flags, you just need to run 'bootstrap-configure'.
+
+Make sure to read the CODING-STYLE file.
+
Information
===========
diff --git a/bootstrap-configure b/bootstrap-configure
new file mode 100755
index 0000000..2bcd788
--- /dev/null
+++ b/bootstrap-configure
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+. ./bootstrap && \
+ exec ./configure CFLAGS="-g -O2 -Werror" $args $hackargs $*