Detect CONFDIR