[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: compile warnings from msgfmt

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-06-24 20:18:37 CEST

On Thu, 2004-06-24 at 13:58, Peter N. Lundblad wrote:
> I'm not sure how to implement this portably. Is the make if construct
> portable?

Not particularly, no.

A common trick is to stick @SYMBOL@ in Makefile.in and define @SYMBOL@
to either "#" or "" depending on whether the Makefile fragment should be
enabled.

Another common trick is to do a runtime check using the shell if
construct, which is portable.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 24 20:19:36 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.