* John Baldwin <firstname.lastname@example.org> [080505 13:47] wrote:
> On Monday 05 May 2008 03:24:17 pm Peter Jeremy wrote:
> > On Mon, May 05, 2008 at 02:59:28PM -0400, John Baldwin wrote:
> > >On Monday 05 May 2008 02:40:03 pm Alfred Perlstein wrote:
> > >> I'm _not_ objecting, just interested in why.
> > >>
> > >> Any references to discussions on this? Are we now safe for
> > >> future compat or something?
> > >
> > >Having FILE be opaque broke just about every 'configure' script on the
> > >planet. :(
> > Either autoconf and friends are _intended_ as impediments to
> > portability or they are completely broken by design.
> It appears that autoconf only believes a type is real if you can typedef it to
> another type, cast 0 to a valid pointer to the new typedef'd type, and do a
> sizeof() of the typdef'd type. The last is where having an opaque type
> breaks down for scripts that want to make sure FILE is a real type.
Oh c'mon! we're going to revert this needed fix just because of
By the time 8.0 rolls around, autoconf will be fixed and there
will be some standard patch/workaround for old autoconf.
Let's just roll forward with this. We've needed it for years.
- Alfred Perlstein