Re: [AD] binary compatibility check for 4.2.x

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2006-03-12, Elias Pschernig <elias@xxxxxxxxxx> wrote:
> On Sat, 2006-03-11 at 08:53 +1100, Peter Wang wrote:
> > 
> > The syntax would be @libdir@ if you were wanting configure to make the
> > substitution.
> > 
> 
> Inside configure.in?

Inside alunixac.h.  For example, makefile is produced from makefile.in
by substuting variables surrounded by '@' chars.  But it appears
alunixac.h does not get that kind of substitution because it's an
AC_CONFIG_HEADER rather than an AC_CONFIG_FILE (and they have different
purposes).

> 
> My idea was, to get an entry:
> 
> #define ALLEGRO_MODULES_PATH "/usr/local/lib/allegro"
> 
> into alunixac.h. Or should we rather use a -D compiler switch?

That's probably fine.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/