Remove the autogen.sh script and use gnome-autogen.sh instead.