Vanilla Netrek Server Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[VANILLA-L:1302] Re: [VANILLA-L:1301] -ltermcap on showgalaxy



Quoting James Cameron (cameron@stl.dec.com):
> On my system I don't need -ltermcap, as -lcurses does it all.
> But somebody might, so I don't want to remove it.
> 
> I guess, like -lcrypt, we could just add it to configure.in ...
> 
> AC_CHECK_LIB(crypt, crypt, [LIBS="$LIBS -lcrypt"])
> 
> But I've noticed that this is giving -lcrypt to every link of every
> program.  What would we need to have it given to only the ones that need
> it?
> 
> Would I be right in guessing that one would assign a differently named
> equivalent to LIBS and use it in the right place in the Makefile?
> 
> AC_CHECK_LIB(crypt, crypt, [LIBCRYPT=" -lcrypt"])
> 

Yep, then either go through Makefiles added LIBCRYPT or add LIBS +=
LIBCRYPT

-- 
Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 

+
++ Vanilla-l Mailing List ++
To unsubscribe: send "unsubscribe vanilla-l" to majordomo@real-time.com
For more information: http://archives.real-time.com