From 316795fcb33ea43997f7cf9de276178250bfd51e Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Thu, 15 Feb 2018 21:18:27 +0100 Subject: build-sys: disable bz2 tarball and fix some am warnings Nobody needs the .bz2 tarball. We dont't even upload it to kernel.org. BTW we fix dozens of these automake warnings: automake-1.13/am/ltlibrary.am: warning: 'libblkid.la': linking libtool libraries using a non-POSIX automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' So we can remove -Wno-portability. The only warning left is this last GNU-make'ism which somebody may fix when reading it: sys-utils/Makemodule.am:191: warning: addprefix sys-utils/,$(SETARCH_LINKS: non-POSIX variable name sys-utils/Makemodule.am:191: (probably a GNU make extension) Makefile.am:90: 'sys-utils/Makemodule.am' included from here Signed-off-by: Ruediger Meier --- .gitignore | 1 + configure.ac | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c638bdf99..a0772d177 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ .version ABOUT-NLS aclocal.m4 +ar-lib autom4te.cache compile config.cache diff --git a/configure.ac b/configure.ac index a579c8eed..23a0f7907 100644 --- a/configure.ac +++ b/configure.ac @@ -11,10 +11,11 @@ AC_CONFIG_MACRO_DIR([m4]) dnl AC_USE_SYSTEM_EXTENSIONS must be called before any macros that run dnl the compiler (like AC_PROG_LIBTOOL) to avoid autoconf errors. AC_USE_SYSTEM_EXTENSIONS -AM_INIT_AUTOMAKE([-Wall foreign 1.10 tar-pax dist-bzip2 no-dist-gzip dist-xz -Wno-portability subdir-objects]) +AM_INIT_AUTOMAKE([-Wall foreign 1.10 tar-pax no-dist-gzip dist-xz subdir-objects]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) AC_CONFIG_SRCDIR([sys-utils/mount.c]) AC_PREFIX_DEFAULT([/usr]) -- cgit v1.2.3-55-g7522