Fixed to work with Linux kernel 3.x.

os.platform returns 'linux3' if you build your python with linux kernel 3.x.
Since Python 3.3, it returns 'linux' so it should be used with startswith('linux').

cf. http://docs.python.org/dev/library/sys.html#sys.platform
Merge pull request #964 from matsuu/fix-linux-3

Fixed to work with Linux kernel 3.x.
Fix #967. Script was not working under Debian. Switched from /bin/sh to /bin/bash. Removed colors as red was really hard to read on a dark background. Sorry mdavid ;)
Update autogen.sh

Fixing script
Merge pull request #970 from cherokee/fix-autogen.sh

Fix #967. Script was not working under Debian.
Implements the correct usage of HSTS.
Updates the DOCTYPE of hardcoded messages.
Saw the hint in: 3976ff162ff138656e89fbb67eccfdad746c3d09
Adds support for Automake's "Silent Building" mechanism.
From commit 8d9c58fc1810b46e2a5ef10aac150cdfe4950765
Updates one of the download commands. -- Thanks to pigmej for the patch!
Fixes the HSTS QA entries. They work with SSL now.
Bumps pyscgi.py to 1.16.1
Changes an internal parameter. 'is_ssl' is not a class property.
Improve how SSL handshake errors were being reported form the QA.
Documentation for HSTS.
More on the Ciphers and Server Preference field.
Fixed a few typo's in HSTS.
Fixes some handling exception code.
Improves how HSTS redirections URLs are generated.

From commit: 5eac693fe56c88a61da510ee049bc18fbca92886
Solve the AUTOMAKE-invocation problem