Commit 9669c52a3086cd89a880336d146a0e1431862943

Werner Lemberg 2003-11-04T01:31:26

* builds/unix/freetype2.m4, builds/unix/ft-munmap.m4: Protect first argument of AC_DEFUN with brackets to avoid possible expansion.

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>