[cairo-commit] 2 commits - build/configure.ac.system util/cairo-trace
M. Joonas Pihlaja
joonas at kemper.freedesktop.org
Mon Aug 31 06:23:39 PDT 2009
build/configure.ac.system | 3 ---
util/cairo-trace/trace.c | 4 ++++
2 files changed, 4 insertions(+), 3 deletions(-)
New commits:
commit 9bb469c51cf580e3ae18b21b3847488e8c4be051
Author: M Joonas Pihlaja <jpihlaja at cc.helsinki.fi>
Date: Fri Jul 24 06:15:46 2009 +0300
[trace] Use HAVE_FLOCKFILE/FUNLOCKFILE since configure test for them.
The trace source was using the flockfile() and funlockfile()
functions directly.
diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c
index 8298b94..f8275a6 100644
--- a/util/cairo-trace/trace.c
+++ b/util/cairo-trace/trace.c
@@ -768,7 +768,9 @@ _write_lock (void)
if (! _init_logfile ())
return false;
+#if HAVE_FLOCKFILE && HAVE_FUNLOCKFILE
flockfile (logfile);
+#endif
return true;
}
@@ -778,7 +780,9 @@ _write_unlock (void)
if (logfile == NULL)
return;
+#if HAVE_FLOCKFILE && HAVE_FUNLOCKFILE
funlockfile (logfile);
+#endif
if (_flush)
fflush (logfile);
commit b5cf24a4fb0e48a0067c4b5a706890d4c1f3f1ae
Author: M Joonas Pihlaja <jpihlaja at cc.helsinki.fi>
Date: Fri Jun 26 20:06:40 2009 +0300
[build] Remove duplicate invocation of AC_CHECK_HEADERS.
The fenv.h stuff was checked twice.
diff --git a/build/configure.ac.system b/build/configure.ac.system
index 46b7f43..09d2e30 100644
--- a/build/configure.ac.system
+++ b/build/configure.ac.system
@@ -144,9 +144,6 @@ AC_CHECK_FUNC(mkdir,
[Define to non-zero if your system has mkdir, and to 2 if your version of mkdir requires a mode parameter])
fi])
-# check for GNU-extensions to fenv
-AC_CHECK_HEADER(fenv.h, [AC_CHECK_FUNCS(feenableexcept fedisableexcept)])
-
dnl ===========================================================================
dnl
dnl Test for the tools required for building one big test binary
More information about the cairo-commit
mailing list