equal
deleted
inserted
replaced
1 ## FreeType specific autoconf tests |
|
2 # |
|
3 # Copyright 2002, 2003, 2004 by |
|
4 # David Turner, Robert Wilhelm, and Werner Lemberg. |
|
5 # |
|
6 # This file is part of the FreeType project, and may only be used, modified, |
|
7 # and distributed under the terms of the FreeType project license, |
|
8 # LICENSE.TXT. By continuing to use, modify, or distribute this file you |
|
9 # indicate that you have read the license and understand and accept it |
|
10 # fully. |
|
11 |
|
12 # serial 2 |
|
13 |
|
14 AC_DEFUN([FT_MUNMAP_PARAM], |
|
15 [AC_MSG_CHECKING([for munmap's first parameter type]) |
|
16 AC_COMPILE_IFELSE([ |
|
17 AC_LANG_SOURCE([[ |
|
18 |
|
19 #include <unistd.h> |
|
20 #include <sys/mman.h> |
|
21 int munmap(void *, size_t); |
|
22 |
|
23 ]]) |
|
24 ], |
|
25 [AC_MSG_RESULT([void *]) |
|
26 AC_DEFINE([MUNMAP_USES_VOIDP], |
|
27 [], |
|
28 [Define to 1 if the first argument of munmap is of type void *])], |
|
29 [AC_MSG_RESULT([char *])]) |
|
30 ]) |
|
31 |
|
32 # end of ft-munmap.m4 |
|