[PATCH 08/11] Quote macro definitions in bird.m4

Ruben Kerkhof ruben at rubenkerkhof.com
Sat Mar 4 18:13:24 CET 2017


autoreconf: running: aclocal
m4/bird.m4:4: warning: underquoted definition of BIRD_CHECK_INTEGERS
m4/bird.m4:4:   run info Automake 'Extending aclocal'
m4/bird.m4:4:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
---
 m4/bird.m4 | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/m4/bird.m4 b/m4/bird.m4
index 6f5560f0..e7676368 100644
--- a/m4/bird.m4
+++ b/m4/bird.m4
@@ -1,7 +1,7 @@
 dnl ** Additional Autoconf tests for BIRD configure script
 dnl ** (c) 1999 Martin Mares <mj at ucw.cz>
 
-AC_DEFUN(BIRD_CHECK_INTEGERS,
+AC_DEFUN([BIRD_CHECK_INTEGERS],
 [AC_CHECK_SIZEOF(char, 0)
 AC_CHECK_SIZEOF(short int, 0)
 AC_CHECK_SIZEOF(int, 0)
@@ -30,7 +30,7 @@ for size in 1 2 4 8; do
 ])
 
 dnl BIRD_CHECK_ENDIAN is unused and obsolete
-AC_DEFUN(BIRD_CHECK_ENDIAN,
+AC_DEFUN([BIRD_CHECK_ENDIAN],
 [AC_CACHE_CHECK([CPU endianity], bird_cv_c_endian,[
 AC_TRY_RUN([
 #include <stdio.h>
@@ -65,7 +65,7 @@ case $bird_cv_c_endian in
 	esac
 ])
 
-AC_DEFUN(BIRD_CHECK_STRUCT_ALIGN,
+AC_DEFUN([BIRD_CHECK_STRUCT_ALIGN],
 [AC_CACHE_CHECK([usual alignment of structures],bird_cv_c_struct_align,[
 AC_TRY_RUN([
 #include <stdio.h>
@@ -90,7 +90,7 @@ AC_MSG_ERROR([Cannot determine structure alignment])
 AC_DEFINE_UNQUOTED([CPU_STRUCT_ALIGN], [$bird_cv_c_struct_align], [Usual alignment of structures])
 ])
 
-AC_DEFUN(BIRD_CHECK_TIME_T,
+AC_DEFUN([BIRD_CHECK_TIME_T],
 [AC_CACHE_CHECK([characteristics of time_t], bird_cv_type_time_t, [
 AC_TRY_RUN([
 #include <stdio.h>
@@ -121,7 +121,7 @@ case "$bird_cv_type_time_t" in
 	esac
 ])
 
-AC_DEFUN(BIRD_CHECK_STRUCT_IP_MREQN,
+AC_DEFUN([BIRD_CHECK_STRUCT_IP_MREQN],
 [AC_CACHE_CHECK([for struct ip_mreqn], bird_cv_struct_ip_mreqn,[
 AC_TRY_COMPILE([#include <netinet/in.h>
 ],[struct ip_mreqn x;
@@ -133,7 +133,7 @@ if test "$bird_cv_struct_ip_mreqn" = yes ; then
 fi
 ])
 
-AC_DEFUN(BIRD_CHECK_PTHREADS,
+AC_DEFUN([BIRD_CHECK_PTHREADS],
 [
   bird_tmp_cflags="$CFLAGS"
 
@@ -145,7 +145,7 @@ AC_DEFUN(BIRD_CHECK_PTHREADS,
   CFLAGS="$bird_tmp_cflags"
 ])
 
-AC_DEFUN(BIRD_CHECK_GCC_OPTION,
+AC_DEFUN([BIRD_CHECK_GCC_OPTION],
 [
   bird_tmp_cflags="$CFLAGS"
 
@@ -156,7 +156,7 @@ AC_DEFUN(BIRD_CHECK_GCC_OPTION,
   CFLAGS="$bird_tmp_cflags"
 ])
 
-AC_DEFUN(BIRD_ADD_GCC_OPTION,
+AC_DEFUN([BIRD_ADD_GCC_OPTION],
 [
   if test "$$1" = yes ; then
     CFLAGS="$CFLAGS $2"
-- 
2.12.0



More information about the Bird-users mailing list