aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/configure.ac
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-01-08 09:23:42 +0100
committermarha <marha@users.sourceforge.net>2013-01-08 09:23:42 +0100
commit8a26872f0c9102cb357345eca24a4bf7401bbe70 (patch)
treeb12a3cd7065de4d4a717ddde3d56345d012a55b7 /fontconfig/configure.ac
parent034d6305a11c9d5dff9318aa897073402d08d705 (diff)
downloadvcxsrv-8a26872f0c9102cb357345eca24a4bf7401bbe70.tar.gz
vcxsrv-8a26872f0c9102cb357345eca24a4bf7401bbe70.tar.bz2
vcxsrv-8a26872f0c9102cb357345eca24a4bf7401bbe70.zip
fontconfig mesa git update 8 jan 2013
fontconfig: 4e6c7d0827c5b3b20205521bf9bd2e94e704b36d mesa: a60c567fcf29f5d2a41222a8826fee2cb0eb4458
Diffstat (limited to 'fontconfig/configure.ac')
-rw-r--r--fontconfig/configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/fontconfig/configure.ac b/fontconfig/configure.ac
index 4beca08d3..803084c09 100644
--- a/fontconfig/configure.ac
+++ b/fontconfig/configure.ac
@@ -60,6 +60,8 @@ AC_CONFIG_HEADERS(config.h)
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
AC_PROG_INSTALL
AC_PROG_LN_S
AC_LIBTOOL_WIN32_DLL
@@ -139,7 +141,7 @@ AC_TYPE_PID_T
# Checks for library functions.
AC_FUNC_VPRINTF
AC_FUNC_MMAP
-AC_CHECK_FUNCS([geteuid getuid link memmove memset mkstemp strchr strrchr strtol getopt getopt_long sysconf ftruncate chsize rand random lrand48 random_r rand_r regcomp regerror regexec regfree fstatvfs fstatfs lstat])
+AC_CHECK_FUNCS([geteuid getuid link memmove memset mkstemp mkostemp _mktemp_s strchr strrchr strtol getopt getopt_long sysconf ftruncate chsize rand random lrand48 random_r rand_r regcomp regerror regexec regfree fstatvfs fstatfs lstat])
dnl AC_CHECK_FUNCS doesn't check for header files.
dnl posix_fadvise() may be not available in older libc.
@@ -598,6 +600,9 @@ if test "$os_win32" = no; then
AX_PTHREAD([have_pthread=true])
fi
if $have_pthread; then
+ LIBS="$PTHREAD_LIBS $LIBS"
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+ CC="$PTHREAD_CC"
AC_DEFINE(HAVE_PTHREAD, 1, [Have POSIX threads])
fi
AM_CONDITIONAL(HAVE_PTHREAD, $have_pthread)