Re: [AD] m4 macro for allegro |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Has anyone taken a look at this yet?
I'll try to sneak in a glance later in the afternoon if noone has done so
yet.
Evert
On Monday 07 June 2004 00:33, Jon Rafkind wrote:
> I have finally written an m4 macro for Allegro. I dont believe an m4
> macro exists already..
>
> Its use is pretty simple: allegro.m4 needs to be in the
> /usr/share/aclocal or /usr/local/share/aclocal directory and then in
> configure.in the user calls
> AM_PATH_ALLEGRO( MAJOR.MINOR.MICRO )
>
> where major.minor.micro are 4.1.0 or 4.0.3, you get the picture.
>
> The macro will set allegro_LIBS and allegro_CFLAGS which can then be
> used in Makefile.am or Makefile.in, but im not sure about Makefile, as
> ${allegro_LIBS}. e.g:
> LIBS=-lm -lsomelibrary ${allegro_LIBS}
>
> I have not thouroughly tested the m4 macro nor know right now how to add
> it to the distrobution so it gets copied into the proper directory upon
> installation. Hopefully someone else can help with that :).
>
> One final note, I started with the libxml.m4 macro and hacked it up
> until it became what it is now.
> later--,
> jon
>
--
Evert Glebbeek
e-mail: eglebbk@xxxxxxxxxx
ICQ: 48210348 msn: eglebbk@xxxxxxxxxx
www: http://www.eglebbk.dds.nl/