autoconf/config.site

19 lines
608 B
Plaintext
Raw Normal View History

2020-01-08 16:21:10 +08:00
# 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.
2019-11-06 19:02:21 +08:00
2020-01-08 16:21:10 +08:00
# return when cross compiling
[ -n $host ] && return 0;
2019-11-06 19:02:21 +08:00
2020-01-08 16:21:10 +08:00
if [ "$prefix" = /usr ] || [[ "$prefix" = NONE && "$ac_default_prefix" = /usr ]]
2019-11-06 19:02:21 +08:00
then
2020-01-08 16:21:10 +08:00
[ "$sysconfdir" = '${prefix}/etc' ] && sysconfdir=/etc
[ "$localstatedir" = '${prefix}/var' ] && localstatedir=/var
[ "$sharedstatedir" = '${prefix}/com' ] && sharedstatedir=/var
2019-11-06 19:02:21 +08:00
2020-01-08 16:21:10 +08:00
# for x86_64 aarch64
[ "$libdir" = '${exec_prefix}/lib' ] && libdir='${exec_prefix}/lib64'
2019-11-06 19:02:21 +08:00
fi