configure.ac: Support --disable-maintainer-mode

Debian's dh_auto_configure(1) (which is used for building packages)
calls the ./configure script with the --disable-maintainer-mode flag.