blob: 92392978fe1008a560d1be4ee83252b19207fceb [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
2
3# Local configure fragment for sysdeps/gnu.
4
5# The Filesystem Hierarchy Standard prescribes where to place "essential"
6# files. I.e., when the installation prefix is "/usr" we have to place
7# shared library objects and the configuration files on the root partition
8# in /lib and /etc.
9test -n "$libc_cv_slibdir" ||
10case "$prefix" in
11/usr | /usr/)
12 libc_cv_slibdir=/lib
13 libc_cv_rtlddir=/lib
14 if test "$libdir" = '${exec_prefix}/lib'; then
15 libdir='${exec_prefix}/lib';
16 # Locale data can be shared between 32-bit and 64-bit libraries.
17 libc_cv_localedir='${exec_prefix}/lib/locale'
18 fi
19 ;;
20esac
21case "$prefix" in
22/usr | /usr/)
23 # Allow the user to override the path with --sysconfdir.
24 if test "$sysconfdir" = '${prefix}/etc'; then
25 libc_cv_sysconfdir=/etc
26 else
27 libc_cv_sysconfdir=$sysconfdir
28 fi
29 # Allow the user to override the path with --localstatedir.
30 if test "$localstatedir" = '${prefix}/var'; then
31 libc_cv_localstatedir=/var
32 else
33 libc_cv_localstatedir=$localstatedir
34 fi
35 libc_cv_rootsbindir=/sbin
36 ;;
37esac