This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
metaconfig unit change for #19334 and #19335.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 25 Apr 2003 19:50:54 +0000 (19:50 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 25 Apr 2003 19:50:54 +0000 (19:50 +0000)
p4raw-id: //depot/metaconfig@19336

U/perl/Extensions.U

index 4446f72..70bfe9a 100644 (file)
@@ -423,8 +423,17 @@ case "$noextensions" in
     ;;
 esac
 
+# Sanity check:  We require an extension suitable for use with
+# AnyDBM_File, as well as Fcntl and IO.  (Failure to have these
+# should show up as failures in the test suite, but it's helpful to
+# catch them now.) The 'extensions' list is normally sorted
+# alphabetically, so we need to accept either
+#    DB_File ... Fcntl ... IO  ....
+# or something like
+#    Fcntl ... NDBM_File ... IO  ....
 case "$extensions" in
 *"_File "*" Fcntl "*" IO "*) ;;
+*" Fcntl "*"_File "*" IO "*) ;;
 *) echo "WARNING: Extensions DB_File or *DBM_File, Fcntl, and IO not configured." >&4
    echo "WARNING: The Perl you are building will be quite crippled." >& 4
    ;;