From: Duncan C. <dun...@us...> - 2004-12-14 13:18:12
|
Update of /cvsroot/gtk2hs/gtk2hs/mk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30150/mk Modified Files: common.mk Log Message: Quoting/escaping fix so that headers are -#include'd properly. This allows a build using ./configure --with-hcflags=-fvia-C to get further. I don't think that config.h should be -#include'd but I have not made that change yet. Index: common.mk =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/mk/common.mk,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- common.mk 13 Dec 2004 21:31:55 -0000 1.44 +++ common.mk 14 Dec 2004 13:18:01 -0000 1.45 @@ -20,7 +20,7 @@ $(call getVar,$<,HCFLAGS) -i$(VPATH) \ $(addprefix -package ,$($(NAME)_PACKAGEDEPS)) \ $(addprefix -package-name ,$(notdir $(basename $($(NAME)_PACKAGE)))) \ - $(addprefix '-\#include<,$(addsuffix >',$(CONFIG_H) \ + $(addprefix '-#include<,$(addsuffix >',$(CONFIG_H) \ $($(NAME)_HEADER))) \ $(AM_CPPFLAGS) $($(NAME)_CPPFLAGS)) |