From 7d336df5c9ddc4586ce2ee79e39795f24474d8bb Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 21 Oct 2009 14:24:47 +0200 Subject: [PATCH] Make new configure per Marco's request --- bacula/configure | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/bacula/configure b/bacula/configure index 0d5a6cef40..8f2a04e19d 100755 --- a/bacula/configure +++ b/bacula/configure @@ -18322,13 +18322,29 @@ _ACEOF +os_name=`uname -s 2>/dev/null` 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) + os_processor=`uname -p 2>/dev/null` + case ${os_processor} in + x86_64) + libdir=/usr/lib64 + ;; + *) + libdir=/usr/lib + ;; + esac + ;; + *) + libdir=/usr/lib + ;; + esac fi if test `eval echo ${includedir}` = NONE/include ; then -- 2.39.5