Blame sysdeps/gnu/configure.ac
|
Packit |
6c4009 |
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
# Local configure fragment for sysdeps/gnu.
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
# The Filesystem Hierarchy Standard prescribes where to place "essential"
|
|
Packit |
6c4009 |
# files. I.e., when the installation prefix is "/usr" we have to place
|
|
Packit |
6c4009 |
# shared library objects and the configuration files on the root partition
|
|
Packit |
6c4009 |
# in /lib and /etc.
|
|
Packit |
6c4009 |
LIBC_SLIBDIR_RTLDDIR([lib], [lib])
|
|
Packit |
6c4009 |
case "$prefix" in
|
|
Packit |
6c4009 |
/usr | /usr/)
|
|
Packit |
6c4009 |
# Allow the user to override the path with --sysconfdir.
|
|
Packit |
6c4009 |
if test "$sysconfdir" = '${prefix}/etc'; then
|
|
Packit |
6c4009 |
libc_cv_sysconfdir=/etc
|
|
Packit |
6c4009 |
else
|
|
Packit |
6c4009 |
libc_cv_sysconfdir=$sysconfdir
|
|
Packit |
6c4009 |
fi
|
|
Packit |
6c4009 |
# Allow the user to override the path with --localstatedir.
|
|
Packit |
6c4009 |
if test "$localstatedir" = '${prefix}/var'; then
|
|
Packit |
6c4009 |
libc_cv_localstatedir=/var
|
|
Packit |
6c4009 |
else
|
|
Packit |
6c4009 |
libc_cv_localstatedir=$localstatedir
|
|
Packit |
6c4009 |
fi
|
|
Packit |
6c4009 |
libc_cv_rootsbindir=/sbin
|
|
Packit |
6c4009 |
;;
|
|
Packit |
6c4009 |
esac
|