Define MMAP2_PAGE_SHIFT to -1 for m68k.
[glibc.git] / sysdeps / gnu / configure.in
blobce251df0c5277b24e303b9a218a6f234ba21c33c
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
8 # in /lib and /etc.
9 case "$prefix" in
10 /usr | /usr/)
11   # 64-bit libraries on bi-arch platforms go in /lib64 instead of /lib.
12   # Allow earlier configure scripts to handle libc_cv_slibdir,
13   # libc_cv_rtlddir, libdir, and libc_cv_localedir.
14   test -n "$libc_cv_slibdir" || \
15   case $machine in
16   sparc/sparc64 | x86_64* | powerpc/powerpc64 | s390/s390-64)
17     libc_cv_slibdir=/lib64
18     case $machine in
19     s390/s390-64)
20       libc_cv_rtlddir=/lib
21       ;;
22     esac
23     if test "$libdir" = '${exec_prefix}/lib'; then
24       libdir='${exec_prefix}/lib64';
25       # Locale data can be shared between 32bit and 64bit libraries
26       libc_cv_localedir='${exec_prefix}/lib/locale'
27     fi
28     ;;
29   *)
30     libc_cv_slibdir=/lib
31     ;;
32   esac
33   # Allow the user to override the path with --sysconfdir.
34   if test "$sysconfdir" = '${prefix}/etc'; then
35     libc_cv_sysconfdir=/etc
36   else
37     libc_cv_sysconfdir=$sysconfdir
38    fi
39   # Allow the user to override the path with --localstatedir.
40   if test "$localstatedir" = '${prefix}/var'; then
41     libc_cv_localstatedir=/var
42   else
43     libc_cv_localstatedir=$localstatedir
44    fi
45   libc_cv_rootsbindir=/sbin
46   ;;
47 esac