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`
if test x${prefix} = xNONE ; then
if test `eval echo ${sysconfdir}` = NONE/etc ; then
sysconfdir=/etc/bacula
fi
if test `eval echo ${libdir}` = NONE/lib ; then
- libdir=/usr/lib
+ case ${os_name} in
+ Linux)
+ case ${os_hw_platform} in
+ x86_64)
+ libdir=/usr/lib64
+ ;;
+ *)
+ libdir=/usr/lib
+ ;;
+ esac
+ ;;
+ *)
+ libdir=/usr/lib
+ ;;
+ esac
fi
if test `eval echo ${includedir}` = NONE/include ; then