ref: 9669c52a3086cd89a880336d146a0e1431862943
parent: adffc13e8a28ac5772930a95f33722664417b234
author: Werner Lemberg <[email protected]>
date: Mon Nov 3 20:31:26 EST 2003
* builds/unix/freetype2.m4, builds/unix/ft-munmap.m4: Protect first argument of AC_DEFUN with brackets to avoid possible expansion.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-11-02 Patrick Welche <[email protected]>
+
+ * 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 <[email protected]>
* include/freetype/cache/ftcglyph.h: Don't include stddef.h.
--- 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
--- 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 @@
[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>