beremiz

automatically detect flags supported by matiec and find correct path
for matiec C library files

This makes possible to use an old matiec and the new one.
int CheckRetainBuffer(void)
{
return 1;
}
void ValidateRetainBuffer(void)
{
}
void InValidateRetainBuffer(void)
{
}
void Retain(unsigned int offset, unsigned int count, void *p)
{
}
void Remind(unsigned int offset, unsigned int count, void *p)
{
}