Ok, I did figure out something (I hope) clean:
I made a psl1ght section in configure.in
and added my macro to the EXTRA_CFLAGS
I thought I code use the AC_DEFINE macro, bit doesn't seems to be used for that... *needs to follow a autocong tutorial some day :/ *
Anyway if someone interested, I will get the thing working here:
Thanks for this greats library
On Sun, Nov 28, 2010 at 12:53 PM, Seb DA ROCHA wrote:
I'm trying to port SDL to the PS3 using the PSL1GHT SDK.
I've managed to compile a dummy lib, but I had to comment some code for that (i.e. memory.h isn't provided in the SDK).
I would like to put a macro #define for that instead of just commenting. But I don't see how setup a macro at configure time that won't be erased next time I call autogen.sh ?
Could some one give me clue on that ?
Thanks a lot