Move all files into ports/ subdirectory in preparation for merge with glibc
[glibc.git] / ports / sysdeps / unix / sysv / linux / mips / configure.in
blob466a349fc50d709f78eea29c6684157d991e18fe
1 sinclude(./aclocal.m4)dnl Autoconf lossage
2 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
3 # Local configure fragment for sysdeps/unix/sysv/linux/mips.
5 case "$prefix" in
6 /usr | /usr/)
7   # 64-bit libraries on bi-arch platforms go in /lib64 instead of /lib.
8   # Allow earlier configure scripts to handle libc_cv_slibdir, libdir,
9   # and libc_cv_localedir.
10   test -n "$libc_cv_slibdir" || \
11   case $machine in
12   mips/mips64/n64/* )
13     libc_cv_slibdir="/lib64"
14     if test "$libdir" = '${exec_prefix}/lib'; then
15       libdir='${exec_prefix}/lib64';
16       # Locale data can be shared between 32bit and 64bit libraries
17       libc_cv_localedir='${exec_prefix}/lib/locale'
18     fi
19     ;;
20   mips/mips64/n32/* )
21     libc_cv_slibdir="/lib32"
22     if test "$libdir" = '${exec_prefix}/lib'; then
23       libdir='${exec_prefix}/lib32';
24       # Locale data can be shared between 32bit and 64bit libraries
25       libc_cv_localedir='${exec_prefix}/lib/locale'
26     fi
27     ;;
28   *)
29     libc_cv_slibdir="/lib"
30     ;;
31   esac
32 esac
34 if test -z "$arch_minimum_kernel"; then
35   arch_minimum_kernel=2.6.12
36   libc_cv_gcc_unwind_find_fde=yes