Blame sysdeps/gnu/configure.ac

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