This is the mail archive of the
mailing list for the GCC project.
Re: Altivec conditional?
On Fri, Feb 22, 2002 at 01:54:25PM +0100, Daniel Egger wrote:
> Am Don, 2002-02-21 um 17.37 schrieb Daniel Jacobowitz:
> > > But I can only include <altivec.h> if I have a capable compiler.
> > > That's not going to work as it's a chicken egg problem.
> > Easier to autoconf for, though...
> Correct. But I prefer having a compiler defined symbol to autoconf
> because it needs quite a bit additional work.
I don't think adding altivec.h to AC_CHECK_HEADERS is that much additional
work (or even inserting new AC_CHECK_HEADERS).
This is how you do check for all headers not shipped by the compiler, so I
don't see why this one should be handled any differently.