Runtime specialization and uuid checking at compile time
When compiling libsac2c it appears that the process does not check for the existence of header /usr/include/uuid/uuid.h resulting in unrecognized macros and prototypes when attempting to build the stdlib.
example of undefined identifiers : SAC_WE_DECL_REG_FLAG, SAC_WE_FUN_DEF_END2.
The issue was flawlessly solved by installing uuid-dev package (tested on Ubuntu 18.04 LTS), recompiling sac2c and then stdlib.
A complete log is included as well (output when building stdlib with no uuid support in sac2c build).