debian: Build libosmo-abis with osmo-e1d support

We've supported building with osmo-e1d support for quite some time, but
our Debian packages have not been upgraded to include that support.
Let's change that.

Related: OS#2547
Change-Id: I2f365c3fbd44457033e922257cf040408d0c7058
diff --git a/debian/control b/debian/control
index c304139..842207c 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@
                libdpkg-perl,
                git,
                libosmocore-dev (>= 1.4.0),
+               libosmo-e1d-dev,
                pkg-config,
                libortp-dev
 Standards-Version: 3.9.7
diff --git a/debian/rules b/debian/rules
index f59ca1e..b229005 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,12 @@
 %:
 	dh $@ --with autoreconf --fail-missing
 
+# debmake generated override targets
+# Set options for ./configure
+CONFIGURE_FLAGS += --enable-e1d
+override_dh_auto_configure:
+	dh_auto_configure -- $(CONFIGURE_FLAGS)
+
 override_dh_strip:
 	dh_strip --dbg-package=libosmo-abis-dbg