* doc/lib-symbol-visibility.texi: Include BUILDING_SHARED snippet
suggested by Bruno Haible.
+2022-07-08 Simon Josefsson <simon@josefsson.org>
+
+ lib-symbol-visibility: Improve documentation.
+ * doc/lib-symbol-visibility.texi: Include BUILDING_SHARED snippet
+ suggested by Bruno Haible.
+
2022-07-04 Bruno Haible <bruno@clisp.org>
havelib: Fix 'configure --help' output.
Here @code{BUILDING_SHARED} is a C macro that you have to define. It
ought to evaluate to 1 in a build configured with @samp{--enable-shared},
or to 0 in a build configured with @samp{--disable-shared}.
+You may use the following @samp{configure.ac} snippet:
+
+@smallexample
+ if test "$enable_shared" = yes; then
+ shared=1
+ else
+ shared=0
+ fi
+ AC_DEFINE_UNQUOTED([BUILDING_SHARED], [$shared], [Define when --enable-shared is used.])
+@end smallexample