Signed-off-by: Karel Zak <kzak@redhat.com>
# The original default vaues of bindir and sbindir:
usrbinexecdir = ${exec_prefix}/bin
usrsbinexecdir = ${exec_prefix}/sbin
+usrlibexecdir = ${exec_prefix}/$(libdirname)
AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include \
-DLOCALEDIR=\"$(localedir)\"
BLKID_VERSION=$BLKID_VERSION_MAJOR.$BLKID_VERSION_MINOR.$BLKID_VERSION_RELEASE
BLKID_VERSION_INFO=`expr $BLKID_VERSION_MAJOR + $BLKID_VERSION_MINOR`:$BLKID_VERSION_RELEASE:$BLKID_VERSION_MINOR
-
# Check whether exec_prefix=/usr:
case $exec_prefix:$prefix in
NONE:NONE | NONE:/usr | /usr:*)
esac ;;
esac
+# lib64
+case ${libdir} in
+ *lib64) libdirname=lib64 ;;
+ *) libdirname=lib
+esac
+AC_SUBST([libdirname])
+
AC_PROG_CC_STDC
AC_GNU_SOURCE
AC_CANONICAL_HOST