bug-autoconf
[Top][All Lists]
Advanced

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

Re: AC_FUNC_SETVBUF_REVERSED & cross-compiling


From: Russ Allbery
Subject: Re: AC_FUNC_SETVBUF_REVERSED & cross-compiling
Date: 09 Jun 2001 23:31:35 -0700
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Akim Demaille <address@hidden> writes:
>>>>>> "Karl" == Karl Berry <address@hidden> writes:

> Karl> I use AC_FUNC_SETVBUF_REVERSED, and autoconf -Wall says this
> Karl> about it: configure.ac:61: warning: AC_RUN_IFELSE called without
> Karl> default to allow cross compiling

> Karl> I don't know if it can be fixed, but I thought I'd mention it.

One option that you may want to consider is just not using that macro;
previous discussion on the autoconf list seemed to indicate that the
number of systems that had that problem was very small even at the time
and that most of them are no longer running anyway.

> Hm, or maybe in such cases we can map

> #undef SETVBUF_REVERSED

> to

> #error "SETVBUF_REVERSED has to be set by hand"

> in config.h?

In this case, I think the best thing to do would be to assume the normal
case when cross-compiling, since the chances that someone's
cross-compiling to one of the very few systems with this obscure bug seems
rather remote.  (And if they are, they're likely to know how to deal with
this case better than we are.)

-- 
Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>



reply via email to

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