we know it works. This is probably the most portable way of doing things.
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
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