From: Bruno Haible Date: Sat, 27 Oct 2007 15:30:09 +0000 (+0000) Subject: Make it work with a preinstalled libcroco-0.6.1. X-Git-Tag: v0.17~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57c988d9fc82e984b088398544652eab8e2c1d88;p=thirdparty%2Fgettext.git Make it work with a preinstalled libcroco-0.6.1. --- diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog index 7c7a68b6a..280822109 100644 --- a/gnulib-local/ChangeLog +++ b/gnulib-local/ChangeLog @@ -1,3 +1,10 @@ +2007-10-27 Bruno Haible + + * modules/libcroco (Makefile.am): When using the preinstalled libcroco, + add INCCROCO to AM_CPPFLAGS. + * lib/term-styled-ostream.oo.c: Work around broken double-inclusion + guard in libcroco-0.6.1. + 2007-10-27 Bruno Haible * modules/gettext-tools-misc (Makefile.am): Use @LTLIBC@ instead of diff --git a/gnulib-local/lib/term-styled-ostream.oo.c b/gnulib-local/lib/term-styled-ostream.oo.c index 92a5385c9..b9cbee58c 100644 --- a/gnulib-local/lib/term-styled-ostream.oo.c +++ b/gnulib-local/lib/term-styled-ostream.oo.c @@ -1,5 +1,5 @@ /* Output stream for CSS styled text, producing ANSI escape sequences. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -26,7 +26,10 @@ #include #include #include -#include +/* has a broken double-inclusion guard in libcroco-0.6.1. */ +#ifndef __CR_FONTS_H__ +# include +#endif #include #include "term-ostream.h" diff --git a/gnulib-local/modules/libcroco b/gnulib-local/modules/libcroco index 909892c1f..6efeb555f 100644 --- a/gnulib-local/modules/libcroco +++ b/gnulib-local/modules/libcroco @@ -75,6 +75,8 @@ AM_CPPFLAGS += -I$(srcdir)/libcroco lib_LIBADD += libcroco_rpl.la lib_DEPENDENCIES += libcroco_rpl.la noinst_LTLIBRARIES += libcroco_rpl.la +else +AM_CPPFLAGS += $(INCCROCO) endif libcroco_rpl_la_SOURCES = \