Re: A target_os conditionally applied -lfoo switch

2002-11-19 Thread Earnie Boyd
Bruce Korb wrote: Ralf Corsepius wrote: Am Mit, 2002-11-13 um 19.08 schrieb Earnie Boyd: I need to add a library specific to a target_os. I've tried several possible techniques and can't get cooperation from the tools. What I want is something similar to: target_os := @target_os@ ifeq

Re: A target_os conditionally applied -lfoo switch

2002-11-19 Thread Bruce Korb
Earnie Boyd wrote: Thanks Bruce, I used a modification of your suggestion: configure.ac if test x$target_os == xmingw32; then WINSOCK=-lws2_32 fi AC_SUBST(WINSOCK) /configure.ac Makefile.am LDADD := @LTLIBINTL@ @WINSOCK@ /Makefile.am Actually, your Makefile.in will contain