added getpgid() and getpgrp() check to configure.ac redefined RC_XXXX in mod-sys.c changed some functions in mod-sys.c