Blame SPECS/config.site

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