Blame SOURCES/config.site

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