id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
3784	--with-gmp-includes and --with-gmp-libraries don't affect the building process of integer-gmp/cbits/mkGmpDerivedConstants	PHO	igloo	"Passing --with-gmp-includes and --with-gmp-libraries to the libraries/integer-gmp/configure doesn't affect the building process of cbits/mkGmpDerivedConstants:

{{{
""/usr/bin/gcc""    libraries/integer-gmp/cbits/mkGmpDerivedConstants.c -o libraries/integer-gmp/cbits/mkGmpDerivedConstants
libraries/integer-gmp/cbits/mkGmpDerivedConstants.c:15:17: error: gmp.h: No such file or directory
}}}

I could solve this problem by appendding the following line to libraries/integer-gmp/gmp/config.mk.in but I'm not sure this is the best way:
{{{
libraries/integer-gmp_CC_OPTS += @CPPFLAGS@ @LDFLAGS@
}}}"	bug	closed	normal	6.12.2	libraries/base	6.12.1	fixed	integer-gmp		Unknown/Multiple	Unknown/Multiple	Building GHC failed					
