configure: Add docdir configuration option

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>