X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Finstall.mk.in;h=4d203101078ba31fab35d07093858aaac29ff982;hb=b00e3a6c0a82a8af3238d677f798d812cd7fd49f;hp=d1bce874a67c3cb7ecbab495562ec69ca9af66ac;hpb=f65bf7559b3e92607cfcf7a334e9994891dd9c32;p=ghc-hetmet.git diff --git a/mk/install.mk.in b/mk/install.mk.in index d1bce87..4d20310 100644 --- a/mk/install.mk.in +++ b/mk/install.mk.in @@ -45,8 +45,8 @@ define set_default # $1 = variable to set # $2 = default value to use, if configure didn't expand it -# If $1 starts with an @ then configure didn't set it, -# so set it to a sensible value +# If $1 starts with an @ then configure didn't set it (because a version +# of autoconf that is too old was used), so set it to a sensible value ifneq "$$(filter @%,$$($1))" "" $1 = $2 endif @@ -67,9 +67,6 @@ libdir = @libdir@ includedir = @includedir@ mandir = @mandir@ -# New autoconf (>= 2.60?) make a configure with --docdir=DIR etc flags. -# However, in order to support older autoconf's we don't use them. - docdir = @docdir@ $(eval $(call set_default,docdir,$${datarootdir}/doc/ghc))