dev version numbers, xs and warnings dont play together nicely, so use MM->parse_vers...
[p5sagit/p5-mst-13.2.git] / ext / GDBM_File / Makefile.PL
index 5c4f2d5..1286dcd 100644 (file)
@@ -7,6 +7,7 @@ WriteMakefile(
     XSPROTOARG => '-noprototypes',             # XXX remove later?
     VERSION_FROM => 'GDBM_File.pm',
     realclean => {FILES=> 'const-c.inc const-xs.inc'},
+    XS_VERSION => eval MM->parse_version('GDBM_File.pm'), #silence warnings if we are a dev release
 );
 WriteConstants(
     NAME => 'GDBM_File',