Refactor handling of /lib64 etc. cases, move out of sysdeps/gnu/configure.ac.
[glibc.git] / sysdeps / unix / sysv / linux / x86_64 / x32 / configure
blob6ff0f0ce3291643daa1b3d47134584675572ee91
1 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
2  # Local configure fragment for sysdeps/unix/sysv/linux/86_64/x32.
4 arch_minimum_kernel=3.4.0
6 test -n "$libc_cv_slibdir" ||
7 case "$prefix" in
8 /usr | /usr/)
9   libc_cv_slibdir=/libx32
10   libc_cv_rtlddir=/libx32
11   if test "$libdir" = '${exec_prefix}/lib'; then
12     libdir='${exec_prefix}/libx32';
13     # Locale data can be shared between 32-bit and 64-bit libraries.
14     libc_cv_localedir='${exec_prefix}/lib/locale'
15   fi
16   ;;
17 esac