1GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. 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. 9LIBC_SLIBDIR_RTLDDIR([lib], [lib]) 10case "$prefix" in 11/usr | /usr/) 12 # Allow the user to override the path with --sysconfdir. 13 if test "$sysconfdir" = '${prefix}/etc'; then 14 libc_cv_sysconfdir=/etc 15 else 16 libc_cv_sysconfdir=$sysconfdir 17 fi 18 # Allow the user to override the path with --localstatedir. 19 if test "$localstatedir" = '${prefix}/var'; then 20 libc_cv_localstatedir=/var 21 else 22 libc_cv_localstatedir=$localstatedir 23 fi 24 libc_cv_rootsbindir=/sbin 25 ;; 26esac 27