From: Ian Lynagh Date: Wed, 5 Sep 2007 01:32:39 +0000 (+0000) Subject: Set datarootdir to the value configure gives us (if any) so datadir works X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=fe4dd43030b37772a08ed0986171d3cffcdaca6a Set datarootdir to the value configure gives us (if any) so datadir works We then set datarootdir to something else later on so that things still work when configure doesn't set it. --- diff --git a/mk/config.mk.in b/mk/config.mk.in index 871bb81..80c52f2 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -524,7 +524,9 @@ prefix := @prefix@ # New autoconf (>= 2.60?) make a configure with a --datarootdir=DIR flag. # However, in order to support older autoconf's we don't use it. # datarootdir is set lower down instead. -# datarootdir = @datarootdir@ +# But, as datadir is defined in terms of datarootdir, we also need to +# set it to the value (if any) that configure gives it here. +datarootdir := @datarootdir@ exec_prefix := @exec_prefix@ bindir := @bindir@