Integrate mainline
[p5sagit/p5-mst-13.2.git] / ext / File / Glob / Makefile.PL
index 0ff49eb..a24b663 100644 (file)
@@ -1,11 +1,11 @@
 use ExtUtils::MakeMaker;
-use ExtUtils::Constant 0.08 'WriteConstants';
+use ExtUtils::Constant 0.11 'WriteConstants';
 WriteMakefile(
     NAME               => 'File::Glob',
     VERSION_FROM       => 'Glob.pm',
     MAN3PODS           => {},     # Pods will be built by installman.
     OBJECT             => 'bsd_glob$(OBJ_EXT) Glob$(OBJ_EXT)',
-    realclean => {FILES=> 'constants.c constants.xs'},
+    realclean => {FILES=> 'const-c.inc const-xs.inc'},
 
 ## uncomment for glob debugging (will cause make test to fail)
 #   DEFINE             => '-DGLOB_DEBUG',
@@ -26,7 +26,7 @@ WriteConstants(
     NAME => 'File::Glob',
     NAMES => [qw(GLOB_ABEND GLOB_ALPHASORT GLOB_ALTDIRFUNC GLOB_BRACE GLOB_ERR
                  GLOB_LIMIT GLOB_MARK GLOB_NOCASE GLOB_NOCHECK GLOB_NOMAGIC
-                 GLOB_NOSORT GLOB_NOSPACE GLOB_QUOTE GLOB_TILDE),
+                 GLOB_NOSORT GLOB_NOSPACE GLOB_QUOTE GLOB_TILDE GLOB_UTF8),
               {name=>"GLOB_ERROR", macro=>["#ifdef GLOB_ERROR\n\tdMY_CXT;\n\n","#endif\n"]}],
     BREAKOUT_AT => 8,
 );