]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/autoconf/configure.in
bat: Display a nice graphic on media usage depending on the average
[bacula/bacula] / bacula / autoconf / configure.in
index 932888cc32dda44acf8b8f21a4e53547a417e54a..2f1a7fe0b109b8794853516391c9bbca03054c45 100644 (file)
@@ -225,8 +225,7 @@ dnl --includedir, we set it to the package default of /usr/include.
 dnl If either --prefix or --includedir is set, we leave includedir
 dnl alone except to eval it
 dnl ------------------------------------------------------------------
-os_name=`uname -s`
-os_processor=`uname -p`
+os_name=`uname -s 2>/dev/null`
 if test x${prefix} = xNONE ; then
    if test `eval echo ${sysconfdir}` = NONE/etc ; then
       sysconfdir=/etc/bacula
@@ -235,6 +234,7 @@ if test x${prefix} = xNONE ; then
    if test `eval echo ${libdir}` = NONE/lib ; then
       case ${os_name} in
       Linux)
+         os_processor=`uname -p 2>/dev/null`
          case ${os_processor} in
          x86_64)
             libdir=/usr/lib64