SysV IPC semops use native shorts, not forced-to-16-bit-shorts.
[p5sagit/p5-mst-13.2.git] / myconfig.SH
index e80dfb5..3635dd7 100644 (file)
@@ -1,4 +1,4 @@
-case $CONFIGDOTSH in
+case $PERL_CONFIG_SH in
 '')
        if test -f config.sh; then TOP=.;
        elif test -f ../config.sh; then TOP=..;
@@ -12,6 +12,11 @@ case $CONFIGDOTSH in
        . $TOP/config.sh
        ;;
 esac
+if $test "$PERL_PATCHLEVEL" -gt 0 ; then
+    patchlevel=" patchlevel $PERL_PATCHLEVEL"
+else
+    patchlevel=""
+fi
 : This forces SH files to create target in same directory as SH file.
 : This is so that make depend always knows where to find SH derivatives.
 case "$0" in
@@ -27,7 +32,7 @@ $startsh
 
 # Note that the text lines /^Summary of/ .. /^\s*$/ are copied into Config.pm.
 cat <<'!NO!SUBS!'
-Summary of my $package (revision $baserev version $PERL_VERSION subversion $PERL_SUBVERSION) configuration:
+Summary of my $package (revision $baserev version $PERL_VERSION subversion $PERL_SUBVERSION$patchlevel) configuration:
   Platform:
     osname=$osname, osvers=$osvers, archname=$archname
     uname='$myuname'