[PATCH 13/13] No need to look for clock_gettime in libc

2017-03-18 Thread Ruben Kerkhof
AC_SEARCH_LIBS already does this before it looks in other libraries. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 868b989b..c3fee2d7 100644 --- a/configure.ac +++ b/configure.ac @@ -146,7 +146,7 @@ fi AC_SUBST([CONFIG_FILE]

[PATCH 12/13] Simplify check for syslog.h

2017-03-18 Thread Ruben Kerkhof
--- configure.ac | 3 +-- sysdep/unix/log.c | 8 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index d8f81d09..868b989b 100644 --- a/configure.ac +++ b/configure.ac @@ -313,8 +313,7 @@ case $sysdesc in ;; esac -AC_CHECK_HEADER([sys

[PATCH 11/13] Simplify check for alloca.h

2017-03-18 Thread Ruben Kerkhof
AC_CHECK_HEADERS_ONCE defines HAVE_ALLOCA_H if it is found. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ee352790..d8f81d09 100644 --- a/configure.ac +++ b/configure.ac @@ -314,7 +314,8 @@ case $sysdesc in esac AC_CHEC

[PATCH 10/13] configure.ac: reorganize a bit

2017-03-18 Thread Ruben Kerkhof
--- configure.ac | 65 ++-- 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/configure.ac b/configure.ac index 7a7ae0ca..ee352790 100644 --- a/configure.ac +++ b/configure.ac @@ -6,6 +6,39 @@ AC_INIT AC_CONFIG_SRCDIR([conf/con

[PATCH 09/13] Remove dead code

2017-03-18 Thread Ruben Kerkhof
--- configure.ac | 8 1 file changed, 8 deletions(-) diff --git a/configure.ac b/configure.ac index 658595a7..7a7ae0ca 100644 --- a/configure.ac +++ b/configure.ac @@ -135,14 +135,6 @@ if test -z "$GCC" ; then AC_MSG_ERROR([This program requires the GNU C Compiler.]) fi -# Enable t

[PATCH 08/13] Consistently quote all macro arguments

2017-03-18 Thread Ruben Kerkhof
--- configure.ac | 140 ++- 1 file changed, 82 insertions(+), 58 deletions(-) diff --git a/configure.ac b/configure.ac index 633805cb..658595a7 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ dnl ** (c) 1999--2000 Martin Mares

[PATCH 07/13] configure.ac: use AS_HELP_STRING for help text

2017-03-18 Thread Ruben Kerkhof
--- configure.ac | 71 ++-- 1 file changed, 60 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index ed236751..633805cb 100644 --- a/configure.ac +++ b/configure.ac @@ -6,17 +6,66 @@ AC_INIT AC_CONFIG_SRCDIR([conf/co

[PATCH 06/13] configure.ac: fix indentation

2017-03-18 Thread Ruben Kerkhof
consistenly indent the file with 2 spaces --- configure.ac | 328 +++ 1 file changed, 171 insertions(+), 157 deletions(-) diff --git a/configure.ac b/configure.ac index 734768d2..ed236751 100644 --- a/configure.ac +++ b/configure.ac @@ -6,39

[PATCH 04/13] Remove check for struct ip_mreqn

2017-03-18 Thread Ruben Kerkhof
It has been available since Linux 2.2 --- aclocal.m4 | 12 configure.ac | 1 - sysdep/linux/sysio.h | 10 -- 3 files changed, 23 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 29049d18..d48846af 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -57,18 +5

[PATCH 05/13] aclocal.m4: consistently quote and indent

2017-03-18 Thread Ruben Kerkhof
--- aclocal.m4 | 232 +++-- 1 file changed, 149 insertions(+), 83 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index d48846af..cddc9e31 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -2,100 +2,166 @@ dnl ** Additional Autoconf tests for BI

[PATCH 03/13] use fixed width integers types from

2017-03-18 Thread Ruben Kerkhof
--- aclocal.m4 | 33 - configure.ac| 1 - sysdep/config.h | 22 -- 3 files changed, 12 insertions(+), 44 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 36749c58..29049d18 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,39 +1,6

[PATCH 00/13] Some more cleanup for configure.ac and aclocal.m4

2017-03-18 Thread Ruben Kerkhof
Ruben Kerkhof (13): aclocal.m4: remove unused macro aclocal.m4: use normal macro for function use fixed width integers types from Remove check for struct ip_mreqn aclocal.m4: consistently quote and indent configure.ac: fix indentation configure.ac: use AS_HELP_STRING for help text

[PATCH 02/13] aclocal.m4: use normal macro for function

2017-03-18 Thread Ruben Kerkhof
--- aclocal.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index a13b71f3..36749c58 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -134,7 +134,7 @@ AC_DEFUN([BIRD_ADD_GCC_OPTION], # BIRD_CHECK_PROG_FLAVOR_GNU(PROGRAM-PATH, IF-SUCCESS, [IF-FAILURE

[PATCH 01/13] aclocal.m4: remove unused macro

2017-03-18 Thread Ruben Kerkhof
--- aclocal.m4 | 36 1 file changed, 36 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index f2775422..a13b71f3 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -34,42 +34,6 @@ for size in 1 2 4 8; do done ]) -dnl BIRD_CHECK_ENDIAN is unused and obsol