summaryrefslogtreecommitdiff
path: root/mk/install.mk.in
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-01-18 14:59:59 +0000
committerIan Lynagh <igloo@earth.li>2010-01-18 14:59:59 +0000
commitb64c79adfe3b06c3a1633b5bedde0a507e30247e (patch)
treebf0e55709591453cf1aea83dd7092df84581b207 /mk/install.mk.in
parent7804af8c4a5bc02798423900a641a4aa77e5abfb (diff)
downloadhaskell-b64c79adfe3b06c3a1633b5bedde0a507e30247e.tar.gz
Update some comments about how autoconf/configure works
Diffstat (limited to 'mk/install.mk.in')
-rw-r--r--mk/install.mk.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/mk/install.mk.in b/mk/install.mk.in
index d1bce874a6..4d20310107 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))