Hi Jim,

> > This is a constant you could compute at configure time, no?
> > See AC_COMPUTE_INT.
> 
> Sure, but why bother?  Since any decent compiler will optimize that
> function to "return 12;", I prefer to leave the function right next to
> the code that uses it.

GCC >= 4.0 optimizes away the array access, GCC < 4.0 doesn't.

You could also mark the function as 'inline'.

Bruno


Reply via email to