Blame SOURCES/config.site

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