PAC_C_RESTRICT

Check if C supports restrict

Synopsis

PAC_C_RESTRICT

Output Effect

Defines restrict if some version of restrict is supported; otherwise defines restrict as empty. This allows you to include restrict in declarations in the same way that AC_C_CONST allows you to use const in declarations even when the C compiler does not support const

Note that some compilers accept restrict only with additional options. DEC/Compaq/HP Alpha Unix (Tru64 etc.) -accept restrict_keyword