Update maintainer documentation for 'relocatable-prog' module.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 23 May 2010 19:02:39 +0000 (12:02 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 23 May 2010 19:03:52 +0000 (12:03 -0700)
ChangeLog
doc/relocatable-maint.texi

index e7ab8ad1a99de30200022cb26825a52f1b1375c3..40bd312623f7f911f87d138650a1b4c1a1dc1fa7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-23  Ben Pfaff  <blp@cs.stanford.edu>
+
+       Update maintainer documentation for 'relocatable-prog' module.
+       * doc/relocatable-maint.texi: Update.
+       Comments by Bruno Haible.
+
 2010-05-23  Bruno Haible  <bruno@clisp.org>
 
        git-merge-changelog: Enable --split-merged-entry by default.
index 72c6eaa92132a0e8b05bb0c38f5e9411e5410033..58160cf7c7e4e79c8c98aba110f24eb4fa617c7b 100644 (file)
@@ -88,6 +88,27 @@ bindtextdomain (PACKAGE, relocate (LOCALEDIR));
 
 The prototype for this function is in @file{relocatable.h}.
 
+@item
+The @code{set_program_name} function can also configure some
+additional libraries to relocate files that they access, by defining
+corresponding C preprocessor symbols to 1.  The libraries for which
+this is supported and the corresponding preprocessor symbols are:
+
+@table @asis
+@item libcharset
+@code{DEPENDS_ON_LIBCHARSET}
+
+@item libiconv
+@code{DEPENDS_ON_LIBICONV}
+
+@item libintl
+@code{DEPENDS_ON_LIBINTL}
+@end table
+
+Defining the symbol for a library makes every program in the package
+depend on that library, whether the program really uses the library or
+not, so this feature should be used with some caution.
+
 @item
 If your package installs shell scripts, also import the
 @code{relocatable-script} module.  Then, near the beginning of each