From f8866fdf460856f3cff0b57899a422496b239162 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Mon, 19 Oct 2009 21:54:56 +0200 Subject: [PATCH] Don't use uname -i but uname -p --- bacula/autoconf/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 2e66da1b30..932888cc32 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -226,7 +226,7 @@ dnl If either --prefix or --includedir is set, we leave includedir dnl alone except to eval it dnl ------------------------------------------------------------------ os_name=`uname -s` -os_hw_platform=`uname -i` +os_processor=`uname -p` if test x${prefix} = xNONE ; then if test `eval echo ${sysconfdir}` = NONE/etc ; then sysconfdir=/etc/bacula @@ -235,7 +235,7 @@ if test x${prefix} = xNONE ; then if test `eval echo ${libdir}` = NONE/lib ; then case ${os_name} in Linux) - case ${os_hw_platform} in + case ${os_processor} in x86_64) libdir=/usr/lib64 ;; -- 2.39.5