Fix a misnomer.

* include/export.h (LIBICONV_SHLIB_EXPORTED): Renamed from
LIBICONV_DLL_EXPORTED. Prefer the term "shared library", since the term
"DLL" applies only to Windows.
* Makefile.devel (include/iconv.h.build.in): Insert
LIBICONV_SHLIB_EXPORTED instead of LIBICONV_DLL_EXPORTED.
* configure.ac (DLL_VARIABLE): Update comment.
* lib/Makefile.in (DEFS): Update comment.
* woe32dll/export.h: Update comment.
* libcharset/include/export.h (LIBCHARSET_SHLIB_EXPORTED): Renamed from
LIBCHARSET_DLL_EXPORTED. Prefer the term "shared library", since the
term "DLL" applies only to Windows.
* libcharset/Makefile.devel (include/libcharset.h.build.in,
include/localcharset.h.build.in): Insert LIBCHARSET_SHLIB_EXPORTED
instead of LIBCHARSET_DLL_EXPORTED.
* libcharset/lib/relocatable-stub.c (libcharset_set_relocation_prefix): Use
LIBCHARSET_SHLIB_EXPORTED instead of LIBCHARSET_DLL_EXPORTED.
* libcharset/lib/Makefile.in (DEFS): Update comment.
* libcharset/Makefile.in (install-lib): Update comment.
diff --git a/ChangeLog b/ChangeLog
index 0c033f1..49e4e69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2023-09-16  Bruno Haible  <bruno@clisp.org>
+
+	Fix a misnomer.
+	* include/export.h (LIBICONV_SHLIB_EXPORTED): Renamed from
+	LIBICONV_DLL_EXPORTED. Prefer the term "shared library", since the term
+	"DLL" applies only to Windows.
+	* Makefile.devel (include/iconv.h.build.in): Insert
+	LIBICONV_SHLIB_EXPORTED instead of LIBICONV_DLL_EXPORTED.
+	* configure.ac (DLL_VARIABLE): Update comment.
+	* lib/Makefile.in (DEFS): Update comment.
+	* woe32dll/export.h: Update comment.
+
 2023-09-13  Bruno Haible  <bruno@clisp.org>
 
 	Simplify the library: Don't compile relocatable.c any more.
diff --git a/Makefile.devel b/Makefile.devel
index 22eae3a..dee5875 100644
--- a/Makefile.devel
+++ b/Makefile.devel
@@ -137,7 +137,7 @@
 
 include/iconv.h.build.in : include/iconv.h.in include/export.h
 	cat $< \
-	| sed -e 's/extern \([^"]\)/extern LIBICONV_DLL_EXPORTED \1/' \
+	| sed -e 's/extern \([^"]\)/extern LIBICONV_SHLIB_EXPORTED \1/' \
 	      -e '/_LIBICONV_VERSION/r include/export.h' \
 	| sed -e '/_LIBICONV_VERSION/,/[*][/]$$/{/_LIBICONV_VERSION/!d;}' > $@
 
diff --git a/configure.ac b/configure.ac
index 1b6ce92..95bd2f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -197,9 +197,9 @@
 /* On Windows, variables that may be in a DLL must be marked specially.
    The symbols marked with DLL_VARIABLE should be exported if and only if the
    object file gets included in a DLL.  Libtool, on Windows platforms, defines
-   the C macro DLL_EXPORT (together with PIC) when compiling for a DLL
-   and does not define it when compiling an object file meant to be linked
-   statically into some executable.  */
+   the C macro DLL_EXPORT (together with PIC) when compiling for a shared
+   library (called DLL under Windows) and does not define it when compiling
+   an object file meant to be linked statically into some executable.  */
 #if defined _MSC_VER && defined DLL_EXPORT
 # define DLL_VARIABLE __declspec (dllimport)
 #else
diff --git a/include/export.h b/include/export.h
index 5354e7a..d68fc3b 100644
--- a/include/export.h
+++ b/include/export.h
@@ -15,7 +15,7 @@
    along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
 
 #if @HAVE_VISIBILITY@ && BUILDING_LIBICONV
-# define LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default")))
+# define LIBICONV_SHLIB_EXPORTED __attribute__((__visibility__("default")))
 #elif defined _MSC_VER && BUILDING_LIBICONV
 /* When building with MSVC, exporting a symbol means that the object file
    contains a "linker directive" of the form /EXPORT:symbol.  This can be
@@ -23,14 +23,14 @@
    "dumpbin /directives FILE" commands.
    The symbols from this file should be exported if and only if the object
    file gets included in a DLL.  Libtool, on Windows platforms, defines
-   the C macro DLL_EXPORT (together with PIC) when compiling for a DLL
-   and does not define it when compiling an object file meant to be linked
-   statically into some executable.  */
+   the C macro DLL_EXPORT (together with PIC) when compiling for a shared
+   library (called DLL under Windows) and does not define it when compiling
+   an object file meant to be linked statically into some executable.  */
 # if defined DLL_EXPORT
-#  define LIBICONV_DLL_EXPORTED __declspec(dllexport)
+#  define LIBICONV_SHLIB_EXPORTED __declspec(dllexport)
 # else
-#  define LIBICONV_DLL_EXPORTED
+#  define LIBICONV_SHLIB_EXPORTED
 # endif
 #else
-# define LIBICONV_DLL_EXPORTED
+# define LIBICONV_SHLIB_EXPORTED
 #endif
diff --git a/lib/Makefile.in b/lib/Makefile.in
index dcf73b3..bd2f069 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -19,8 +19,8 @@
 LDFLAGS_yes = -Wl,--export-all-symbols
 LDFLAGS_no =
 INCLUDES = -I. -I$(srcdir) -I../include -I$(srcdir)/../include -I.. -I$(srcdir)/..
-# -DBUILDING_LIBICONV: Change expansion of LIBICONV_DLL_EXPORTED macro.
-# -DBUILDING_LIBCHARSET: Change expansion of LIBCHARSET_DLL_EXPORTED macro in
+# -DBUILDING_LIBICONV: Change expansion of LIBICONV_SHLIB_EXPORTED macro.
+# -DBUILDING_LIBCHARSET: Change expansion of LIBCHARSET_SHLIB_EXPORTED macro in
 # localcharset.h.
 DEFS = -DBUILDING_LIBICONV -DBUILDING_LIBCHARSET @DEFS@
 LIBTOOL = @LIBTOOL@
diff --git a/libcharset/ChangeLog b/libcharset/ChangeLog
index 32c105f..7af250d 100644
--- a/libcharset/ChangeLog
+++ b/libcharset/ChangeLog
@@ -1,3 +1,17 @@
+2023-09-16  Bruno Haible  <bruno@clisp.org>
+
+	Fix a misnomer.
+	* include/export.h (LIBCHARSET_SHLIB_EXPORTED): Renamed from
+	LIBCHARSET_DLL_EXPORTED. Prefer the term "shared library", since the
+	term "DLL" applies only to Windows.
+	* Makefile.devel (include/libcharset.h.build.in,
+	include/localcharset.h.build.in): Insert LIBCHARSET_SHLIB_EXPORTED
+	instead of LIBCHARSET_DLL_EXPORTED.
+	* lib/relocatable-stub.c (libcharset_set_relocation_prefix): Use
+	LIBCHARSET_SHLIB_EXPORTED instead of LIBCHARSET_DLL_EXPORTED.
+	* lib/Makefile.in (DEFS): Update comment.
+	* Makefile.in (install-lib): Update comment.
+
 2023-09-06  Bruno Haible  <bruno@clisp.org>
 
 	Don't export symbols from static MSVC .obj files.
diff --git a/libcharset/Makefile.devel b/libcharset/Makefile.devel
index f421a18..7f237a4 100644
--- a/libcharset/Makefile.devel
+++ b/libcharset/Makefile.devel
@@ -26,14 +26,14 @@
 
 include/libcharset.h.build.in : include/libcharset.h.in include/export.h
 	cat $< \
-	| sed -e 's/extern \([^"]\)/extern LIBCHARSET_DLL_EXPORTED \1/' \
+	| sed -e 's/extern \([^"]\)/extern LIBCHARSET_SHLIB_EXPORTED \1/' \
 	      -e '/#define _LIBCHARSET_H/r include/export.h' \
 	| sed -e '/#define _LIBCHARSET_H/,/[*][/]$$/{/#define _LIBCHARSET_H/!d;}' \
 	  > $@
 
 include/localcharset.h.build.in : include/localcharset.h.in include/export.h
 	cat $< \
-	| sed -e 's/extern \([^"]\)/extern LIBCHARSET_DLL_EXPORTED \1/' \
+	| sed -e 's/extern \([^"]\)/extern LIBCHARSET_SHLIB_EXPORTED \1/' \
 	      -e '/#define _LOCALCHARSET_H/r include/export.h' \
 	| sed -e '/#define _LOCALCHARSET_H/,/[*][/]$$/{/#define _LOCALCHARSET_H/!d;}' \
 	  > $@
diff --git a/libcharset/Makefile.in b/libcharset/Makefile.in
index 15fd831..1015745 100644
--- a/libcharset/Makefile.in
+++ b/libcharset/Makefile.in
@@ -39,7 +39,7 @@
 	cd lib && $(MAKE) install-lib libdir='$(libdir)' includedir='$(includedir)'
 	$(mkinstalldirs) $(includedir)
 	$(INSTALL_DATA) include/libcharset.h.inst $(includedir)/libcharset.h
-# Here, use the include file that contains LIBCHARSET_DLL_EXPORTED annotations.
+# Here, use the include file that contains LIBCHARSET_SHLIB_EXPORTED annotations.
 	$(INSTALL_DATA) include/localcharset.h $(includedir)/localcharset.h
 
 install : all force
diff --git a/libcharset/include/export.h b/libcharset/include/export.h
index 280ee1b..22d1fb5 100644
--- a/libcharset/include/export.h
+++ b/libcharset/include/export.h
@@ -15,7 +15,7 @@
    along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
 
 #if @HAVE_VISIBILITY@ && BUILDING_LIBCHARSET
-# define LIBCHARSET_DLL_EXPORTED __attribute__((__visibility__("default")))
+# define LIBCHARSET_SHLIB_EXPORTED __attribute__((__visibility__("default")))
 #elif defined _MSC_VER && BUILDING_LIBCHARSET
 /* When building with MSVC, exporting a symbol means that the object file
    contains a "linker directive" of the form /EXPORT:symbol.  This can be
@@ -23,14 +23,14 @@
    "dumpbin /directives FILE" commands.
    The symbols from this file should be exported if and only if the object
    file gets included in a DLL.  Libtool, on Windows platforms, defines
-   the C macro DLL_EXPORT (together with PIC) when compiling for a DLL
-   and does not define it when compiling an object file meant to be linked
-   statically into some executable.  */
+   the C macro DLL_EXPORT (together with PIC) when compiling for a shared
+   library (called DLL under Windows) and does not define it when compiling
+   an object file meant to be linked statically into some executable.  */
 # if defined DLL_EXPORT
-#  define LIBCHARSET_DLL_EXPORTED __declspec(dllexport)
+#  define LIBCHARSET_SHLIB_EXPORTED __declspec(dllexport)
 # else
-#  define LIBCHARSET_DLL_EXPORTED
+#  define LIBCHARSET_SHLIB_EXPORTED
 # endif
 #else
-# define LIBCHARSET_DLL_EXPORTED
+# define LIBCHARSET_SHLIB_EXPORTED
 #endif
diff --git a/libcharset/lib/Makefile.in b/libcharset/lib/Makefile.in
index df77df4..9a9ec1a 100644
--- a/libcharset/lib/Makefile.in
+++ b/libcharset/lib/Makefile.in
@@ -17,7 +17,7 @@
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 INCLUDES = -I. -I$(srcdir) -I.. -I$(srcdir)/.. -I../include
-# -DBUILDING_LIBCHARSET: Change expansion of LIBCHARSET_DLL_EXPORTED macro.
+# -DBUILDING_LIBCHARSET: Change expansion of LIBCHARSET_SHLIB_EXPORTED macro.
 DEFS = -DBUILDING_LIBCHARSET @DEFS@
 LIBTOOL = @LIBTOOL@
 LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile
diff --git a/libcharset/lib/relocatable-stub.c b/libcharset/lib/relocatable-stub.c
index cbfc595..dfb545a 100644
--- a/libcharset/lib/relocatable-stub.c
+++ b/libcharset/lib/relocatable-stub.c
@@ -1,5 +1,5 @@
 /* Provide relocatable packages.
-   Copyright (C) 2018 Free Software Foundation, Inc.
+   Copyright (C) 2018-2023 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2018.
 
    This program is free software; you can redistribute it and/or modify it
@@ -19,7 +19,7 @@
 
 #include "libcharset.h"
 
-extern LIBCHARSET_DLL_EXPORTED void
+extern LIBCHARSET_SHLIB_EXPORTED void
 libcharset_set_relocation_prefix (const char *orig_prefix, const char *curr_prefix);
 
 /* This is a stub for binary backward-compatibility.  */
diff --git a/woe32dll/export.h b/woe32dll/export.h
index 954c594..2b17107 100644
--- a/woe32dll/export.h
+++ b/woe32dll/export.h
@@ -55,9 +55,9 @@
           to define a -DBUILDING_LIBXYZ flag for the library.
      Example:
          #ifdef BUILDING_LIBICONV
-         #define LIBICONV_DLL_EXPORTED __declspec(dllexport)
+         #define LIBICONV_SHLIB_EXPORTED __declspec(dllexport)
          #else
-         #define LIBICONV_DLL_EXPORTED __declspec(dllimport)
+         #define LIBICONV_SHLIB_EXPORTED __declspec(dllimport)
          #endif
 
      We use this technique for the libintl and the libiconv libraries.