summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-11-05 17:19:48 +0000
committerTim Potter <tpot@samba.org>2003-11-05 17:19:48 +0000
commit8e7a77157778d187c25a65c76a4382e60758bccb (patch)
tree584afcf0cb1513266da9a21444af0070059a86dd /source3/configure.in
parentc4029527ef5d30d613e4c47f12fa5574eb9f0eb6 (diff)
downloadsamba-8e7a77157778d187c25a65c76a4382e60758bccb.tar.gz
samba-8e7a77157778d187c25a65c76a4382e60758bccb.tar.bz2
samba-8e7a77157778d187c25a65c76a4382e60758bccb.zip
Merge of uname cleanups from 3.0
(This used to be commit e7e17e6b4a6727088b0ea763db673de8035f2094)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 804740b753..0a6005b28f 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -266,19 +266,19 @@ if test x"$samba_cv_volatile" = x"yes"; then
AC_DEFINE(HAVE_VOLATILE, 1, [Whether the C compiler understands volatile])
fi
-UNAME_S=`uname -s`
+UNAME_S=`(uname -s) 2>/dev/null` || UNAME_S="unknown"
AC_MSG_CHECKING(uname -s)
AC_MSG_RESULT(${UNAME_S})
-UNAME_R=`uname -r`
+UNAME_R=`(uname -r) 2>/dev/null` || UNAME_R="unknown"
AC_MSG_CHECKING(uname -r)
AC_MSG_RESULT(${UNAME_R})
-UNAME_M=`uname -m`
+UNAME_M=`(uname -m) 2>/dev/null` || UNAME_M="unknown"
AC_MSG_CHECKING(uname -m)
AC_MSG_RESULT(${UNAME_M})
-UNAME_P=`uname -p`
+UNAME_P=`(uname -p) 2>/dev/null` || UNAME_P="unknown"
AC_MSG_CHECKING(uname -p)
AC_MSG_RESULT(${UNAME_P})