Distcheck and dependency fixes
cover Distcheck and dependency fixes
Hello.
Some small patches I did when I first tried wpan-tools. I hit the first one when trying to compile them without libnl3-devel installed and configure happily worked. The last two are two make sure we can use make distcheck to generate some release tarballs at some point.
Stefan Schmidt (3):
configure: Fail if libnl3 dependency is not found
build: add header files to SOURCES
configure: do not use check-news for now
configure.ac | 3 +-- src/Makefile.am | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-)
Signature · 1 line
1.9.3
PATCH 1/3 configure: Fail if libnl3 dependency is not found
The conditionals are not used anywhere and we have a hard dependency on libnl3 so fail if we do not detect it during configure.
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
@@ -31,7 +31,7 @@ AC_PREFIX_DEFAULT([/usr]) AC_PROG_SED AC_PROG_MKDIR_P -PKG_CHECK_MODULES(LIBNL3, [libnl-3.0 >= 3.1 libnl-genl-3.0 >= 3.1], [have_libnl3=yes], [have_libnl3=no]) +PKG_CHECK_MODULES(LIBNL3, [libnl-3.0 >= 3.1 libnl-genl-3.0 >= 3.1]) AC_CHECK_FUNCS([ \ __secure_getenv \
Signature · 1 line
1.9.3
PATCH 2/3 build: add header files to SOURCES
In reply to Stefan SchmidtWe need to specify them here or they will not end up in the tarball and thus distcheck would fail.
--- src/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
src/Makefile.am +4 -1
@@ -3,11 +3,14 @@ bin_PROGRAMS = \ iwpan_SOURCES = \ iwpan.c \ + iwpan.h \ sections.c \ info.c \ interface.c \ phy.c \ - mac.c + mac.c \ + nl_extras.h \ + nl802154.h iwpan_CFLAGS = $(AM_CFLAGS) $(LIBNL3_CFLAGS) iwpan_LDADD = $(LIBNL3_LIBS)
Signature · 1 line
1.9.3
PATCH 3/3 configure: do not use check-news for now
In reply to Stefan SchmidtWe do not use a NEWS file right now and without it distcheck will fail with this option. We can bring it back when we are going to use a NEWS file for keeping track.
--- configure.ac | 1 - 1 file changed, 1 deletion(-)
configure.ac +0 -1
@@ -5,7 +5,6 @@ AC_INIT([Userspace tools for Linux IEEE 802.15.4 stack], AC_CONFIG_SRCDIR([src/iwpan.c]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([ - check-news foreign 1.11 -Wall
Signature · 1 line
1.9.3
Alexander Aring
maintainerHi Stefan,
Quoted 6 lines · Stefan Schmidt
Hello.
Some small patches I did when I first tried wpan-tools. I hit the first one when trying to compile them without libnl3-devel installed and configure happily worked. The last two are two make sure we can use make distcheck to generate some release tarballs at some point.
great. Patches applied.
Thanks.
- Alex