X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Configure;h=0dbe17c8fe86b6e02fa81abca4c6b6598734d68a;hb=6b8afdafd43a19a5a652c59255c9895c9bcbe27b;hp=64dd01cf516f3b3d15dca373c8c36349818c78d3;hpb=46fc3d4c69a0adf236bfcba70daee7fd597cf30d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/Configure b/Configure index 64dd01c..0dbe17c 100755 --- a/Configure +++ b/Configure @@ -8256,13 +8256,17 @@ $define) #include main() { -#ifdef DB_VERSION_MAJOR +#ifdef DB_VERSION_MAJOR /* DB version >= 2: not yet. */ printf("You have Berkeley DB Version %d.%d\n", DB_VERSION_MAJOR, DB_VERSION_MINOR); printf("Perl currently only supports up to version 1.86.\n"); - exit(1); + exit(2); #else - exit(0); +#if defined(_DB_H_) && defined(BTREEMAGIC) && defined(HASHMAGIC) + exit(0); /* DB version < 2: the coast is clear. */ +#else + exit(1); /* not Berkeley DB? */ +#endif #endif } EOCP