Blame SOURCES/config.site

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