]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/perl/UCW/Configure/C.pm
Logging: Fixed formatting when we have neither log_title nor log_pid.
[libucw.git] / ucw / perl / UCW / Configure / C.pm
index 3e65c1f258228ac8c3388e9f1938470dcf358dc6..e3a7fdf859440f8b9d0187e3df3675b282f6241b 100644 (file)
@@ -261,6 +261,10 @@ if (IsSet("CONFIG_DARWIN")) {
        } else {
                UnSet("CONFIG_DIRECT_IO");
        }
+       if (!IsSet("CONFIG_POSIX_REGEX") && !IsSet("CONFIG_PCRE")) {
+               Set("CONFIG_POSIX_REGEX" => 1);
+               Warn "BSD regex library on Darwin isn't compatible, using POSIX regex.\n";
+       }
 }
 
 ### Writing C headers with configuration ###