pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PowerPC (macppc) et al vs "fenv.h"?

On Sat, 19 Dec 2015, John D. Baker wrote:

> [...]
> #if !defined(__aarch64__) && !defined(__arm__) && !defined(__i386__) \
>     && !defined(__hppa__) \
>     && !defined(__or1k__) && !defined(__riscv__) && !defined(__sparc__) \
>     && !defined(__x86_64__)
> #error  "fenv.h is currently not supported for this architecture"
> #endif
> [...]
> There is no "&& !defined(__powerpc__)" in the list, so "fenv.h" causes
> an error exit.

I would suppose "fenv.h" exists in this state for uniformity purposes;
so that things would not fail because it was missing.  What is needed
for the excluded architectures to not be excluded anymore?

In the specific case of "ffmpeg2", I'll need to look at its configure
process and see if it's a case of "fenv.h exists, so assume the support
it implies".  Perhaps if it were missing, it would cope with that?

|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Home | Main Index | Thread Index | Old Index