]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Make it work with a preinstalled libcroco-0.6.1.
authorBruno Haible <bruno@clisp.org>
Sat, 27 Oct 2007 15:30:09 +0000 (15:30 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:24 +0000 (12:15 +0200)
gnulib-local/ChangeLog
gnulib-local/lib/term-styled-ostream.oo.c
gnulib-local/modules/libcroco

index 7c7a68b6a6f39162f43a7f6780affae11134d230..280822109d0c43595ba7c0d1662133d18c4bbb32 100644 (file)
@@ -1,3 +1,10 @@
+2007-10-27  Bruno Haible  <bruno@clisp.org>
+
+       * 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  <bruno@clisp.org>
 
        * modules/gettext-tools-misc (Makefile.am): Use @LTLIBC@ instead of
index 92a5385c9147db1f1665156a5e2cc9f9443e6225..b9cbee58c616ef22d8918427093b07396aec8b2c 100644 (file)
@@ -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 <bruno@clisp.org>, 2006.
 
    This program is free software: you can redistribute it and/or modify
 #include <cr-sel-eng.h>
 #include <cr-style.h>
 #include <cr-rgb.h>
-#include <cr-fonts.h>
+/* <cr-fonts.h> has a broken double-inclusion guard in libcroco-0.6.1.  */
+#ifndef __CR_FONTS_H__
+# include <cr-fonts.h>
+#endif
 #include <cr-string.h>
 
 #include "term-ostream.h"
index 909892c1f60582b98c57de07fbde5a21a0e97681..6efeb555f38b677c8bc96367bf80570ad3a97176 100644 (file)
@@ -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 = \