I think the problem is not depending from sed. using a x86 envinronment of mine, swig-1.3.29 configures correctly. so the problem is specific of my x86_64 system (I need it to work, in this moment). log output of ./configure command are very similar in x86 and x86_64 envinronments.