Commit b64c79ad authored by Ian Lynagh's avatar Ian Lynagh

Update some comments about how autoconf/configure works

parent 7804af8c
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment