From 6d6bfbd641bbb4de62df704e724e507a7e55b883 Mon Sep 17 00:00:00 2001 From: Andrea Canciani Date: Tue, 30 Aug 2011 16:16:04 +0200 Subject: Introduce the cairo-missing library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cairo-missing library provides the functions which are needed in order to correctly compile cairo (or its utilities) and which were not found during configuration. Fixes the build on MacOS X Lion, which failed because of collisons between the cairo internal getline and strndup and those in libc: cairo-analyse-trace.c:282: error: static declaration of ‘getline’ follows non-static declaration /usr/include/stdio.h:449: error: previous declaration of ‘getline’ was here cairo-analyse-trace.c:307: error: static declaration of ‘strndup’ follows non-static declaration ... --- util/cairo-missing/Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 util/cairo-missing/Makefile.am (limited to 'util/cairo-missing/Makefile.am') diff --git a/util/cairo-missing/Makefile.am b/util/cairo-missing/Makefile.am new file mode 100644 index 00000000..c8d6ccdf --- /dev/null +++ b/util/cairo-missing/Makefile.am @@ -0,0 +1,10 @@ +include $(top_srcdir)/util/cairo-missing/Makefile.sources + +AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src + +lib_LTLIBRARIES = libcairo-missing.la + +libcairo_missing_la_SOURCES = \ + $(libcairo_missing_sources) \ + $(libcairo_missing_headers) \ + $(NULL) -- cgit v1.2.3