bd627f
# This is the config.site file to satisfy FHS defaults when installing below
bd627f
# /usr.
bd627f
#
bd627f
# You may override this file by your config.site using the CONFIG_SITE env
bd627f
# variable.
bd627f
#
bd627f
# Note: This file includes also RHEL/Fedora fix for installing libraries into
bd627f
# "/lib/lib64" on 64bit systems.
bd627f
bd627f
if test "$prefix" = /usr; then
bd627f
    test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
bd627f
    test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var
bd627f
    test "$localstatedir" = '${prefix}/var' && localstatedir=/var
bd627f
bd627f
    ARCH=`uname -m`
bd627f
    for i in x86_64 ppc64 s390x aarch64; do
bd627f
        if test $ARCH = $i; then
bd627f
            test "$libdir" = '${exec_prefix}/lib' && libdir='${exec_prefix}/lib64'
bd627f
            break
bd627f
        fi
bd627f
    done
bd627f
fi