Shared Memory is supported by default, I think. In other words, I don't think shared memory is a compile option.
Shared Memory is IPC. try 'man shmget' on the command line. or 'man ipc' for more information.
or search google's linux section
http://www.google.com/linux for 'shmget' system call