From: Bruno Haible Date: Thu, 14 Feb 2019 02:13:29 +0000 (+0100) Subject: libtextstyle: Document the link options more precisely. X-Git-Tag: v0.20~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4808ef0b329113afd213b85fbedba98ad549c719;p=thirdparty%2Fgettext.git libtextstyle: Document the link options more precisely. * libtextstyle/doc/libtextstyle.texi (Link options): Document the link dependencies. --- diff --git a/libtextstyle/doc/libtextstyle.texi b/libtextstyle/doc/libtextstyle.texi index cec0193ce..209fef9c5 100644 --- a/libtextstyle/doc/libtextstyle.texi +++ b/libtextstyle/doc/libtextstyle.texi @@ -538,7 +538,11 @@ locations, or @code{-L@var{libdir} -ltextstyle -Wl,-rpath,@var{libdir}} for a shared library installed in other locations (assuming a GCC compatible compiler and linker and no @code{libtool}), or @code{-L@var{libdir} -ltextstyle -R@var{libdir}} for a shared library -installed in other locations (with @code{libtool}). +installed in other locations (with @code{libtool}). Additionally, the +link options may need to include the dependencies: @code{-lm}, and +@code{-lncurses} or (on NetBSD) @code{-ltermcap} or (on AIX) +@code{-lxcurses} or (on HP-UX) @code{-lcurses}, and on some systems also +@code{-liconv}. It is a bit complicated to determine the right link options in a portable way. Therefore an Autoconf macro is provided in the file