]> git.sur5r.net Git - bacula/bacula/commitdiff
Don't use uname -i but uname -p
authorMarco van Wieringen <mvw@planets.elm.net>
Mon, 19 Oct 2009 19:54:56 +0000 (21:54 +0200)
committerMarco van Wieringen <mvw@planets.elm.net>
Mon, 19 Oct 2009 19:54:56 +0000 (21:54 +0200)
bacula/autoconf/configure.in

index 2e66da1b30942748440e765c4eff39b9f5e13a0f..932888cc32dda44acf8b8f21a4e53547a417e54a 100644 (file)
@@ -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
             ;;