configure.ac 842 B

1234567891011121314151617181920212223242526
  1. GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
  2. # Local configure fragment for sysdeps/gnu.
  3. # The Filesystem Hierarchy Standard prescribes where to place "essential"
  4. # files. I.e., when the installation prefix is "/usr" we have to place
  5. # shared library objects and the configuration files on the root partition
  6. # in /lib and /etc.
  7. LIBC_SLIBDIR_RTLDDIR([lib], [lib])
  8. case "$prefix" in
  9. /usr | /usr/)
  10. # Allow the user to override the path with --sysconfdir.
  11. if test "$sysconfdir" = '${prefix}/etc'; then
  12. libc_cv_sysconfdir=/etc
  13. else
  14. libc_cv_sysconfdir=$sysconfdir
  15. fi
  16. # Allow the user to override the path with --localstatedir.
  17. if test "$localstatedir" = '${prefix}/var'; then
  18. libc_cv_localstatedir=/var
  19. else
  20. libc_cv_localstatedir=$localstatedir
  21. fi
  22. libc_cv_rootsbindir=/sbin
  23. ;;
  24. esac