Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 1998 15:51:23 -0700 (PDT)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        joki@kuebart.stuttgart.netsurf.de
Cc:        joki@shire.domestic.de, galatalt@stuy.edu, dfr@nlsystems.com, freebsd-current@FreeBSD.ORG
Subject:   Re: XFree86 and ELF
Message-ID:  <199809012251.PAA13308@silvia.hip.berkeley.edu>
In-Reply-To: <199809011809.UAA16527@yacht.domestic.de> (message from Joachim Kuebart on Tue, 1 Sep 1998 20:09:40 %2B0200 (CEST))

next in thread | previous in thread | raw e-mail | index | archive | help
 * This is due to the fact that I am unaware of a portable way to check
 * if we're on an ELF system. Bear in mind it might be a prehistoric
 * -stable version, so it isn't just a question of `objformat`.

REL!=	sysctl -n kern.osreldate
.if ${REL} >= 300004
OBJFORMAT!=	objformat
.if ${OBJFORMAT} == elf
ELF=	yes
.endif
.endif

Satoshi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809012251.PAA13308>