can you give us a diff on Makefile.in ... not on Makefile and not a paste of the file.. we want a diff..
to do so, do a copy of Makefile.in into for example Makefile.in_orig. Then modify the Makefile.in and launch ./configure for it to generate the Makefile from the Makefile.in file.. then if your modifications work, do a
diff Makefile.in_orig Makefile.in