diff options
author | Patrick Lam <plam@MIT.EDU> | 2006-04-07 04:42:32 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2006-04-07 04:42:32 +0000 |
commit | d6217cc6bcce0768ce1e01c077e90967ff91db5a (patch) | |
tree | 3ba3a06df1daedfcbfe147af8dd93f00838c6de0 /configure.in | |
parent | 3a342c5a6ca6c27fdddf0c669392b7ab1d6e3f7e (diff) |
Patrick Lam <plam@mit.edu>
Make fontconfig compile under MinGW:
1) remove unneeded #includes;
2) make use of mmap and sysconf conditional;
3) replace rand_r by srand/rand if needed;
4) use chsize instead of ftruncate; and
5) update libtool exports file
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 26fd05b..4ec7abd 100644 --- a/configure.in +++ b/configure.in @@ -143,7 +143,8 @@ AC_TYPE_PID_T # Checks for library functions. AC_FUNC_VPRINTF -AC_CHECK_FUNCS([geteuid getuid link memmove memset mkstemp strchr strrchr strtol getopt getopt_long iconv]) +AC_FUNC_MMAP +AC_CHECK_FUNCS([geteuid getuid link memmove memset mkstemp strchr strrchr strtol getopt getopt_long iconv sysconf ftruncate chsize rand_r]) # # Checks for FreeType |