Re: [AD] allegro-config not working under macosx |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2007-06-03, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> On 2007-05-28, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> >
> > I've fixed most of the namespace pollution in a local copy. However I
> > haven't figured out HAVE_DIRENT_H, HAVE_INTTYPES_H, and some other
> > "standard" symbols that autoheader generates which we don't even seem to
> > ask for.
>
> It turns out AC_CHECK_FUNC implies those tests. Also auto* insists on
> defining PACKAGE_* macros, which we don't even use. I think the
> solution is to not use autoheader entirely and manually keep
> include/allegro/platform/alunixac.hin in sync (which is probably easier
> than dealing with autoheader). If you add a test to configure.in just
> add a corresponding line in alunixac.hin. You might need to update
> al*cfg.h for non-Unix platforms anyway.
>
> Here's a patch that does that, along with some cleaning up and
> normalisation some of the symbols names too. Have a look over it.
I committed it. We need to check it's okay on *BSD systems before release
4.2.2.
Peter