[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
config.log: uname
From: |
Akim Demaille |
Subject: |
config.log: uname |
Date: |
24 Oct 2000 20:24:25 +0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
The aim of the following patch is to provide plenty of info on the
machine type. It's coming directly from config.guess.
/tmp % ace nostromo 19:42
/tmp % ./configure nostromo 19:42
/tmp % cat config.log nostromo 19:42
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure 2.49b, executed with
> ./configure
on nostromo:
uname -m = i686
uname -r = 2.2.17
uname -s = Linux
uname -v = #1 Sat Sep 9 12:42:22 EST 2000
/usr/bin/uname -p =
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = i686
/usr/bin/oslevel =
/usr/convex/getsysinfo =
configure: exit 0
Index: ChangeLog
from Akim Demaille <address@hidden>
* acgeneral.m4 (_AC_INIT_PREPARE_FDS): Give some information on
the host in config.log.
Index: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.590
diff -u -r1.590 acgeneral.m4
--- acgeneral.m4 2000/10/24 17:25:18 1.590
+++ acgeneral.m4 2000/10/24 17:59:59
@@ -1278,7 +1278,7 @@
# Name of the host.
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
-# so uname gets run too. Use two double quotes for font-lock.
+# so uname gets run too.
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
# Avoid depending upon Character Ranges.
@@ -1992,6 +1992,23 @@
It was created by configure ifset([AC_PACKAGE_STRING],
[(AC_PACKAGE_STRING)]) AC_ACVERSION, executed with
> $[0] $ac_configure_args
+
+on $ac_hostname:
+
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
+
+hostinfo = `(hostinfo) 2>/dev/null`
+/bin/universe = `(/bin/universe) 2>/dev/null`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
+/bin/arch = `(/bin/arch) 2>/dev/null`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
" >&AC_FD_LOG
])# _AC_INIT_PREPARE_FDS
- config.log: uname,
Akim Demaille <=