From 393e8ba498eb9bdef0d32aa74ec21a2a039f31ea Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 5 Aug 2024 01:37:38 +0000 Subject: automatic import of autoconf --- config.site | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 config.site (limited to 'config.site') diff --git a/config.site b/config.site new file mode 100644 index 0000000..5bea225 --- /dev/null +++ b/config.site @@ -0,0 +1,29 @@ +# This is the config.site file to satisfy FHS defaults when installing below +# /usr. +# +# You may override this file by your config.site using the CONFIG_SITE env +# variable. +# +# Note: This file includes also RHEL/Fedora fix for installing libraries into +# "/lib/lib64" on 64bit systems. + +if test -n "$host"; then + # skip when cross-compiling + return 0 +fi + +if test "$prefix" = /usr \ + || { test "$prefix" = NONE && test "$ac_default_prefix" = /usr ; } +then + test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc + test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var + test "$localstatedir" = '${prefix}/var' && localstatedir=/var + + ARCH=`uname -m` + for i in x86_64 ppc64 s390x aarch64; do + if test $ARCH = $i; then + test "$libdir" = '${exec_prefix}/lib' && libdir='${exec_prefix}/lib64' + break + fi + done +fi -- cgit v1.2.3