Hi again,

on Linux, is there any means to specify to the Agar build system that
libjpeg (ex: its headers) is not in a standard place?
When having built a prefixed version of libjpeg installed on a user
directory (rather than on directories like /usr/local/include/), we
would need some way to tell the Agar build what is the prefixed
directory to use.

For example, with SDL_image one can specify where the prerequesites are
to be found, like in:

.../configure --with-sdl-prefix=${SDL_PREFIX}
CPPFLAGS="-I${libjpeg_PREFIX}/include -I${libpng_PREFIX}/include
-I${zlib_PREFIX}/include"

LDFLAGS can be set this way too.

How this could be done with Agar? The problem is that even if we can
define appropriately CFLAGS (supposedly left blank for the user to set
it?) for the compilation itself, anyway the preceding configure will
fail, short of searching libjpeg at the right place. I think
--with-*-prefix=<a path> for each prerequesite could be useful here (I
tried to use CFLAGS with configure but it was rejected).

Thanks in advance for any hint,
best regards,

Olivier.

PS: by the way, still no luck with my previous questions about the Agar
...LIB?



_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to