summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKarel Zak2009-07-13 11:54:43 +0200
committerKarel Zak2009-07-13 11:54:43 +0200
commitcb5212e26515cea4a3c91260e8fbf9996f35d295 (patch)
tree1eff8a8d99b45d55255dce397870b3f1ca356838 /configure.ac
parentbuild-sys: fix typo from 30688dde55f637c9b984809c685b61378b82805f (diff)
downloadkernel-qcow2-util-linux-cb5212e26515cea4a3c91260e8fbf9996f35d295.tar.gz
kernel-qcow2-util-linux-cb5212e26515cea4a3c91260e8fbf9996f35d295.tar.xz
kernel-qcow2-util-linux-cb5212e26515cea4a3c91260e8fbf9996f35d295.zip
build-sys: improve $libdirname definition
Reported-by: Robert Förster <Dessa@gmake.de> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index eaca5063a..f352f88e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,11 +42,7 @@ NONE:NONE | NONE:/usr | /usr:*)
esac ;;
esac
-# lib64
-case ${libdir} in
- *lib64) libdirname=lib64 ;;
- *) libdirname=lib
-esac
+libdirname=`basename "$libdir"`
AC_SUBST([libdirname])
# The original default values of {bin,sbin,lib}dir