Date: Wed, 2 Sep 1998 07:36:04 +0200 (CEST) From: Joachim Kuebart <joki@kuebart.stuttgart.netsurf.de> To: joki@kuebart.stuttgart.netsurf.de (Joachim Kuebart) Cc: roberto@keltia.freenix.fr, freebsd-current@FreeBSD.ORG Subject: Re: XFree86 and ELF Message-ID: <199809020536.HAA01399@yacht.domestic.de> In-Reply-To: <199809020003.CAA13058@shire.domestic.de> from Joachim Kuebart at "Sep 2, 98 02:03:34 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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 <http://www.freebsd.org>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809020536.HAA01399>
