* builds/unix/freetype2.m4, builds/unix/ft-munmap.m4: Protect first argument of AC_DEFUN with brackets to avoid possible expansion.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
diff --git a/ChangeLog b/ChangeLog
index 86139e5..6a4b7f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-11-02 Patrick Welche <prlw1@newn.cam.ac.uk>
+
+ * builds/unix/freetype2.m4, builds/unix/ft-munmap.m4: Protect
+ first argument of AC_DEFUN with brackets to avoid possible
+ expansion.
+
2003-11-02 Werner Lemberg <wl@gnu.org>
* include/freetype/cache/ftcglyph.h: Don't include stddef.h.
diff --git a/builds/unix/freetype2.m4 b/builds/unix/freetype2.m4
index 21c6445..7199071 100644
--- a/builds/unix/freetype2.m4
+++ b/builds/unix/freetype2.m4
@@ -4,7 +4,7 @@
dnl AC_CHECK_FT2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for FreeType2, and define FT2_CFLAGS and FT2_LIBS
dnl
-AC_DEFUN(AC_CHECK_FT2,
+AC_DEFUN([AC_CHECK_FT2],
[dnl
dnl Get the cflags and libraries from the freetype-config script
dnl
diff --git a/builds/unix/ft-munmap.m4 b/builds/unix/ft-munmap.m4
index 37ebbd9..85b363d 100644
--- a/builds/unix/ft-munmap.m4
+++ b/builds/unix/ft-munmap.m4
@@ -2,7 +2,7 @@
# serial 1 FT_MUNMAP_DECL
-AC_DEFUN(FT_MUNMAP_DECL,
+AC_DEFUN([FT_MUNMAP_DECL],
[AC_MSG_CHECKING([whether munmap must be declared])
AC_CACHE_VAL(ft_cv_munmap_decl,
[AC_TRY_COMPILE([
@@ -19,7 +19,7 @@ if test $ft_cv_munmap_decl = yes; then
[Define to 1 if munmap() is not defined in <sys/mman.h>])
fi])
-AC_DEFUN(FT_MUNMAP_PARAM,
+AC_DEFUN([FT_MUNMAP_PARAM],
[AC_MSG_CHECKING([for munmap's first parameter type])
AC_TRY_COMPILE([
#include <unistd.h>