gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] build failure, again, due to endian.h issues


From: Greg Troxel
Subject: Re: [gpsd-dev] build failure, again, due to endian.h issues
Date: Wed, 06 Nov 2013 07:46:48 -0500
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.4 (berkeley-unix)

@esr: I've said something like this several times, and you haven't
addressed it.  Please do.

It's obvious to me that the right thing in this case, and as a general
facility, is to be able to detect (target of course) header files at the
equivalent of configure time.  autoconf does this via AC_CHECK_HEADER,
which uses the target compiler to compile a program that basically only
has a #include.  This has been standard practice for years, and widely
useful.  One of the points of feature tests rather than #ifdef on an os
name is that the tests automatically extend to similar systems.  I
realize you don't like aspects of autoconf, but this part was entirely
successful.

Surely scons must be able to do the equivalent of AC_CHECK_HEADER.  It's
inconceivable that it's not a built-in feature.  What's going on?

Attachment: pgpbEuOiNxl3Y.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]