]> Savannah Git Hosting - gnulib.git/commitdiff
lib-symbol-visibility: Improve documentation.
authorBruno Haible <bruno@clisp.org>
Sun, 10 Jul 2022 07:02:42 +0000 (09:02 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 10 Jul 2022 07:02:42 +0000 (09:02 +0200)
* doc/lib-symbol-visibility.texi: Tweak BUILDING_SHARED snippet.

ChangeLog
doc/lib-symbol-visibility.texi

index 1e070e8a37e6fbc5c1ec18a4b91d34d530b3a7bb..891d7c4ea7f2e649dbf511ef50bcb5ea1bb2223a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-07-10  Bruno Haible  <bruno@clisp.org>
+
+       lib-symbol-visibility: Improve documentation.
+       * doc/lib-symbol-visibility.texi: Tweak BUILDING_SHARED snippet.
+
 2022-07-10  Bruno Haible  <bruno@clisp.org>
 
        doc: Mark Minix as no longer tested.
index d8e63895d36c6d41fa2a5527fb1092af8b05985b..85ddd11f403998171a54d496eb895c2f51c8851c 100644 (file)
@@ -185,9 +185,10 @@ You may use the following @samp{configure.ac} snippet:
 
 @smallexample
   if test "$enable_shared" = yes; then
-    shared=1
+    building_shared=1
   else
-    shared=0
+    building_shared=0
   fi
-  AC_DEFINE_UNQUOTED([BUILDING_SHARED], [$shared], [Define when --enable-shared is used.])
+  AC_DEFINE_UNQUOTED([BUILDING_SHARED], [$building_shared],
+    [Define when --enable-shared is used.])
 @end smallexample