From d19e3ce066d0aeef96d80e744269c148a8cbca7d Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Sun, 18 Mar 2007 14:02:47 +0000 Subject: [PATCH] Properly quote m4 function/macro names when defining them. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1787 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 7 +++++++ acinclude.m4 | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2c22ddd..66b364c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-03-18 Michael Poole + + * acinclude.m4 (unet_NONBLOCKING): Properly quote function name. + (unet_SIGNALS): Likewise. + (unet_CHECK_TYPE_SIZES): Likewise. + (AC_LIBRARY_NET): Likewise. + 2007-03-18 Kevin L. Mitchell * ircd/m_gline.c (mo_gline): add permissions checks I kept diff --git a/acinclude.m4 b/acinclude.m4 index 3868531..8181401 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -4,7 +4,7 @@ dnl dnl Check whether we have posix, bsd or sysv non-blocking sockets and dnl define respectively NBLOCK_POSIX, NBLOCK_BSD or NBLOCK_SYSV. dnl -AC_DEFUN(unet_NONBLOCKING, +AC_DEFUN([unet_NONBLOCKING], [dnl Do we have posix, bsd or sysv non-blocking stuff ? AC_CACHE_CHECK([for posix non-blocking], unet_cv_sys_nonblocking_posix, [AC_TRY_RUN([#include @@ -71,7 +71,7 @@ dnl Check if we have posix signals, reliable bsd signals or dnl unreliable sysv signals and define respectively POSIX_SIGNALS, dnl BSD_RELIABLE_SIGNALS or SYSV_UNRELIABLE_SIGNALS. dnl -AC_DEFUN(unet_SIGNALS, +AC_DEFUN([unet_SIGNALS], [dnl Do we have posix signals, reliable bsd signals or unreliable sysv signals ? AC_CACHE_CHECK([for posix signals], unet_cv_sys_signal_posix, [AC_TRY_COMPILE([#include ], @@ -108,7 +108,7 @@ dnl Macro: unet_CHECK_TYPE_SIZES dnl dnl Check the size of several types and define a valid int16_t and int32_t. dnl -AC_DEFUN(unet_CHECK_TYPE_SIZES, +AC_DEFUN([unet_CHECK_TYPE_SIZES], [dnl Check type sizes AC_CHECK_SIZEOF(short) AC_CHECK_SIZEOF(int) @@ -179,7 +179,7 @@ dnl dnl The check for libresolv is in case you are attempting to link statically dnl and happen to have a libresolv.a lying around (and no libnsl.a). dnl -AC_DEFUN(AC_LIBRARY_NET, [ +AC_DEFUN([AC_LIBRARY_NET], [ # Most operating systems have gethostbyname() in the default searched # libraries (i.e. libc): AC_CHECK_FUNC(gethostbyname, , -- 2.20.1