From: Peter g. <pg...@co...> - 2009-01-22 00:36:35
|
Mon Jan 19 22:34:02 EST 2009 Peter Gavin <pg...@gm...> * c2hs: make C2HSConfig.hs not be generated from configure this causes all of c2hs to be rebuilt if configure is rerun. The only thing that was needed is the path for CPP, so just use -cpp -DCPP=$(CPP) instead. move ./tools/c2hs/toplevel/C2HSConfig.hs.in ./tools/c2hs/toplevel/C2HSConfig.hs hunk ./Makefile.am 234 - tools/c2hs/toplevel/c2hs_config.c - -nodist_tools_c2hs_c2hsLocal_SOURCES = \ + tools/c2hs/toplevel/c2hs_config.c \ hunk ./Makefile.am 238 - $(tools_c2hs_c2hsLocal_SOURCES) \ - $(nodist_tools_c2hs_c2hsLocal_SOURCES) + $(tools_c2hs_c2hsLocal_SOURCES) hunk ./Makefile.am 243 -tools_c2hs_toplevel_C2HSConfig_hs_HCFLAGS = $(FFI) '-\#include<c2hs_config.h>' +tools_c2hs_toplevel_C2HSConfig_hs_HCFLAGS = $(FFI) '-\#include<c2hs_config.h>' \ + -cpp -D_C2HS_CPP=\""$(CPP)"\" [_$_] hunk ./configure.ac 905 - tools/c2hs/toplevel/C2HSConfig.hs hunk ./tools/c2hs/toplevel/C2HSConfig.hs 2 --- ** @configure_input@ ** hunk ./tools/c2hs/toplevel/C2HSConfig.hs 59 -cpp = "@CPP@" +cpp = _C2HS_CPP -- used to be: "@CPP@" hunk ./tools/c2hs/toplevel/C2HSConfig.hs 80 -dlsuffix = "@DLSUFFIX@" +dlsuffix = error "C2HSConfig.dlsuffix" -- used to be: "@DLSUFFIX@" |