+2008-05-15 Ben Pfaff <blp@gnu.org>
+
+ * Smake (GNULIB_MODULES): Don't depend on memmem module, because
+ PSPP does not use memmem any longer. Use
+ unilbrk/ulc-width-linebreaks module instead of the linebreak
+ module, because the latter was split up into multiple modules and
+ that's the one we actually need.
+
2008-05-09 John Darrington <john@darrington.wattle.id.au>
* INSTALL: For obscure reasons gettext 0.17 requires that
isfinite \
intprops \
inttostr \
- linebreak \
localcharset \
mbchar \
memcasecmp \
memchr \
memcmp \
- memmem \
memmove \
mempcpy \
memset \
tempname \
tmpfile \
trunc \
+ unilbrk/ulc-width-linebreaks \
unistd \
unlocked-io \
vasprintf-posix \
+2008-05-15 Ben Pfaff <blp@gnu.org>
+
+ * automake.mk: Make install-data-hook depend on yelp-check if the
+ GUI is configured.
+
2008-05-08 John Darrington <john@darrington.wattle.id.au>
* automake.mk: Compress the info files, because later
# It seems that recent versions of yelp, upon which the gui relies to display the reference
# manual, are broken. It only works on compressed info files. So we must compress them.
-install-data-hook::
+if WITHGUI
+YELP_CHECK = yelp-check
+else
+YELP_CHECK =
+endif
+install-data-hook:: $(YELP_CHECK)
for ifile in $(DESTDIR)$(infodir)/pspp.info-[0-9] \
$(DESTDIR)$(infodir)/pspp.info ; do \
gzip -f $$ifile ; \
+2008-05-15 Ben Pfaff <blp@gnu.org>
+
+ * automake.mk: Rename install-data-hook to yelp-check and mark it
+ phony. This avoids an automake warning for duplicate
+ install-data-hook commands in doc/automake.mk and this file
+ (automake does not understand double-colon rules, since they are
+ not in POSIX).
+
2008-05-09 John Darrington <john@darrington.wattle.id.au>
* automake.mk: On make install, warn about the non-existance of yelp.
src/ui/gui/window-manager.c \
src/ui/gui/window-manager.h
-install-data-hook::
+yelp-check:
@if ! yelp --version > /dev/null 2>&1 ; then \
echo ; \
echo ' The Yelp document viewer does not seem to be installed on the system.' ; \
echo ' Yelp is available from the GNOME project. ftp://ftp.gnome.org/pub/gnome/sources/yelp' ; \
echo ; \
fi
+.PHONY: yelp-check
+2008-05-15 Ben Pfaff <blp@gnu.org>
+
+ * Use unilbrk.h instead of linebreak.h and ulc_width_linebreaks
+ instead of mbs_width_linebreaks for compatibility with latest
+ gnulib.
+
2007-11-03 Ben Pfaff <blp@gnu.org>
Allow output files to overwrite input files (bug #21280).
#include "msg-ui.h"
-#include "linebreak.h"
+#include "unilbrk.h"
#include "localcharset.h"
#include <libpspp/msg-locator.h>
/* Break into lines. */
if (indent > width / 3)
indent = width / 3;
- mbs_width_linebreaks (string, length,
+ ulc_width_linebreaks (string, length,
width - indent, -indent, 0,
NULL, locale_charset (), breaks);