From 476a0eb35f629b2a21361737ceb7819f10f5c4fb Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 22 Dec 2009 23:57:52 +0100 Subject: [PATCH] rules: Output the content of config.log if configure fails. This might help debugging. --- debian/changelog | 4 +++- debian/rules | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.30.2