debian: add support for multiarch
Enhance the debian build rules so it will create multiarch compliant
packages on those distributions that have support for it.
Also remove e2initrd-helper from the e2fsprogs package since no one
uses it any more.
Also update the debian policy standards version to 3.9.2.
Addresses-Debian-Bug: #632169
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
diff --git a/configure b/configure
index 667845f..35dd5ce 100755
--- a/configure
+++ b/configure
@@ -823,6 +823,7 @@
with_libiconv_prefix
with_included_gettext
with_libintl_prefix
+with_multiarch
'
ac_precious_vars='build_alias
host_alias
@@ -1487,6 +1488,7 @@
--with-included-gettext use the GNU gettext library included here
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
--without-libintl-prefix don't search for libintl in includedir and libdir
+ --with-multiarch=ARCH specify the multiarch triplet
Some influential environment variables:
CC C compiler command
@@ -11269,6 +11271,13 @@
+
+# Check whether --with-multiarch was given.
+if test "${with_multiarch+set}" = set; then :
+ withval=$with_multiarch; libdir=$libdir/$withval
+root_libdir=$root_libdir/$withval
+
+fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts -static" >&5
$as_echo_n "checking whether linker accepts -static... " >&6; }
if test "${ac_cv_e2fsprogs_use_static+set}" = set; then :