From: Sebastian Harl Date: Tue, 22 Dec 2009 22:57:52 +0000 (+0100) Subject: rules: Output the content of config.log if configure fails. X-Git-Tag: collectd-4.8.2-1~18 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=476a0eb35f629b2a21361737ceb7819f10f5c4fb;p=pkg-collectd.git rules: Output the content of config.log if configure fails. This might help debugging. --- diff --git a/debian/changelog b/debian/changelog index cb29f5c..4974dc0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -34,10 +34,12 @@ collectd (4.8.2-1) unstable; urgency=low - Pass --disable-static to configure to tell libtool 2 to not build any static libraries. - Install debian/collectd.conf as an example into "collectd-core". + - Output the content of config.log if configure fails -- this might help + debugging. * debian/README.Debian: - Added a short explanation of the package split. - -- Sebastian Harl Tue, 22 Dec 2009 23:20:46 +0100 + -- Sebastian Harl Tue, 22 Dec 2009 23:56:46 +0100 collectd (4.8.1-2) unstable; urgency=low diff --git a/debian/rules b/debian/rules index 9b46ea3..a022bad 100755 --- a/debian/rules +++ b/debian/rules @@ -101,7 +101,8 @@ config.status: configure $(DPATCH_STAMPFN) PKG_CONFIG_PATH="$(CURDIR)/debian/pkgconfig:$$PKG_CONFIG_PATH" \ ./configure $(confflags) CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \ JAVAC="$(JAVAC)" JAVA_CPPFLAGS="$(JAVA_CPPFLAGS)" \ - JAVA_LDFLAGS="$(JAVA_LDFLAGS)" + JAVA_LDFLAGS="$(JAVA_LDFLAGS)" \ + || ( status=$$?; cat config.log; exit $$status ) build: build-stamp