mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
missing-macros: fix a bunch of underquoted definition warnings in various 3rd party macros
SVN-Revision: 24761
This commit is contained in:
parent
93cb309a05
commit
fcc8d6c33f
@ -4,7 +4,7 @@ dnl
|
|||||||
dnl usage: AC_DNET_SOCKADDR_SA_LEN
|
dnl usage: AC_DNET_SOCKADDR_SA_LEN
|
||||||
dnl results: HAVE_SOCKADDR_SA_LEN (defined)
|
dnl results: HAVE_SOCKADDR_SA_LEN (defined)
|
||||||
dnl
|
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_MSG_CHECKING(for sa_len in sockaddr struct)
|
||||||
AC_CACHE_VAL(ac_cv_dnet_sockaddr_has_sa_len,
|
AC_CACHE_VAL(ac_cv_dnet_sockaddr_has_sa_len,
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
@ -28,7 +28,7 @@ dnl
|
|||||||
dnl usage: AC_DNET_SOCKADDR_IN6
|
dnl usage: AC_DNET_SOCKADDR_IN6
|
||||||
dnl results: HAVE_SOCKADDR_IN6
|
dnl results: HAVE_SOCKADDR_IN6
|
||||||
dnl
|
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_MSG_CHECKING(for sockaddr_in6 struct in <netinet/in.h>)
|
||||||
AC_CACHE_VAL(ac_cv_dnet_netinet_in_h_has_sockaddr_in6,
|
AC_CACHE_VAL(ac_cv_dnet_netinet_in_h_has_sockaddr_in6,
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
@ -50,7 +50,7 @@ dnl
|
|||||||
dnl usage: AC_DNET_ARPREQ_ARP_DEV
|
dnl usage: AC_DNET_ARPREQ_ARP_DEV
|
||||||
dnl results: HAVE_ARPREQ_ARP_DEV (defined)
|
dnl results: HAVE_ARPREQ_ARP_DEV (defined)
|
||||||
dnl
|
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_MSG_CHECKING(for arp_dev in arpreq struct)
|
||||||
AC_CACHE_VAL(ac_cv_dnet_arpreq_has_arp_dev,
|
AC_CACHE_VAL(ac_cv_dnet_arpreq_has_arp_dev,
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
@ -72,7 +72,7 @@ dnl
|
|||||||
dnl usage: AC_DNET_ROUTE_RT_MSGHDR
|
dnl usage: AC_DNET_ROUTE_RT_MSGHDR
|
||||||
dnl results: HAVE_ROUTE_RT_MSGHDR
|
dnl results: HAVE_ROUTE_RT_MSGHDR
|
||||||
dnl
|
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_MSG_CHECKING(for rt_msghdr struct in <net/route.h>)
|
||||||
AC_CACHE_VAL(ac_cv_dnet_route_h_has_rt_msghdr,
|
AC_CACHE_VAL(ac_cv_dnet_route_h_has_rt_msghdr,
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
@ -95,7 +95,7 @@ dnl
|
|||||||
dnl usage: AC_DNET_BSD_BPF
|
dnl usage: AC_DNET_BSD_BPF
|
||||||
dnl results: HAVE_BSD_BPF
|
dnl results: HAVE_BSD_BPF
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_DNET_BSD_BPF,
|
AC_DEFUN([AC_DNET_BSD_BPF],
|
||||||
[AC_MSG_CHECKING(for Berkeley Packet Filter)
|
[AC_MSG_CHECKING(for Berkeley Packet Filter)
|
||||||
AC_CACHE_VAL(ac_cv_dnet_bsd_bpf,
|
AC_CACHE_VAL(ac_cv_dnet_bsd_bpf,
|
||||||
if test -c /dev/bpf0 ; then
|
if test -c /dev/bpf0 ; then
|
||||||
@ -115,7 +115,7 @@ dnl
|
|||||||
dnl usage: AC_DNET_LINUX_PROCFS
|
dnl usage: AC_DNET_LINUX_PROCFS
|
||||||
dnl results: HAVE_LINUX_PROCFS
|
dnl results: HAVE_LINUX_PROCFS
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_DNET_LINUX_PROCFS,
|
AC_DEFUN([AC_DNET_LINUX_PROCFS],
|
||||||
[AC_MSG_CHECKING(for Linux proc filesystem)
|
[AC_MSG_CHECKING(for Linux proc filesystem)
|
||||||
AC_CACHE_VAL(ac_cv_dnet_linux_procfs,
|
AC_CACHE_VAL(ac_cv_dnet_linux_procfs,
|
||||||
if test "x`cat /proc/sys/kernel/ostype 2>&-`" = "xLinux" ; then
|
if test "x`cat /proc/sys/kernel/ostype 2>&-`" = "xLinux" ; then
|
||||||
@ -135,7 +135,7 @@ dnl
|
|||||||
dnl usage: AC_DNET_LINUX_PF_PACKET
|
dnl usage: AC_DNET_LINUX_PF_PACKET
|
||||||
dnl results: HAVE_LINUX_PF_PACKET
|
dnl results: HAVE_LINUX_PF_PACKET
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_DNET_LINUX_PF_PACKET,
|
AC_DEFUN([AC_DNET_LINUX_PF_PACKET],
|
||||||
[AC_MSG_CHECKING(for Linux PF_PACKET sockets)
|
[AC_MSG_CHECKING(for Linux PF_PACKET sockets)
|
||||||
AC_CACHE_VAL(ac_cv_dnet_linux_pf_packet,
|
AC_CACHE_VAL(ac_cv_dnet_linux_pf_packet,
|
||||||
if test -f /usr/include/netpacket/packet.h ; then
|
if test -f /usr/include/netpacket/packet.h ; then
|
||||||
@ -155,7 +155,7 @@ dnl
|
|||||||
dnl usage: AC_DNET_STREAMS_MIB2
|
dnl usage: AC_DNET_STREAMS_MIB2
|
||||||
dnl results: HAVE_STREAMS_MIB2
|
dnl results: HAVE_STREAMS_MIB2
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_DNET_STREAMS_MIB2,
|
AC_DEFUN([AC_DNET_STREAMS_MIB2],
|
||||||
[AC_MSG_CHECKING(for SNMP MIB2 STREAMS)
|
[AC_MSG_CHECKING(for SNMP MIB2 STREAMS)
|
||||||
AC_CACHE_VAL(ac_cv_dnet_streams_mib2,
|
AC_CACHE_VAL(ac_cv_dnet_streams_mib2,
|
||||||
if test -f /usr/include/inet/mib2.h -a -c /dev/ip ; then
|
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 usage: AC_DNET_STREAMS_ROUTE
|
||||||
dnl results: HAVE_STREAMS_ROUTE
|
dnl results: HAVE_STREAMS_ROUTE
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_DNET_STREAMS_ROUTE,
|
AC_DEFUN([AC_DNET_STREAMS_ROUTE],
|
||||||
[AC_MSG_CHECKING(for route(7) STREAMS)
|
[AC_MSG_CHECKING(for route(7) STREAMS)
|
||||||
AC_CACHE_VAL(ac_cv_dnet_streams_route,
|
AC_CACHE_VAL(ac_cv_dnet_streams_route,
|
||||||
if grep RTSTR_SEND /usr/include/net/route.h >/dev/null 2>&1 ; then
|
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 usage: AC_DNET_IOCTL_ARP
|
||||||
dnl results: HAVE_IOCTL_ARP
|
dnl results: HAVE_IOCTL_ARP
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_DNET_IOCTL_ARP,
|
AC_DEFUN([AC_DNET_IOCTL_ARP],
|
||||||
[AC_MSG_CHECKING(for arp(7) ioctls)
|
[AC_MSG_CHECKING(for arp(7) ioctls)
|
||||||
AC_CACHE_VAL(ac_cv_dnet_ioctl_arp,
|
AC_CACHE_VAL(ac_cv_dnet_ioctl_arp,
|
||||||
AC_EGREP_CPP(werd, [
|
AC_EGREP_CPP(werd, [
|
||||||
@ -223,7 +223,7 @@ dnl
|
|||||||
dnl usage: AC_DNET_RAWIP_HOST_OFFLEN
|
dnl usage: AC_DNET_RAWIP_HOST_OFFLEN
|
||||||
dnl results: HAVE_RAWIP_HOST_OFFLEN
|
dnl results: HAVE_RAWIP_HOST_OFFLEN
|
||||||
dnl
|
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_MSG_CHECKING([for raw IP sockets ip_{len,off} host byte ordering])
|
||||||
AC_CACHE_VAL(ac_cv_dnet_rawip_host_offlen, [
|
AC_CACHE_VAL(ac_cv_dnet_rawip_host_offlen, [
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
@ -246,7 +246,7 @@ dnl
|
|||||||
dnl usage: AC_DNET_RAWIP_COOKED
|
dnl usage: AC_DNET_RAWIP_COOKED
|
||||||
dnl results: HAVE_RAWIP_COOKED
|
dnl results: HAVE_RAWIP_COOKED
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_DNET_RAWIP_COOKED,
|
AC_DEFUN([AC_DNET_RAWIP_COOKED],
|
||||||
[AC_MSG_CHECKING(for cooked raw IP sockets)
|
[AC_MSG_CHECKING(for cooked raw IP sockets)
|
||||||
AC_CACHE_VAL(ac_cv_dnet_rawip_cooked, [
|
AC_CACHE_VAL(ac_cv_dnet_rawip_cooked, [
|
||||||
case "$host_os" in
|
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 statically and happen to have a libresolv.a lying around (and no
|
||||||
dnl libnsl.a).
|
dnl libnsl.a).
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_LBL_LIBRARY_NET, [
|
AC_DEFUN([AC_LBL_LIBRARY_NET], [
|
||||||
# Most operating systems have gethostbyname() in the default searched
|
# Most operating systems have gethostbyname() in the default searched
|
||||||
# libraries (i.e. libc):
|
# libraries (i.e. libc):
|
||||||
AC_CHECK_FUNC(gethostbyname, ,
|
AC_CHECK_FUNC(gethostbyname, ,
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
dnl AM_PATH_ESD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
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 Test for ESD, and define ESD_CFLAGS and ESD_LIBS
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AM_PATH_ESD,
|
AC_DEFUN([AM_PATH_ESD],
|
||||||
[dnl
|
[dnl
|
||||||
dnl Get the cflags and libraries from the esd-config script
|
dnl Get the cflags and libraries from the esd-config script
|
||||||
dnl
|
dnl
|
||||||
@ -172,7 +172,7 @@ int main ()
|
|||||||
dnl AM_ESD_SUPPORTS_MULTIPLE_RECORD([ACTION-IF-SUPPORTS [, ACTION-IF-NOT-SUPPORTS]])
|
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 Test, whether esd supports multiple recording clients (version >=0.2.21)
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AM_ESD_SUPPORTS_MULTIPLE_RECORD,
|
AC_DEFUN([AM_ESD_SUPPORTS_MULTIPLE_RECORD],
|
||||||
[dnl
|
[dnl
|
||||||
AC_MSG_NOTICE([whether installed esd version supports multiple recording clients])
|
AC_MSG_NOTICE([whether installed esd version supports multiple recording clients])
|
||||||
ac_save_ESD_CFLAGS="$ESD_CFLAGS"
|
ac_save_ESD_CFLAGS="$ESD_CFLAGS"
|
||||||
|
@ -59,7 +59,7 @@ m4_define(__va_copy_check, [
|
|||||||
])
|
])
|
||||||
|
|
||||||
dnl # Autoconf check for va_copy() implementation checking
|
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
|
dnl # provide Autoconf display check message
|
||||||
AC_MSG_CHECKING(for va_copy() function)
|
AC_MSG_CHECKING(for va_copy() function)
|
||||||
dnl # check for various implementations in priorized sequence
|
dnl # check for various implementations in priorized sequence
|
||||||
|
Loading…
Reference in New Issue
Block a user