summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2011-09-11 17:59:33 +0200
committerSamuel Lidén Borell <samuel@slbdata.se>2011-09-11 18:00:40 +0200
commit66ab1f232e64447d3bf221d3a3c6a22addb97d3e (patch)
tree8b53186d40593b298d03a78dde39337c9c6a5afb /configure
parent623aba11cedc27556bf71d9ad04217e2984b94c4 (diff)
downloadfribid-66ab1f232e64447d3bf221d3a3c6a22addb97d3e.tar.gz
fribid-66ab1f232e64447d3bf221d3a3c6a22addb97d3e.tar.bz2
fribid-66ab1f232e64447d3bf221d3a3c6a22addb97d3e.zip
More reliable detection of native library path (lib or lib64)
Detects 64-bit Fedora properly again.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 0a35902..0ad3e24 100755
--- a/configure
+++ b/configure
@@ -25,7 +25,8 @@ prefixSet=""
prefix="/usr/local"
execprefix=""
-if [ ! -h /usr/lib64 ] && [ -f /usr/lib64/libc.so ]; then
+if ( [ ! -h /usr/lib64 ] && [ -f /usr/lib64/libc.so ] && [ ! -d /usr/lib32 ] ) ||
+ ( [ ! -h /lib64 ] && [ -f /lib64/libc.so.6 ] && [ ! -d /usr/lib32 ] ); then
multilib="lib64"
else
multilib="lib"