This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't propose using modules built for 5.005 if no binary
[metaconfig.git] / U / installdirs / inc_version_list.U
index bb0e000..0775bea 100644 (file)
@@ -11,7 +11,8 @@
 ?RCS: $Log: inc_version_list.U,v $
 ?RCS:
 ?MAKE:inc_version_list inc_version_list_init: cat sed Getfile perl5 \
-       version api_versionstring rm Myread archname prefix sitelib_stem
+       version api_versionstring rm Myread archname prefix sitelib_stem \
+       bincompat5005
 ?MAKE: -pick add $@ %<
 ?Y:TOP
 ?S:inc_version_list:
@@ -108,6 +109,13 @@ esac
 case "$dflt" in
 ''|' ') dflt=none ;;
 esac
+case "$dflt" in
+5.005) case "$bincompat5005" in
+       $define|true|[yY]*) ;;
+       *) dflt=none ;;
+       esac
+       ;;
+esac
 $cat <<'EOM'
 
 In order to ease the process of upgrading, this version of perl