This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document MUTABLE_PTR, MUTABLE_AV, ...
[perl5.git] / Policy_sh.SH
old mode 100644 (file)
new mode 100755 (executable)
index aefa08f..1c99255
@@ -1,3 +1,5 @@
+#!/bin/sh
+
 case $PERL_CONFIG_SH in
 '') . ./config.sh ;;
 esac
@@ -120,12 +122,22 @@ esac
 
 !GROK!THIS!
 
+# Set the following variables.  Mention them here so metaconfig
+# includes the appropriate code in Configure
+#   $bin $scriptdir $privlib $archlib 
+#      $man1dir $man3dir $html1dir $html3dir 
+#   $sitebin $sitescript $sitelib $sitearch 
+#      $siteman1dir $siteman3dir $sitehtml1dir $sitehtml3dir
+#   $vendorbin $vendorscript $vendorlib $vendorarch
+#      $vendorman1dir $vendorman3dir $vendorhtml1dir $vendorhtml3dir
+
 for var in \
-       bin scriptdir privlib archlib man1dir man3dir html1dir html3dir \
+       bin scriptdir privlib archlib man1dir man3dir man1ext man3ext \
+       html1dir html3dir \
        sitebin sitescript sitelib sitearch \
-               siteman1 siteman3 sitehtml1 sitehtml3 \
+               siteman1dir siteman3dir sitehtml1dir sitehtml3dir \
        vendorbin vendorscript vendorlib vendorarch \
-               vendorman1 vendorman3 vendorhtml1 vendorhtml3
+               vendorman1dir vendorman3dir vendorhtml1dir vendorhtml3dir
 do
        
     case "$var" in
@@ -156,7 +168,7 @@ do
 
     # We don't know what to do with these yet.
     html1dir)  dflt='' ;;
-    htm31dir)  dflt='' ;;
+    html3dir)  dflt='' ;;
 
     # Directories for site-specific add-on files
     sitebin)   dflt=$siteprefix/bin ;;
@@ -175,11 +187,11 @@ do
        ;;
     sitearch)  dflt="$sitelib/$archname" ;;
 
-    siteman1 dflt="$siteprefix/man/man1" ;;
-    siteman3 dflt="$siteprefix/man/man3" ;;
+    siteman1dir) dflt="$siteprefix/man/man1" ;;
+    siteman3dir) dflt="$siteprefix/man/man3" ;;
     # We don't know what to do with these yet.
-    sitehtml1) dflt='' ;;
-    sitehtm31dir)      dflt='' ;;
+    sitehtml1dir)      dflt='' ;;
+    sitehtml3dir)      dflt='' ;;
     
     # Directories for vendor-supplied add-on files
     # These are all usually empty.
@@ -204,11 +216,11 @@ do
                ;;
            vendorarch) dflt="$vendorlib/$archname" ;;
 
-           vendorman1) dflt="$vendorprefix/man/man1" ;;
-           vendorman3) dflt="$vendorprefix/man/man3" ;;
+           vendorman1dir)      dflt="$vendorprefix/man/man1" ;;
+           vendorman3dir)      dflt="$vendorprefix/man/man3" ;;
            # We don't know what to do with these yet.
-           vendorhtml1)        dflt='' ;;
-           vendorhtm3) dflt='' ;;
+           vendorhtml1dir)     dflt='' ;;
+           vendorhtml3dir)     dflt='' ;;
 
            esac  # End of vendorprefix != ''
        fi