From b63bc204fbfebf4f3514093777b4411bfb4cd15d Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 1 Nov 2024 01:32:49 +0000 Subject: automatic import of autoconf --- config.site | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 config.site (limited to 'config.site') diff --git a/config.site b/config.site new file mode 100644 index 0000000..976734c --- /dev/null +++ b/config.site @@ -0,0 +1,18 @@ +# 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. + +# return when cross compiling +[ -n $host ] && return 0; + +if [ "$prefix" = /usr ] || [[ "$prefix" = NONE && "$ac_default_prefix" = /usr ]] +then + [ "$sysconfdir" = '${prefix}/etc' ] && sysconfdir=/etc + [ "$localstatedir" = '${prefix}/var' ] && localstatedir=/var + [ "$sharedstatedir" = '${prefix}/com' ] && sharedstatedir=/var + +# for x86_64 aarch64 + [ "$libdir" = '${exec_prefix}/lib' ] && libdir='${exec_prefix}/lib64' +fi -- cgit v1.2.3