configure.ac: remove unused code

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>