Hello all.

Recently I was aware that the examples directory (cpp/examples) was not even compiled using Sun provided make. Even changing to GNU make, some assumptions (for example about linker arguments) are not valid for SunCC, or for example some flags needed for compilation (some ifdef SUNOS in headers) are not passed as autotools are not used.

I thought that the best option would be to migrate the examples directory to use also autotools (so we can blame them for all our these pains), and made so in my local copy, succeeding into compiling all the examples. What do you think about this change? I mean, perhaps avoiding autotools was intended for some goal I didn't catch.

I've also found what I think are some bashisms, constructions like:

export foo=var

are not valid in plain bourne shells, or at least they aren't using solaris sh. As in most linux flavours, sh uses to be a link to bash, I suppose it's something difficult to be aware of. I will get rid of those things too.


My plan would be to add it to the solaris branch in Steve's git repository, but if you prefer to detach this change from the solaris branch effort, I could just commit a patch to the project JIRA.

Best regards.


Reply via email to