add some common aliases
add check for strndup
add pid_lock.c
check for strerror_r error
fix missing prototype and check results of fgets
add check for HAVE_STRNDUP
add check for HAVE_STRNDUP