Use OSVERS.
Jarkko Hietaniemi [Wed, 16 May 2001 13:41:35 +0000 (13:41 +0000)]
p4raw-id: //depot/perl@10125

Configure
config_h.SH
perl.c

index 55641a8..e228bce 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
 
 # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
 #
-# Generated on Tue May 15 16:44:30 EET DST 2001 [metaconfig 3.0 PL70]
+# Generated on Wed May 16 17:18:11 EET DST 2001 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by perlbug@perl.org)
 
 cat >c1$$ <<EOF
index 2ae994c..c0a9146 100644 (file)
@@ -1062,15 +1062,13 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  *     by Configure.  You shouldn't rely on it too much; the specific
  *     feature tests from Configure are generally more reliable.
  */
-#define OSNAME "$osname"               /**/
-
-/* OSVERSION:
- *     <takis@xfree86.org>
+/* OSVERS:
  *     This symbol contains the version of the operating system, as determined
  *     by Configure.  You shouldn't rely on it too much; the specific
  *     feature tests from Configure are generally more reliable.
  */
-#define OSVERSION "$osvers"            /**/
+#define OSNAME "$osname"               /**/
+#define OSVERS "$osvers"               /**/
 
 /* MEM_ALIGNBYTES:
  *     This symbol contains the number of bytes required to align a
diff --git a/perl.c b/perl.c
index 1b60d66..64aa4c9 100644 (file)
--- a/perl.c
+++ b/perl.c
@@ -2300,7 +2300,7 @@ Perl_moreswitches(pTHX_ char *s)
                                        OSNAME, __DATE__, __TIME__));
        PerlIO_printf(PerlIO_stdout(),
                        Perl_form(aTHX_ "        OS Specific Release: %s\n",
-                                       OSVERSION));
+                                       OSVERS));
 #endif /* !DGUX */
 
 #if defined(LOCAL_PATCH_COUNT)