at configure time ${datarootdir} depends on ${prefix} which is defined a bit too late in the script.