diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-04-08 10:45:00 +1000 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-04-08 10:45:00 +1000 |
commit | 976e76f408cae59632082fa5ab520bf759a833dd (patch) | |
tree | 8a93d16f52e3e4df067ad848d6a3848d05edd615 /ctdb/configure.ac | |
parent | 62afe2ff71b3d41eb6ad308e4dc26d4551125127 (diff) | |
download | samba-976e76f408cae59632082fa5ab520bf759a833dd.tar.gz |
set libdir to ../lib64 on x86-64 platforms
(This used to be ctdb commit a9f851caec2525ccbb3a6d6283eaef52b89a4eb2)
Diffstat (limited to 'ctdb/configure.ac')
-rw-r--r-- | ctdb/configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ctdb/configure.ac b/ctdb/configure.ac index b4d5ace5000..a7bd2bb8d49 100644 --- a/ctdb/configure.ac +++ b/ctdb/configure.ac @@ -14,6 +14,15 @@ AC_DEFUN([SMB_ENABLE], [echo -n ""]) AC_INIT(ctdb.h) AC_CONFIG_SRCDIR([server/ctdbd.c]) +case `uname -m` in + x86_64) + libdir='${exec_prefix}/lib64' + ;; + *) + libdir='${exec_prefix}/lib' + ;; +esac + case `uname` in Linux*) CTDB_SYSTEM_OBJ=common/system_linux.o |