Blame SOURCES/config.site

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