+2018-07-23 Werner LEMBERG <wl@gnu.org>
+
+ doc: Avoid some overfull lines in the TeX output.
+ * doc/glibc-functions/futimesat.texi: Replace a long @code with a
+ @example.
+ * doc/pastposix-functions/pthread_attr_getstackaddr.texi: Insert a
+ newline before the long URL.
+ * doc/pastposix-functions/pthread_attr_setstackaddr.texi: Likewise.
+ * doc/relocatable-maint.texi: Use @smallexample instead of @example.
+ Add line breaks in code snippets.
+
2018-07-17 Paul Eggert <eggert@cs.ucla.edu>
hard-locale: simplify by removing hard-locale.m4
Solaris 9.
@item
This function cannot set full timestamp resolution. Use
-@code{file ? utimensat(fd,file,times,0) : futimens(fd,times)}, or the
-gnulib module fdutimensat, instead.
+
+@example
+file ? utimensat(fd, file, times, 0)
+ : futimens(fd, times)
+@end example
+
+@noindent or the gnulib module fdutimensat, instead.
@end itemize
@code{relocatable-script} module. Then, near the beginning of each
shell script that your package installs, add the following:
-@example
+@smallexample
@@relocatable_sh@@
if test "@@RELOCATABLE@@" = yes; then
exec_prefix="@@exec_prefix@@"
# Get some relocated directory names.
sysconfdir=`relocate "@@sysconfdir@@"`
some_datadir=`relocate "@@datadir@@/something"`
-@end example
+@end smallexample
You must adapt the definition of @code{orig_installdir}, depending on
where the script gets installed. Also, at the end, instead of
@code{relocatable-perl} module. Then, near the beginning of each
Perl script that your package installs, add the following:
-@example
+@smallexample
@@relocatable_pl@@
if ("@@RELOCATABLE@@" eq "yes") @{
my $exec_prefix = "@@exec_prefix@@";
my $orig_installdir = "@@bindir@@"; # see Makefile.am's *_SCRIPTS variables
- my ($orig_installprefix, $curr_installprefix) = find_prefixes($orig_installdir, find_curr_installdir());
- sub relocate @{ # the subroutine is defined whether or not the enclosing block is executed
+ my ($orig_installprefix, $curr_installprefix) =
+ find_prefixes($orig_installdir, find_curr_installdir());
+
+ # the subroutine is defined whether or not the enclosing block is executed
+ sub relocate @{
my ($dir) = @@_;
if ("@@RELOCATABLE@@" eq "yes") @{
$dir =~ s%^$orig_installprefix/%$curr_installprefix/%;
# (The gnulib module 'configmake' can help with this.)
$sysconfdir = relocate("@@sysconfdir@@");
$some_datadir = relocate(@@datadir@@/something");
-@end example
+@end smallexample
You must adapt the definition of @code{$orig_installdir}, depending on
where the script gets installed. Also, at the end, instead of
@code{SHLIBS_IN_BINDIR} is defined in @file{configure.ac} as follows:
-@example
-AM_CONDITIONAL([SHLIBS_IN_BINDIR], [case "$host_os" in mingw* | cygwin*) true;; *) false;; esac])
-@end example
+@smallexample
+AM_CONDITIONAL([SHLIBS_IN_BINDIR],
+ [case "$host_os" in mingw* | cygwin*) true;; *) false;; esac])
+@end smallexample
@item
You may also need to add a couple of variable assignments to your