On Wed 17 Mar 2004 16:39, Andrew Dougherty <[EMAIL PROTECTED]> wrote:
> I realized I still had this sitting in my "to-do" list. This just adds
> some comments to the Oldconfig.U unit about why we need to put in a
> special case for the Hurd, and why it doesn't just fall back correctly on
> the BSD-like behavior that I had expected.
>
> Sorry if this doesn't quite apply cleanly; I don't have a recent check-out
> of the metaconfig units, and the machine on which I used to do metaconfig
> work is in broken pieces on my lab table; I haven't quite gotten all the
> pieces back together on my replacement system (an old SPARC Ultra).
>
> --- U/modified/Oldconfig.U.old 2004-03-17 10:28:10.000000000 -0500
> +++ U/modified/Oldconfig.U 2004-03-17 10:27:25.000000000 -0500
> @@ -327,6 +327,12 @@
> freebsd) osname=freebsd
> osvers="$3" ;;
> genix) osname=genix ;;
> +?X:
> +?X: GNU/Hurd uname -a gives something like:
> +?X: GNU foo 0.3 GNU-Mach 1.4/Hurd-0.3 i386-AT386 GNU
> +?X: GNU gnu 0.3 GNUmach-1.2/Hurd-0.3 i386-AT386 GNU
> +?X: Note the hostname on the second one, which will fool Configure
> +?X: into using the SysV case!
> gnu) osname=gnu
> osvers="$3" ;;
> ?X: HP-UX uname -a gives something like
I already had applied this:
-->8---
Change 22311 by [EMAIL PROTECTED] on 2004/02/16 11:37:20
Hurd should understand gnu
From: "Brendan O'Dea" <[EMAIL PROTECTED]>
Date: Sun, 15 Feb 2004 23:27:17 +1100
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/metaconfig/U/modified/Oldconfig.U#25 edit
Differences ...
==== //depot/metaconfig/U/modified/Oldconfig.U#25 (text) ====
@@ -316,7 +316,7 @@
domainos) osname=apollo
osvers="$3"
;;
- dgux) osname=dgux
+ dgux) osname=dgux
osvers="$3"
;;
?X: uname -a returns
@@ -326,27 +326,29 @@
;;
freebsd) osname=freebsd
osvers="$3" ;;
- genix) osname=genix ;;
+ genix) osname=genix ;;
+ gnu) osname=gnu
+ osvers="$3" ;;
?X: HP-UX uname -a gives something like
?X: HP-UX foobar B.10.20 A 9000/735 2016483812 two-user license
?X: Preserve the full 10.20 string instead of the previous plain '10'.
?X: Thanks to Graham Barr. --AD 6/30/1998
- hp*) osname=hpux
+ hp*) osname=hpux
osvers=`echo "$3" | $sed 's,.*\.\([0-9]*\.[0-9]*\),\1,'`
;;
- irix*) osname=irix
+ irix*) osname=irix
case "$3" in
4*) osvers=4 ;;
5*) osvers=5 ;;
*) osvers="$3" ;;
esac
;;
- linux) osname=linux
+ linux) osname=linux
case "$3" in
*) osvers="$3" ;;
esac
;;
- MiNT) osname=mint
+ MiNT) osname=mint
;;
netbsd*) osname=netbsd
osvers="$3"
-->8---
but I'll add the comments, which I cannot remember having seen
--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on HP-UX 10.20 & 11.00, 11i,
AIX 4.3, SuSE 8.2, and Win2k. http://www.cmve.net/~merijn/
http://archives.develooper.com/[EMAIL PROTECTED]/ [EMAIL PROTECTED]
send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org