Blame SOURCES/config.site

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