Re: Circular symlink created when only SHLIB_MAJOR is defined

Jachym Holecek <[email protected]>
Newsgroups gmane.os.netbsd.devel.general
Message-ID <20070128195935.GA22320@hanele>
# Jeremie Le Hen 2007-01-28:
> On Sun, Jan 28, 2007 at 06:45:48AM -0500, Thor Lancelot Simon wrote:
> > On Sun, Jan 28, 2007 at 06:59:04AM +0100, Jeremie Le Hen wrote:
> > > Hi list,
> > > 
> > > (Please Cc: in your reply, I'm not subscribed.)
> > > 
> > > I've already sent this e-mail to tech-toolchain@ but got no answer.
> > > I dare to resend it here to reach a larger audience.
> > 
> > The audience dares to point out that a shared library with only a major
> > number is not supported.
> > 
> > "Unix gives you enough rope..."
> 
> Ok, I'm sorry.  Is it possible to trigger an error whenever only the
> major version if defined ?  NetBSD's make(1) does not have the .error
> statement, what can I use instead ?

I usually do something like below.

	-- Jachym

.if !defined(FOO)
.BEGIN:
	@echo "Error ===> FOO not defined"
	@exit 1
.endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.