PowerPC: Define AT_HWCAP2 bits and AT_HWCAP2 handling for POWER8.
[glibc.git] / sysdeps / gnu / configure
blob26327ca3b4f3e505c9f797b8df1e7d856007e3e5
1 # This file is generated from configure.in by Autoconf.  DO NOT EDIT!
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, libdir,
13   # 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     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'
22     fi
23     ;;
24   *)
25     libc_cv_slibdir=/lib
26     ;;
27   esac
28   # Allow the user to override the path with --sysconfdir.
29   if test "$sysconfdir" = '${prefix}/etc'; then
30     libc_cv_sysconfdir=/etc
31   else
32     libc_cv_sysconfdir=$sysconfdir
33    fi
34   # Allow the user to override the path with --localstatedir.
35   if test "$localstatedir" = '${prefix}/var'; then
36     libc_cv_localstatedir=/var
37   else
38     libc_cv_localstatedir=$localstatedir
39    fi
40   libc_cv_rootsbindir=/sbin
41   ;;
42 esac