1 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
3 # Local configure fragment for sysdeps/gnu.
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
11 # 64-bit libraries on bi-arch platforms go in /lib64 instead of /lib.
12 # Allow earlier configure scripts to handle libc_cv_slibdir, libdir,
13 # and libc_cv_localedir.
14 test -n "$libc_cv_slibdir" || \
16 sparc/sparc64 | x86_64* | powerpc/powerpc64 | s390/s390-64)
17 libc_cv_slibdir=/lib64
18 if test "$libdir" = '${exec_prefix}/lib'; then
19 libdir='${exec_prefix}/lib64';
20 # Locale data can be shared between 32bit and 64bit libraries
21 libc_cv_localedir='${exec_prefix}/lib/locale'
28 # Allow the user to override the path with --sysconfdir.
29 if test "$sysconfdir" = '${prefix}/etc'; then
30 libc_cv_sysconfdir=/etc
32 libc_cv_sysconfdir=$sysconfdir
34 # Allow the user to override the path with --localstatedir.
35 if test "$localstatedir" = '${prefix}/var'; then
36 libc_cv_localstatedir=/var
38 libc_cv_localstatedir=$localstatedir
40 libc_cv_rootsbindir=/sbin