X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debian%2FDebhelper%2FBuildsystem%2Fautoconf.pm;h=a97de9c66ab9f85a670f4c94b01a47f1312eac1b;hb=93cab1844819ee8f761606f6ccc511ebf07d2213;hp=7229fc718e866a61a992f5f6b6509dc68917da40;hpb=0c6691e739648718ca616aa365dd147cbbaa3a56;p=debhelper.git diff --git a/Debian/Debhelper/Buildsystem/autoconf.pm b/Debian/Debhelper/Buildsystem/autoconf.pm index 7229fc7..a97de9c 100644 --- a/Debian/Debhelper/Buildsystem/autoconf.pm +++ b/Debian/Debhelper/Buildsystem/autoconf.pm @@ -49,7 +49,15 @@ sub configure { } $this->mkdir_builddir(); - $this->doit_in_builddir($this->get_source_rel2builddir("configure"), @opts, @_); + eval { + $this->doit_in_builddir($this->get_source_rel2builddir("configure"), @opts, @_); + }; + if ($@) { + if (-e $this->get_buildpath("config.log")) { + $this->doit_in_builddir("tail -v -n +0 config.log"); + } + die $@; + } } 1