Skip to contentSkip to conversation

libmnl: build updates

PATCH New Jan Engelhardt 2 participants 6 messages Dec 17, 2011 – Dec 27, 2011 netfilter

lore
Share & tools
lore
#0 lore raw

The following changes since commit bae830bbfc10b3892d48cde9bafc6f7356f0affc:

build: abort autogen on subcommand failure (2011-08-09 14:28:49 +0200)

are available in the git repository at:
git://dev.medozas.de/libmnl master

Jan Engelhardt (4):
Update .gitignore
build: use AC_CONFIG_AUX_DIR and stash away tools
m4: resolve autoconf-2.68 warnings
build: disable implicit .tar.gz archive generation and use POSIX mode

 .gitignore            |   12 ++++--------
 configure.ac          |    3 ++-
 m4/gcc4_visibility.m4 |    4 ++--
 3 files changed, 8 insertions(+), 11 deletions(-)
#1 lore raw

PATCH 1/4 Update .gitignore

Only ignore these paths if they are a directory.

---
 .gitignore |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
.gitignore +3 -3
index 04462c0..44f7088 100644
@@ -2,13 +2,13 @@
 *.la
 *.lo
 *.o
-.deps
-.libs
+.deps/
+.libs/
 Makefile
 Makefile.in
 
 /aclocal.m4
-/autom4te.cache
+/autom4te.cache/
 /compile
 /config.*
 /configure
Signature · 1 line
1.7.3.4
#2 lore raw

PATCH 2/4 build: use AC_CONFIG_AUX_DIR and stash away tools

In reply to Jan Engelhardt
---
 .gitignore   |    6 +-----
 configure.ac |    1 +
 2 files changed, 2 insertions(+), 5 deletions(-)
.gitignore +1 -5
index 44f7088..9a7d86c 100644
@@ -9,14 +9,10 @@ Makefile.in
 
 /aclocal.m4
 /autom4te.cache/
-/compile
+/build-aux/
 /config.*
 /configure
-/depcomp
-/install-sh
 /libtool
-/ltmain.sh
-/missing
 /stamp-h1
 
 /doxygen.cfg
configure.ac +1 -0
index a9fde6c..130ca75 100644
@@ -1,6 +1,7 @@
 dnl Process this file with autoconf to create configure.
 
 AC_INIT([libmnl], [1.0.1])
+AC_CONFIG_AUX_DIR([build-aux])
 AC_CANONICAL_HOST
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADERS([config.h])
Signature · 1 line
1.7.3.4
#3 lore raw

PATCH 3/4 m4: resolve autoconf-2.68 warnings

In reply to Jan Engelhardt

Newer autoconf desires proper full quoting and use of AC_LANG_SOURCE. Import new m4 file from git://dev.medozas.de/m4_jengelh.

m4/gcc4_visibility.m4:4: CHECK_GCC_FVISIBILITY is expanded from... configure.ac:15: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

---
 m4/gcc4_visibility.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
m4/gcc4_visibility.m4 +2 -2
index 84959f3..214d3f3 100644
@@ -7,13 +7,13 @@ AC_DEFUN([CHECK_GCC_FVISIBILITY], [
 	CFLAGS="$saved_CFLAGS -fvisibility=hidden"
 	AC_CACHE_CHECK([whether compiler accepts -fvisibility=hidden],
 	  [ac_cv_fvisibility_hidden], AC_COMPILE_IFELSE(
-		AC_LANG_PROGRAM([], []),
+		[AC_LANG_SOURCE()],
 		[ac_cv_fvisibility_hidden=yes],
 		[ac_cv_fvisibility_hidden=no]
 	))
 	if test "$ac_cv_fvisibility_hidden" = "yes"; then
 		AC_DEFINE([HAVE_VISIBILITY_HIDDEN], [1],
-		  [True if compiler supports -fvisibility=hidden])
+			[True if compiler supports -fvisibility=hidden])
 		AC_SUBST([GCC_FVISIBILITY_HIDDEN], [-fvisibility=hidden])
 	fi
 	CFLAGS="$saved_CFLAGS"
Signature · 1 line
1.7.3.4
#4 lore raw

PATCH 4/4 build: disable implicit .tar.gz archive generation and use POSIX mode

In reply to Jan Engelhardt
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
configure.ac +1 -1
index 130ca75..69173e6 100644
@@ -5,7 +5,7 @@ AC_CONFIG_AUX_DIR([build-aux])
 AC_CANONICAL_HOST
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADERS([config.h])
-AM_INIT_AUTOMAKE([foreign dist-bzip2 1.6 subdir-objects])
+AM_INIT_AUTOMAKE([foreign tar-pax no-dist-gzip dist-bzip2 1.6 subdir-objects])
 
 AC_PROG_CC
 AM_PROG_CC_C_O
Signature · 1 line
1.7.3.4
#5 lore raw
In reply to Jan Engelhardt
Quoted 5 lines · Jan Engelhardt

The following changes since commit bae830bbfc10b3892d48cde9bafc6f7356f0affc:

build: abort autogen on subcommand failure (2011-08-09 14:28:49 +0200)

Quoted 8 lines

are available in the git repository at:
git://dev.medozas.de/libmnl master

Jan Engelhardt (4):
Update .gitignore
build: use AC_CONFIG_AUX_DIR and stash away tools
m4: resolve autoconf-2.68 warnings
build: disable implicit .tar.gz archive generation and use POSIX mode

Pulled and pushed out, thanks Jan