--- trunk/perl/Makefile.PL 2005/09/03 18:44:12 3 +++ trunk/perl/Makefile.PL 2005/09/08 16:50:39 10 @@ -1,5 +1,12 @@ # File : Makefile.PL use ExtUtils::MakeMaker; + +system 'swig -c++ -perl5 -o HyperEstraier_wrap.cpp ../HyperEstraier.i'; +if ($?){ + print "error while generating SWIG wrappers: $!\n"; + exit; +} + WriteMakefile( NAME => 'HyperEstraier', INC => sprintf('%s', `pkg-config --cflags hyperestraier || estconfig --cflags`),