Code to check for managed memory.  Configure support also.