summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-22 01:03:17 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-22 01:03:17 +0000
commitdaf43d15778d0424d307eadefd72f17ae67d3d9c (patch)
tree8e1b33c0a5e5030bf3093f2fa31bccfac916ab94 /tools
parentee69faa4080c837450cca802d56a78aac2165a95 (diff)
[tools] missing-macros: fix a bunch of underquoted definition warnings in various 3rd party macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24761 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r--tools/missing-macros/src/m4/dnet.m426
-rw-r--r--tools/missing-macros/src/m4/esd.m44
-rw-r--r--tools/missing-macros/src/m4/va_copy.m42
3 files changed, 16 insertions, 16 deletions
diff --git a/tools/missing-macros/src/m4/dnet.m4 b/tools/missing-macros/src/m4/dnet.m4
index a186eabff..c50d32e21 100644
--- a/tools/missing-macros/src/m4/dnet.m4
+++ b/tools/missing-macros/src/m4/dnet.m4
@@ -4,7 +4,7 @@ dnl
dnl usage: AC_DNET_SOCKADDR_SA_LEN
dnl results: HAVE_SOCKADDR_SA_LEN (defined)
dnl
-AC_DEFUN(AC_DNET_SOCKADDR_SA_LEN,
+AC_DEFUN([AC_DNET_SOCKADDR_SA_LEN],
[AC_MSG_CHECKING(for sa_len in sockaddr struct)
AC_CACHE_VAL(ac_cv_dnet_sockaddr_has_sa_len,
AC_TRY_COMPILE([
@@ -28,7 +28,7 @@ dnl
dnl usage: AC_DNET_SOCKADDR_IN6
dnl results: HAVE_SOCKADDR_IN6
dnl
-AC_DEFUN(AC_DNET_SOCKADDR_IN6,
+AC_DEFUN([AC_DNET_SOCKADDR_IN6],
[AC_MSG_CHECKING(for sockaddr_in6 struct in <netinet/in.h>)
AC_CACHE_VAL(ac_cv_dnet_netinet_in_h_has_sockaddr_in6,
AC_TRY_COMPILE([
@@ -50,7 +50,7 @@ dnl
dnl usage: AC_DNET_ARPREQ_ARP_DEV
dnl results: HAVE_ARPREQ_ARP_DEV (defined)
dnl
-AC_DEFUN(AC_DNET_ARPREQ_ARP_DEV,
+AC_DEFUN([AC_DNET_ARPREQ_ARP_DEV],
[AC_MSG_CHECKING(for arp_dev in arpreq struct)
AC_CACHE_VAL(ac_cv_dnet_arpreq_has_arp_dev,
AC_TRY_COMPILE([
@@ -72,7 +72,7 @@ dnl
dnl usage: AC_DNET_ROUTE_RT_MSGHDR
dnl results: HAVE_ROUTE_RT_MSGHDR
dnl
-AC_DEFUN(AC_DNET_ROUTE_RT_MSGHDR,
+AC_DEFUN([AC_DNET_ROUTE_RT_MSGHDR],
[AC_MSG_CHECKING(for rt_msghdr struct in <net/route.h>)
AC_CACHE_VAL(ac_cv_dnet_route_h_has_rt_msghdr,
AC_TRY_COMPILE([
@@ -95,7 +95,7 @@ dnl
dnl usage: AC_DNET_BSD_BPF
dnl results: HAVE_BSD_BPF
dnl
-AC_DEFUN(AC_DNET_BSD_BPF,
+AC_DEFUN([AC_DNET_BSD_BPF],
[AC_MSG_CHECKING(for Berkeley Packet Filter)
AC_CACHE_VAL(ac_cv_dnet_bsd_bpf,
if test -c /dev/bpf0 ; then
@@ -115,7 +115,7 @@ dnl
dnl usage: AC_DNET_LINUX_PROCFS
dnl results: HAVE_LINUX_PROCFS
dnl
-AC_DEFUN(AC_DNET_LINUX_PROCFS,
+AC_DEFUN([AC_DNET_LINUX_PROCFS],
[AC_MSG_CHECKING(for Linux proc filesystem)
AC_CACHE_VAL(ac_cv_dnet_linux_procfs,
if test "x`cat /proc/sys/kernel/ostype 2>&-`" = "xLinux" ; then
@@ -135,7 +135,7 @@ dnl
dnl usage: AC_DNET_LINUX_PF_PACKET
dnl results: HAVE_LINUX_PF_PACKET
dnl
-AC_DEFUN(AC_DNET_LINUX_PF_PACKET,
+AC_DEFUN([AC_DNET_LINUX_PF_PACKET],
[AC_MSG_CHECKING(for Linux PF_PACKET sockets)
AC_CACHE_VAL(ac_cv_dnet_linux_pf_packet,
if test -f /usr/include/netpacket/packet.h ; then
@@ -155,7 +155,7 @@ dnl
dnl usage: AC_DNET_STREAMS_MIB2
dnl results: HAVE_STREAMS_MIB2
dnl
-AC_DEFUN(AC_DNET_STREAMS_MIB2,
+AC_DEFUN([AC_DNET_STREAMS_MIB2],
[AC_MSG_CHECKING(for SNMP MIB2 STREAMS)
AC_CACHE_VAL(ac_cv_dnet_streams_mib2,
if test -f /usr/include/inet/mib2.h -a -c /dev/ip ; then
@@ -175,7 +175,7 @@ dnl
dnl usage: AC_DNET_STREAMS_ROUTE
dnl results: HAVE_STREAMS_ROUTE
dnl
-AC_DEFUN(AC_DNET_STREAMS_ROUTE,
+AC_DEFUN([AC_DNET_STREAMS_ROUTE],
[AC_MSG_CHECKING(for route(7) STREAMS)
AC_CACHE_VAL(ac_cv_dnet_streams_route,
if grep RTSTR_SEND /usr/include/net/route.h >/dev/null 2>&1 ; then
@@ -195,7 +195,7 @@ dnl
dnl usage: AC_DNET_IOCTL_ARP
dnl results: HAVE_IOCTL_ARP
dnl
-AC_DEFUN(AC_DNET_IOCTL_ARP,
+AC_DEFUN([AC_DNET_IOCTL_ARP],
[AC_MSG_CHECKING(for arp(7) ioctls)
AC_CACHE_VAL(ac_cv_dnet_ioctl_arp,
AC_EGREP_CPP(werd, [
@@ -223,7 +223,7 @@ dnl
dnl usage: AC_DNET_RAWIP_HOST_OFFLEN
dnl results: HAVE_RAWIP_HOST_OFFLEN
dnl
-AC_DEFUN(AC_DNET_RAWIP_HOST_OFFLEN,
+AC_DEFUN([AC_DNET_RAWIP_HOST_OFFLEN],
[AC_MSG_CHECKING([for raw IP sockets ip_{len,off} host byte ordering])
AC_CACHE_VAL(ac_cv_dnet_rawip_host_offlen, [
case "$host_os" in
@@ -246,7 +246,7 @@ dnl
dnl usage: AC_DNET_RAWIP_COOKED
dnl results: HAVE_RAWIP_COOKED
dnl
-AC_DEFUN(AC_DNET_RAWIP_COOKED,
+AC_DEFUN([AC_DNET_RAWIP_COOKED],
[AC_MSG_CHECKING(for cooked raw IP sockets)
AC_CACHE_VAL(ac_cv_dnet_rawip_cooked, [
case "$host_os" in
@@ -296,7 +296,7 @@ dnl The check for libresolv is in case you are attempting to link
dnl statically and happen to have a libresolv.a lying around (and no
dnl libnsl.a).
dnl
-AC_DEFUN(AC_LBL_LIBRARY_NET, [
+AC_DEFUN([AC_LBL_LIBRARY_NET], [
# Most operating systems have gethostbyname() in the default searched
# libraries (i.e. libc):
AC_CHECK_FUNC(gethostbyname, ,
diff --git a/tools/missing-macros/src/m4/esd.m4 b/tools/missing-macros/src/m4/esd.m4
index 2eaf971b3..454387402 100644
--- a/tools/missing-macros/src/m4/esd.m4
+++ b/tools/missing-macros/src/m4/esd.m4
@@ -7,7 +7,7 @@
dnl AM_PATH_ESD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for ESD, and define ESD_CFLAGS and ESD_LIBS
dnl
-AC_DEFUN(AM_PATH_ESD,
+AC_DEFUN([AM_PATH_ESD],
[dnl
dnl Get the cflags and libraries from the esd-config script
dnl
@@ -172,7 +172,7 @@ int main ()
dnl AM_ESD_SUPPORTS_MULTIPLE_RECORD([ACTION-IF-SUPPORTS [, ACTION-IF-NOT-SUPPORTS]])
dnl Test, whether esd supports multiple recording clients (version >=0.2.21)
dnl
-AC_DEFUN(AM_ESD_SUPPORTS_MULTIPLE_RECORD,
+AC_DEFUN([AM_ESD_SUPPORTS_MULTIPLE_RECORD],
[dnl
AC_MSG_NOTICE([whether installed esd version supports multiple recording clients])
ac_save_ESD_CFLAGS="$ESD_CFLAGS"
diff --git a/tools/missing-macros/src/m4/va_copy.m4 b/tools/missing-macros/src/m4/va_copy.m4
index b8fbf3685..51c00516d 100644
--- a/tools/missing-macros/src/m4/va_copy.m4
+++ b/tools/missing-macros/src/m4/va_copy.m4
@@ -59,7 +59,7 @@ m4_define(__va_copy_check, [
])
dnl # Autoconf check for va_copy() implementation checking
-AC_DEFUN(AC_CHECK_VA_COPY,[
+AC_DEFUN([AC_CHECK_VA_COPY],[
dnl # provide Autoconf display check message
AC_MSG_CHECKING(for va_copy() function)
dnl # check for various implementations in priorized sequence