Here is a specific, tested, patch implementing the use of the dh_autotools-dev helpers for this package.
Wookey -- Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM http://wookware.org/
diff -Nru sqlite-2.8.17/debian/changelog sqlite-2.8.17/debian/changelog --- sqlite-2.8.17/debian/changelog 2013-10-18 13:19:28.000000000 +0000 +++ sqlite-2.8.17/debian/changelog 2014-01-05 21:34:27.000000000 +0000 @@ -1,3 +1,9 @@ +sqlite (2.8.17-9arm64) unstable; urgency=low + + * Update config.{sub.guess} automatically + + -- <woo...@debian.org> Sun, 05 Jan 2014 21:32:04 +0000 + sqlite (2.8.17-9) unstable; urgency=low * Move to short debhelper rules and 3.0 (quilt) source format diff -Nru sqlite-2.8.17/debian/rules sqlite-2.8.17/debian/rules --- sqlite-2.8.17/debian/rules 2013-10-18 13:23:03.000000000 +0000 +++ sqlite-2.8.17/debian/rules 2014-01-05 21:31:42.000000000 +0000 @@ -10,6 +10,7 @@ --enable-utf8 override_dh_auto_configure: + dh_autotools-dev_updateconfig dh_auto_configure -- $(CONFIGURE_EXTRA_FLAGS) override_dh_auto_build: @@ -39,6 +40,10 @@ override_dh_auto_test: dh_auto_test || true +override_dh_clean: + dh_autotools-dev_restoreconfig + dh_clean + %: dh $@ --parallel