Re: autoreconf: g++ compiler options in configure.ac



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/
.



Relevant Pages

  • Re: SBS 2008 - Cant recieve mail
    ... It is setup with one Exchange server. ... I set up the Single Port Forwarding as follows: ... are you familiar with how to use telnet to check if you Exchange ... Did you setup an Edge or is SBS2008 setup with one Exchange server? ...
    (microsoft.public.windows.server.sbs)
  • Re: Es koennen keine Emails mehr versendet werden
    ... Es wird eine Internetstandleitung verwendet. ... Ein SmartHost wird nicht benutzt. ... Ein Mailversand per Telnet ist ebenfalls nicht möglich. ... Danke Markus ...
    (microsoft.public.de.german.exchange2000.general)
  • RE: exchange in SBS 2003
    ... cures the email woes 9 times out of 10. ... can you telnet into port ... | have not found any info on setup that works. ...
    (microsoft.public.windows.server.sbs)
  • help with xinetd
    ... As I setup my debian box, I installed xinetd so it would be more like ... I expected a conflict with inetd, ... Now trying to disable telnet, I added "disable = telnet" to my ...
    (Debian-User)
  • Re: Syn+Fin (Setup) And TCP RST
    ... I have no problem to connect via telnet either.. ... to ip 192.115.25.1 (lets say its my freebsd with firewall and rule to reset ... Syn+Fin (Setup) And TCP RST ...
    (FreeBSD-Security)