]> sourceware.org Git - glibc.git/blame - sysdeps/gnu/configure
LIBC_SLIBDIR_RTLDDIR: substitute arguments in single quotes
[glibc.git] / sysdeps / gnu / configure
CommitLineData
cb8a6dbd 1# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
83a6b66a
AZ
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.
d95ffd4c
JM
9test -n "$libc_cv_slibdir" ||
10case "$prefix" in
11/usr | /usr/)
128c43a2
AS
12 libc_cv_slibdir='/lib'
13 libc_cv_rtlddir='/lib'
d95ffd4c
JM
14 if test "$libdir" = '${exec_prefix}/lib'; then
15 libdir='${exec_prefix}/lib';
16 # Locale data can be shared between 32-bit and 64-bit libraries.
90fe682d 17 libc_cv_complocaledir='${exec_prefix}/lib/locale'
d95ffd4c
JM
18 fi
19 ;;
20esac
83a6b66a
AZ
21case "$prefix" in
22/usr | /usr/)
83a6b66a
AZ
23 # Allow the user to override the path with --sysconfdir.
24 if test "$sysconfdir" = '${prefix}/etc'; then
25 libc_cv_sysconfdir=/etc
26 else
27 libc_cv_sysconfdir=$sysconfdir
28 fi
29 # Allow the user to override the path with --localstatedir.
30 if test "$localstatedir" = '${prefix}/var'; then
31 libc_cv_localstatedir=/var
32 else
33 libc_cv_localstatedir=$localstatedir
34 fi
35 libc_cv_rootsbindir=/sbin
36 ;;
37esac
This page took 0.196507 seconds and 5 git commands to generate.