Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 1998 08:01:11 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        jdp@polstra.com (John Polstra)
Cc:        tlambert@primenet.com, current@FreeBSD.ORG
Subject:   Re: XFree86 and ELF
Message-ID:  <199809020801.BAA24606@usr02.primenet.com>
In-Reply-To: <199809020418.VAA17950@austin.polstra.com> from "John Polstra" at Sep 1, 98 09:18:23 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > #!/bin/sh
> > 
> > echo "Is it ELF yet?"
> > file `which ld` | grep ELF >/dev/null 2>&1
> > if test "$?" = "0"
> > then
> > 	echo "It's ELF, yet!"
> > else
> > 	echo "No, not yet..."
> > fi
> 
> What I've been using in ports Makefiles is:
> 
>     OBJFORMAT!=	test -x /usr/bin/objformat && /usr/bin/objformat || echo aout

Sure, you could do that if you weren't willing to brute-force it...
8-) 8-).


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

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?199809020801.BAA24606>