* Lead option description by stating what the option does. * Document impact of option on ncurses's "tinfo" library. * Give more specific guidance to application developers selecting a linker option. * Document impact of option on ncurses++, panel, form, and menu libraries (specifically--contrast "all of the library names"). --- man/ncurses.3x | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/man/ncurses.3x b/man/ncurses.3x
index 70988ff80..ab0bf1b53 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -1894,10 +1894,39 @@ .SH "ALTERNATE CONFIGURATIONS"
from the same set of headers.
.TP 5
.B \-\-with\-pthread
-The configure script renames the library.
-All of the library names have a \*(``t\*('' appended to them
+Enable support for for multi-threaded applications.
+The
+.I \%configure
+script renames the
+.I \%ncurses
+library
+(and the
+.I tinfo
+library,
+if
+.B \%\-\-with\-termlib
+is also specified),
+appending \*(``t\*(''
(before any \*(``w\*('' added by
.BR \%\-\-enable\-widec ).
+An application desirous of support for multiple threads of execution
+then uses,
+for example,
+.B \%\-lncursest
+(or
+.BR \%\-ltinfot )
+instead of
+.B \%\-lncurses
+(or
+.BR \%\-ltinfo )
+as its linker option.
+The
+.IR ncurses++ ","
+.IR panel ","
+.IR form ","
+and
+.I menu
+libraries are renamed similarly.
.IP
.I \%ncursest
and
--
2.30.2
signature.asc
Description: PGP signature
