From 9669c52a3086cd89a880336d146a0e1431862943 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 4 Nov 2003 01:31:26 +0000 Subject: [PATCH] * builds/unix/freetype2.m4, builds/unix/ft-munmap.m4: Protect first argument of AC_DEFUN with brackets to avoid possible expansion. --- ChangeLog | 6 ++++++ builds/unix/freetype2.m4 | 2 +- builds/unix/ft-munmap.m4 | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 86139e5a5..6a4b7f8f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-11-02 Patrick Welche + + * 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 * include/freetype/cache/ftcglyph.h: Don't include stddef.h. diff --git a/builds/unix/freetype2.m4 b/builds/unix/freetype2.m4 index 21c6445e2..7199071fc 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 37ebbd92d..85b363df9 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 ]) fi]) -AC_DEFUN(FT_MUNMAP_PARAM, +AC_DEFUN([FT_MUNMAP_PARAM], [AC_MSG_CHECKING([for munmap's first parameter type]) AC_TRY_COMPILE([ #include