* builds/unix/freetype2.m4, builds/unix/ft-munmap.m4: Protect

first argument of AC_DEFUN with brackets to avoid possible
expansion.
This commit is contained in:
Werner Lemberg 2003-11-04 01:31:26 +00:00
parent adffc13e8a
commit 9669c52a30
3 changed files with 9 additions and 3 deletions

View File

@ -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> 2003-11-02 Werner Lemberg <wl@gnu.org>
* include/freetype/cache/ftcglyph.h: Don't include stddef.h. * include/freetype/cache/ftcglyph.h: Don't include stddef.h.

View File

@ -4,7 +4,7 @@
dnl AC_CHECK_FT2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) 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 Test for FreeType2, and define FT2_CFLAGS and FT2_LIBS
dnl dnl
AC_DEFUN(AC_CHECK_FT2, AC_DEFUN([AC_CHECK_FT2],
[dnl [dnl
dnl Get the cflags and libraries from the freetype-config script dnl Get the cflags and libraries from the freetype-config script
dnl dnl

View File

@ -2,7 +2,7 @@
# serial 1 FT_MUNMAP_DECL # serial 1 FT_MUNMAP_DECL
AC_DEFUN(FT_MUNMAP_DECL, AC_DEFUN([FT_MUNMAP_DECL],
[AC_MSG_CHECKING([whether munmap must be declared]) [AC_MSG_CHECKING([whether munmap must be declared])
AC_CACHE_VAL(ft_cv_munmap_decl, AC_CACHE_VAL(ft_cv_munmap_decl,
[AC_TRY_COMPILE([ [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>]) [Define to 1 if munmap() is not defined in <sys/mman.h>])
fi]) fi])
AC_DEFUN(FT_MUNMAP_PARAM, AC_DEFUN([FT_MUNMAP_PARAM],
[AC_MSG_CHECKING([for munmap's first parameter type]) [AC_MSG_CHECKING([for munmap's first parameter type])
AC_TRY_COMPILE([ AC_TRY_COMPILE([
#include <unistd.h> #include <unistd.h>