Re: autoreconf: g++ compiler options in configure.ac
- From: Guido Scholz <guido.scholz@xxxxxxxxxxxxx>
- Date: Sun, 23 Mar 2008 11:28:25 +0100
Mark Hobley schrieb:
Incidentally, if I manually issue the command:
g++ commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o
tn3270.o utilities.o genget.o environ.o netlink.o -lncurses -o telnet
The telnet client builds OK.
sorry, my first hint pointed into the wrong direction. As Markus
mentioned you have to setup the linker flags properly. You can add a
line like this to your configure.ac:
AC_CHECK_LIB([ncurses],[initscr],[LIBS="-lncurses $LIBS"],
AC_MSG_ERROR([ncurses check failed]))
This also gives a possible user of your package a feedback about missing
libraries.
Guido
--
http://www.bayernline.de/~gscholz/
http://www.lug-burghausen.org/
.
- References:
- autoreconf: g++ compiler options in configure.ac
- From: Mark Hobley
- Re: autoreconf: g++ compiler options in configure.ac
- From: Guido Scholz
- Re: autoreconf: g++ compiler options in configure.ac
- From: Mark Hobley
- Re: autoreconf: g++ compiler options in configure.ac
- From: Guido Scholz
- Re: autoreconf: g++ compiler options in configure.ac
- From: Mark Hobley
- autoreconf: g++ compiler options in configure.ac
- Prev by Date: Re: autoreconf: g++ compiler options in configure.ac
- Next by Date: Re: autoreconf: g++ compiler options in configure.ac
- Previous by thread: Re: autoreconf: g++ compiler options in configure.ac
- Next by thread: Re: autoreconf: g++ compiler options in configure.ac
- Index(es):
Relevant Pages
|