From owner-freebsd-current Tue Sep 1 22:34:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA14563 for freebsd-current-outgoing; Tue, 1 Sep 1998 22:34:39 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from shire.domestic.de (kuebart.stuttgart.netsurf.de [194.233.216.182]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA14553 for ; Tue, 1 Sep 1998 22:34:34 -0700 (PDT) (envelope-from joki@kuebart.stuttgart.netsurf.de) Received: from yacht.domestic.de (yacht.domestic.de [192.168.1.4]) by shire.domestic.de (8.8.8/8.8.7) with ESMTP id HAA17697; Wed, 2 Sep 1998 07:32:57 +0200 (CEST) (envelope-from joki@shire.domestic.de) From: Joachim Kuebart Received: (from joki@localhost) by yacht.domestic.de (8.9.1/8.8.7) id HAA01399; Wed, 2 Sep 1998 07:36:04 +0200 (CEST) (envelope-from joki@shire.domestic.de) Message-Id: <199809020536.HAA01399@yacht.domestic.de> Subject: Re: XFree86 and ELF In-Reply-To: <199809020003.CAA13058@shire.domestic.de> from Joachim Kuebart at "Sep 2, 98 02:03:34 am" To: joki@kuebart.stuttgart.netsurf.de (Joachim Kuebart) Date: Wed, 2 Sep 1998 07:36:04 +0200 (CEST) Cc: roberto@keltia.freenix.fr, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joachim Kuebart wrote: > Satoshi Asami wrote: > > REL!= sysctl -n kern.osreldate > > .if ${REL} >= 300004 > > OBJFORMAT!= objformat > > .if ${OBJFORMAT} == elf > > ELF= yes > > .endif > > .endif > > We can code in scripts/configure: --- configure.orig Wed Sep 2 07:30:39 1998 +++ configure Wed Sep 2 07:30:07 1998 @@ -267,6 +267,11 @@ echo "#define HasKrb4 $answ" >> $F fi +# ELF detection +test `sysctl -n kern.osreldate` -ge 300004 && + test `objformat` = elf && + echo "#define UseElfFormat YES" >> $F + echo echo "End of configuration questions. No more user input required" echo cu Jo --------------------------------------------------------------------- FreeBSD: The Power to Serve Joachim Kuebart Tel: +49 711 653706 Oh god, god... My tongue is asleep and Germany my teeth itch. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message