Avoid `configure' issues with symbolic links. Based on a patch from Alexander Stohr <Alexander.Stohr@gmx.de>. * configure: Compare directories using `ls -id'. Check existence of `reference' subdirectory before creating it.