Commit 8fbf686c authored by Ian Lynagh's avatar Ian Lynagh

Pass configure arguments to the library configure scripts

parent b1160a12
......@@ -31,6 +31,8 @@ if test ! -f mk/config.h.in; then
exit 1
fi
AC_SUBST([CONFIGURE_ARGS], [$ac_configure_args])
FP_SETUP_PROJECT_VERSION
# Hmmm, we fix the RPM release number to 1 here... Is this convenient?
......
......@@ -150,6 +150,7 @@ stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).%: %/setup/Setup
--with-ld=$(LD) \
--datasubdir=ghc \
--haddock-args="--use-contents=../index.html --use-index=../doc-index.html" \
$(addprefix --configure-option=,$(CONFIGURE_ARGS)) \
--configure-option=--with-cc=$(CC)
touch $@
......
......@@ -1230,3 +1230,11 @@ WAY_o_HC_OPTS=
# GhcLibCppOpts += -DWORD_SIZE_IN_BITS=31
# SplitObjs=NO
################################################################################
#
# Library configure arguments
#
################################################################################
CONFIGURE_ARGS = @CONFIGURE_ARGS@
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