how to have configure use -lncursesw in LIBS (rather than -lcurses)

Henry <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <CAKP-rwG7-5C7OsYAtekT9Ja3fkpcy=U71baTPfmBwMptuR2o5A@mail.gmail.com>
I have libncursesw installed in /usr/local/lib, but I can't seem to
get configure to use it.
If I set the environment variable LIBS to "-lncursesw" before running
the configure script,
then the test on gcc fails ("C compiler cannot create executables").
Is there some option
switch to configure that I've missed?

Many TIA.

Henry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.