From cb8a6dbd176ee59d61068bed92e2c8d22bd28b13 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 30 Oct 2013 13:20:52 +1000 Subject: rename configure.in to configure.ac Autoconf has been deprecating configure.in for quite a long time. Rename all our configure.in and preconfigure.in files to .ac. Signed-off-by: Mike Frysinger --- ports/sysdeps/unix/sysv/linux/aarch64/configure | 2 +- ports/sysdeps/unix/sysv/linux/aarch64/configure.ac | 17 ++++ ports/sysdeps/unix/sysv/linux/aarch64/configure.in | 17 ---- ports/sysdeps/unix/sysv/linux/alpha/configure | 2 +- ports/sysdeps/unix/sysv/linux/alpha/configure.ac | 5 ++ ports/sysdeps/unix/sysv/linux/alpha/configure.in | 5 -- ports/sysdeps/unix/sysv/linux/am33/configure | 2 +- ports/sysdeps/unix/sysv/linux/am33/configure.ac | 4 + ports/sysdeps/unix/sysv/linux/am33/configure.in | 4 - ports/sysdeps/unix/sysv/linux/arm/configure | 4 +- ports/sysdeps/unix/sysv/linux/arm/configure.ac | 6 ++ ports/sysdeps/unix/sysv/linux/arm/configure.in | 6 -- ports/sysdeps/unix/sysv/linux/arm/nptl/configure | 2 +- .../sysdeps/unix/sysv/linux/arm/nptl/configure.ac | 8 ++ .../sysdeps/unix/sysv/linux/arm/nptl/configure.in | 8 -- ports/sysdeps/unix/sysv/linux/ia64/configure | 2 +- ports/sysdeps/unix/sysv/linux/ia64/configure.ac | 4 + ports/sysdeps/unix/sysv/linux/ia64/configure.in | 4 - ports/sysdeps/unix/sysv/linux/m68k/configure | 2 +- ports/sysdeps/unix/sysv/linux/m68k/configure.ac | 10 +++ ports/sysdeps/unix/sysv/linux/m68k/configure.in | 10 --- ports/sysdeps/unix/sysv/linux/microblaze/configure | 2 +- .../unix/sysv/linux/microblaze/configure.ac | 4 + .../unix/sysv/linux/microblaze/configure.in | 4 - ports/sysdeps/unix/sysv/linux/mips/configure | 2 +- ports/sysdeps/unix/sysv/linux/mips/configure.ac | 99 ++++++++++++++++++++++ ports/sysdeps/unix/sysv/linux/mips/configure.in | 99 ---------------------- .../sysdeps/unix/sysv/linux/mips/mips64/configure | 2 +- .../unix/sysv/linux/mips/mips64/configure.ac | 5 ++ .../unix/sysv/linux/mips/mips64/configure.in | 5 -- ports/sysdeps/unix/sysv/linux/tile/configure | 2 +- ports/sysdeps/unix/sysv/linux/tile/configure.ac | 4 + ports/sysdeps/unix/sysv/linux/tile/configure.in | 4 - .../sysdeps/unix/sysv/linux/tile/tilegx/configure | 2 +- .../unix/sysv/linux/tile/tilegx/configure.ac | 4 + .../unix/sysv/linux/tile/tilegx/configure.in | 4 - 36 files changed, 183 insertions(+), 183 deletions(-) create mode 100644 ports/sysdeps/unix/sysv/linux/aarch64/configure.ac delete mode 100644 ports/sysdeps/unix/sysv/linux/aarch64/configure.in create mode 100644 ports/sysdeps/unix/sysv/linux/alpha/configure.ac delete mode 100644 ports/sysdeps/unix/sysv/linux/alpha/configure.in create mode 100644 ports/sysdeps/unix/sysv/linux/am33/configure.ac delete mode 100644 ports/sysdeps/unix/sysv/linux/am33/configure.in create mode 100644 ports/sysdeps/unix/sysv/linux/arm/configure.ac delete mode 100644 ports/sysdeps/unix/sysv/linux/arm/configure.in create mode 100644 ports/sysdeps/unix/sysv/linux/arm/nptl/configure.ac delete mode 100644 ports/sysdeps/unix/sysv/linux/arm/nptl/configure.in create mode 100644 ports/sysdeps/unix/sysv/linux/ia64/configure.ac delete mode 100644 ports/sysdeps/unix/sysv/linux/ia64/configure.in create mode 100644 ports/sysdeps/unix/sysv/linux/m68k/configure.ac delete mode 100644 ports/sysdeps/unix/sysv/linux/m68k/configure.in create mode 100644 ports/sysdeps/unix/sysv/linux/microblaze/configure.ac delete mode 100644 ports/sysdeps/unix/sysv/linux/microblaze/configure.in create mode 100644 ports/sysdeps/unix/sysv/linux/mips/configure.ac delete mode 100644 ports/sysdeps/unix/sysv/linux/mips/configure.in create mode 100644 ports/sysdeps/unix/sysv/linux/mips/mips64/configure.ac delete mode 100644 ports/sysdeps/unix/sysv/linux/mips/mips64/configure.in create mode 100644 ports/sysdeps/unix/sysv/linux/tile/configure.ac delete mode 100644 ports/sysdeps/unix/sysv/linux/tile/configure.in create mode 100644 ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.ac delete mode 100644 ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.in (limited to 'ports/sysdeps/unix/sysv') diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/configure b/ports/sysdeps/unix/sysv/linux/aarch64/configure index 6b2608acd7..20593c7bb0 100644 --- a/ports/sysdeps/unix/sysv/linux/aarch64/configure +++ b/ports/sysdeps/unix/sysv/linux/aarch64/configure @@ -1,4 +1,4 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux/aarch64. arch_minimum_kernel=3.7.0 diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/configure.ac b/ports/sysdeps/unix/sysv/linux/aarch64/configure.ac new file mode 100644 index 0000000000..b090702134 --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/aarch64/configure.ac @@ -0,0 +1,17 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/unix/sysv/linux/aarch64. + +arch_minimum_kernel=3.7.0 + +test -n "$libc_cv_slibdir" || +case "$prefix" in + /usr | /usr/) + libc_cv_slibdir="/lib64" + libc_cv_rtlddir="/lib" + if test "$libdir" = '${exec_prefix}/lib'; then + libdir='${exec_prefix}/lib64'; + # Locale data can be shared between 32bit and 64bit libraries + libc_cv_localedir='${exec_prefix}/lib/locale' + fi + ;; +esac diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/configure.in b/ports/sysdeps/unix/sysv/linux/aarch64/configure.in deleted file mode 100644 index b090702134..0000000000 --- a/ports/sysdeps/unix/sysv/linux/aarch64/configure.in +++ /dev/null @@ -1,17 +0,0 @@ -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for sysdeps/unix/sysv/linux/aarch64. - -arch_minimum_kernel=3.7.0 - -test -n "$libc_cv_slibdir" || -case "$prefix" in - /usr | /usr/) - libc_cv_slibdir="/lib64" - libc_cv_rtlddir="/lib" - if test "$libdir" = '${exec_prefix}/lib'; then - libdir='${exec_prefix}/lib64'; - # Locale data can be shared between 32bit and 64bit libraries - libc_cv_localedir='${exec_prefix}/lib/locale' - fi - ;; -esac diff --git a/ports/sysdeps/unix/sysv/linux/alpha/configure b/ports/sysdeps/unix/sysv/linux/alpha/configure index b5df524c1c..9afb5874cb 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/configure +++ b/ports/sysdeps/unix/sysv/linux/alpha/configure @@ -1,4 +1,4 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux/alpha # We did historically export the unwinder from glibc. diff --git a/ports/sysdeps/unix/sysv/linux/alpha/configure.ac b/ports/sysdeps/unix/sysv/linux/alpha/configure.ac new file mode 100644 index 0000000000..a8b6996657 --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/alpha/configure.ac @@ -0,0 +1,5 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/unix/sysv/linux/alpha + +# We did historically export the unwinder from glibc. +libc_cv_gcc_unwind_find_fde=yes diff --git a/ports/sysdeps/unix/sysv/linux/alpha/configure.in b/ports/sysdeps/unix/sysv/linux/alpha/configure.in deleted file mode 100644 index a8b6996657..0000000000 --- a/ports/sysdeps/unix/sysv/linux/alpha/configure.in +++ /dev/null @@ -1,5 +0,0 @@ -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for sysdeps/unix/sysv/linux/alpha - -# We did historically export the unwinder from glibc. -libc_cv_gcc_unwind_find_fde=yes diff --git a/ports/sysdeps/unix/sysv/linux/am33/configure b/ports/sysdeps/unix/sysv/linux/am33/configure index 870c6a7929..c916a321ca 100644 --- a/ports/sysdeps/unix/sysv/linux/am33/configure +++ b/ports/sysdeps/unix/sysv/linux/am33/configure @@ -1,4 +1,4 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for am33/sysdeps/unix/sysv/linux/am33 arch_minimum_kernel=2.6.25 diff --git a/ports/sysdeps/unix/sysv/linux/am33/configure.ac b/ports/sysdeps/unix/sysv/linux/am33/configure.ac new file mode 100644 index 0000000000..43e33f74ca --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/am33/configure.ac @@ -0,0 +1,4 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for am33/sysdeps/unix/sysv/linux/am33 + +arch_minimum_kernel=2.6.25 diff --git a/ports/sysdeps/unix/sysv/linux/am33/configure.in b/ports/sysdeps/unix/sysv/linux/am33/configure.in deleted file mode 100644 index 43e33f74ca..0000000000 --- a/ports/sysdeps/unix/sysv/linux/am33/configure.in +++ /dev/null @@ -1,4 +0,0 @@ -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for am33/sysdeps/unix/sysv/linux/am33 - -arch_minimum_kernel=2.6.25 diff --git a/ports/sysdeps/unix/sysv/linux/arm/configure b/ports/sysdeps/unix/sysv/linux/arm/configure index f66b158289..71eb195942 100644 --- a/ports/sysdeps/unix/sysv/linux/arm/configure +++ b/ports/sysdeps/unix/sysv/linux/arm/configure @@ -1,6 +1,6 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux/arm. libc_cv_gcc_unwind_find_fde=no -# Remove -fno-unwind-tables that was added in sysdeps/arm/preconfigure.in. +# Remove -fno-unwind-tables that was added in sysdeps/arm/preconfigure.ac. CFLAGS=${CFLAGS% -fno-unwind-tables} diff --git a/ports/sysdeps/unix/sysv/linux/arm/configure.ac b/ports/sysdeps/unix/sysv/linux/arm/configure.ac new file mode 100644 index 0000000000..8e4e20d2b8 --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/arm/configure.ac @@ -0,0 +1,6 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/unix/sysv/linux/arm. + +libc_cv_gcc_unwind_find_fde=no +# Remove -fno-unwind-tables that was added in sysdeps/arm/preconfigure.ac. +CFLAGS=${CFLAGS% -fno-unwind-tables} diff --git a/ports/sysdeps/unix/sysv/linux/arm/configure.in b/ports/sysdeps/unix/sysv/linux/arm/configure.in deleted file mode 100644 index 8fffe94051..0000000000 --- a/ports/sysdeps/unix/sysv/linux/arm/configure.in +++ /dev/null @@ -1,6 +0,0 @@ -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for sysdeps/unix/sysv/linux/arm. - -libc_cv_gcc_unwind_find_fde=no -# Remove -fno-unwind-tables that was added in sysdeps/arm/preconfigure.in. -CFLAGS=${CFLAGS% -fno-unwind-tables} diff --git a/ports/sysdeps/unix/sysv/linux/arm/nptl/configure b/ports/sysdeps/unix/sysv/linux/arm/nptl/configure index 518269913a..a8c34fa3e4 100644 --- a/ports/sysdeps/unix/sysv/linux/arm/nptl/configure +++ b/ports/sysdeps/unix/sysv/linux/arm/nptl/configure @@ -1,4 +1,4 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! libc_cv_gcc_exceptions=yes exceptions=-fexceptions diff --git a/ports/sysdeps/unix/sysv/linux/arm/nptl/configure.ac b/ports/sysdeps/unix/sysv/linux/arm/nptl/configure.ac new file mode 100644 index 0000000000..22f6f4b8f2 --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/arm/nptl/configure.ac @@ -0,0 +1,8 @@ +dnl configure fragment for NPTL and ARM/Linux EABI. +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. + +dnl The normal configure check for gcc -fexecptions fails because it can't +dnl find __aeabi_unwind_cpp_pr0. Work around this here; our GCC definitely +dnl has -fexceptions. +libc_cv_gcc_exceptions=yes +exceptions=-fexceptions diff --git a/ports/sysdeps/unix/sysv/linux/arm/nptl/configure.in b/ports/sysdeps/unix/sysv/linux/arm/nptl/configure.in deleted file mode 100644 index 22f6f4b8f2..0000000000 --- a/ports/sysdeps/unix/sysv/linux/arm/nptl/configure.in +++ /dev/null @@ -1,8 +0,0 @@ -dnl configure fragment for NPTL and ARM/Linux EABI. -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. - -dnl The normal configure check for gcc -fexecptions fails because it can't -dnl find __aeabi_unwind_cpp_pr0. Work around this here; our GCC definitely -dnl has -fexceptions. -libc_cv_gcc_exceptions=yes -exceptions=-fexceptions diff --git a/ports/sysdeps/unix/sysv/linux/ia64/configure b/ports/sysdeps/unix/sysv/linux/ia64/configure index 71323718af..1d4e5d18d6 100644 --- a/ports/sysdeps/unix/sysv/linux/ia64/configure +++ b/ports/sysdeps/unix/sysv/linux/ia64/configure @@ -1,4 +1,4 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux/ia64 ldd_rewrite_script=$dir/ldd-rewrite.sed diff --git a/ports/sysdeps/unix/sysv/linux/ia64/configure.ac b/ports/sysdeps/unix/sysv/linux/ia64/configure.ac new file mode 100644 index 0000000000..4fb564721b --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/ia64/configure.ac @@ -0,0 +1,4 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/unix/sysv/linux/ia64 + +ldd_rewrite_script=$dir/ldd-rewrite.sed diff --git a/ports/sysdeps/unix/sysv/linux/ia64/configure.in b/ports/sysdeps/unix/sysv/linux/ia64/configure.in deleted file mode 100644 index 4fb564721b..0000000000 --- a/ports/sysdeps/unix/sysv/linux/ia64/configure.in +++ /dev/null @@ -1,4 +0,0 @@ -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for sysdeps/unix/sysv/linux/ia64 - -ldd_rewrite_script=$dir/ldd-rewrite.sed diff --git a/ports/sysdeps/unix/sysv/linux/m68k/configure b/ports/sysdeps/unix/sysv/linux/m68k/configure index a704dacee6..8e955387b7 100644 --- a/ports/sysdeps/unix/sysv/linux/m68k/configure +++ b/ports/sysdeps/unix/sysv/linux/m68k/configure @@ -1,4 +1,4 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! case $machine in m68k/coldfire) ;; diff --git a/ports/sysdeps/unix/sysv/linux/m68k/configure.ac b/ports/sysdeps/unix/sysv/linux/m68k/configure.ac new file mode 100644 index 0000000000..c21ca9dd47 --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/m68k/configure.ac @@ -0,0 +1,10 @@ +sinclude(./aclocal.m4)dnl Autoconf lossage +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +case $machine in +m68k/coldfire) + ;; +*) + libc_cv_gcc_unwind_find_fde=yes + ;; +esac +ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed diff --git a/ports/sysdeps/unix/sysv/linux/m68k/configure.in b/ports/sysdeps/unix/sysv/linux/m68k/configure.in deleted file mode 100644 index c21ca9dd47..0000000000 --- a/ports/sysdeps/unix/sysv/linux/m68k/configure.in +++ /dev/null @@ -1,10 +0,0 @@ -sinclude(./aclocal.m4)dnl Autoconf lossage -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -case $machine in -m68k/coldfire) - ;; -*) - libc_cv_gcc_unwind_find_fde=yes - ;; -esac -ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed diff --git a/ports/sysdeps/unix/sysv/linux/microblaze/configure b/ports/sysdeps/unix/sysv/linux/microblaze/configure index fa7da73931..086638856c 100644 --- a/ports/sysdeps/unix/sysv/linux/microblaze/configure +++ b/ports/sysdeps/unix/sysv/linux/microblaze/configure @@ -1,4 +1,4 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux/microblaze. arch_minimum_kernel=2.6.30 diff --git a/ports/sysdeps/unix/sysv/linux/microblaze/configure.ac b/ports/sysdeps/unix/sysv/linux/microblaze/configure.ac new file mode 100644 index 0000000000..f283d37702 --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/microblaze/configure.ac @@ -0,0 +1,4 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/unix/sysv/linux/microblaze. + +arch_minimum_kernel=2.6.30 diff --git a/ports/sysdeps/unix/sysv/linux/microblaze/configure.in b/ports/sysdeps/unix/sysv/linux/microblaze/configure.in deleted file mode 100644 index f283d37702..0000000000 --- a/ports/sysdeps/unix/sysv/linux/microblaze/configure.in +++ /dev/null @@ -1,4 +0,0 @@ -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for sysdeps/unix/sysv/linux/microblaze. - -arch_minimum_kernel=2.6.30 diff --git a/ports/sysdeps/unix/sysv/linux/mips/configure b/ports/sysdeps/unix/sysv/linux/mips/configure index 088210ff97..e8b0d7b154 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/configure +++ b/ports/sysdeps/unix/sysv/linux/mips/configure @@ -1,4 +1,4 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux/mips. diff --git a/ports/sysdeps/unix/sysv/linux/mips/configure.ac b/ports/sysdeps/unix/sysv/linux/mips/configure.ac new file mode 100644 index 0000000000..7087a14a5e --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/mips/configure.ac @@ -0,0 +1,99 @@ +sinclude(./aclocal.m4)dnl Autoconf lossage +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/unix/sysv/linux/mips. + +AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([ + #if (_MIPS_SIM != _ABIO32) + #error Not O32 ABI + #endif])], + [libc_mips_abi=o32], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([ + #if (_MIPS_SIM != _ABIN32) + #error Not N32 ABI + #endif])], + [libc_mips_abi=n32], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([ + #if (_MIPS_SIM != _ABI64) + #error Not 64 ABI + #endif])], + [libc_mips_abi=n64], + [])])]) + +if test -z "$libc_mips_abi"; then + AC_MSG_ERROR([could not determine what ABI the compiler is using]) +fi + +AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([ + #if !defined(__mips_soft_float) + #error Not soft ABI + #endif])], + [libc_mips_float=soft], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([ + #if !defined(__mips_hard_float) + #error Not hard ABI + #endif])], + [libc_mips_float=hard], + [])]) + +if test -z "$libc_mips_float"; then + AC_MSG_ERROR([could not determine if compiler is using hard or soft floating point ABI]) +fi + +AC_CACHE_CHECK([whether the compiler is using the 2008 NaN encoding], + libc_cv_mips_nan2008, [AC_EGREP_CPP(yes, [dnl +#ifdef __mips_nan2008 +yes +#endif], libc_cv_mips_nan2008=yes, libc_cv_mips_nan2008=no)]) + +libc_mips_nan= +if test x"$libc_cv_mips_nan2008" = xyes; then + libc_mips_nan=_2008 +fi + +LIBC_CONFIG_VAR([default-abi], + [${libc_mips_abi}_${libc_mips_float}${libc_mips_nan}]) + +case "$prefix" in +/usr | /usr/) + # 64-bit libraries on bi-arch platforms go in /lib64 instead of /lib. + # Allow earlier configure scripts to handle libc_cv_slibdir, libdir, + # and libc_cv_localedir. + test -n "$libc_cv_slibdir" || \ + case $machine in + mips/mips64/n64/* ) + libc_cv_slibdir="/lib64" + if test "$libdir" = '${exec_prefix}/lib'; then + libdir='${exec_prefix}/lib64'; + # Locale data can be shared between 32bit and 64bit libraries + libc_cv_localedir='${exec_prefix}/lib/locale' + fi + ;; + mips/mips64/n32/* ) + libc_cv_slibdir="/lib32" + if test "$libdir" = '${exec_prefix}/lib'; then + libdir='${exec_prefix}/lib32'; + # Locale data can be shared between 32bit and 64bit libraries + libc_cv_localedir='${exec_prefix}/lib/locale' + fi + ;; + *) + libc_cv_slibdir="/lib" + ;; + esac +esac + +libc_cv_gcc_unwind_find_fde=yes + +if test -z "$arch_minimum_kernel"; then + if test x$libc_cv_mips_nan2008 = xyes; then + # FIXME: Adjust this setting to the actual first upstream kernel + # version to support the 2008 NaN encoding and then remove this + # comment. + arch_minimum_kernel=10.0.0 + fi +fi diff --git a/ports/sysdeps/unix/sysv/linux/mips/configure.in b/ports/sysdeps/unix/sysv/linux/mips/configure.in deleted file mode 100644 index 7087a14a5e..0000000000 --- a/ports/sysdeps/unix/sysv/linux/mips/configure.in +++ /dev/null @@ -1,99 +0,0 @@ -sinclude(./aclocal.m4)dnl Autoconf lossage -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for sysdeps/unix/sysv/linux/mips. - -AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([ - #if (_MIPS_SIM != _ABIO32) - #error Not O32 ABI - #endif])], - [libc_mips_abi=o32], - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([ - #if (_MIPS_SIM != _ABIN32) - #error Not N32 ABI - #endif])], - [libc_mips_abi=n32], - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([ - #if (_MIPS_SIM != _ABI64) - #error Not 64 ABI - #endif])], - [libc_mips_abi=n64], - [])])]) - -if test -z "$libc_mips_abi"; then - AC_MSG_ERROR([could not determine what ABI the compiler is using]) -fi - -AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([ - #if !defined(__mips_soft_float) - #error Not soft ABI - #endif])], - [libc_mips_float=soft], - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([ - #if !defined(__mips_hard_float) - #error Not hard ABI - #endif])], - [libc_mips_float=hard], - [])]) - -if test -z "$libc_mips_float"; then - AC_MSG_ERROR([could not determine if compiler is using hard or soft floating point ABI]) -fi - -AC_CACHE_CHECK([whether the compiler is using the 2008 NaN encoding], - libc_cv_mips_nan2008, [AC_EGREP_CPP(yes, [dnl -#ifdef __mips_nan2008 -yes -#endif], libc_cv_mips_nan2008=yes, libc_cv_mips_nan2008=no)]) - -libc_mips_nan= -if test x"$libc_cv_mips_nan2008" = xyes; then - libc_mips_nan=_2008 -fi - -LIBC_CONFIG_VAR([default-abi], - [${libc_mips_abi}_${libc_mips_float}${libc_mips_nan}]) - -case "$prefix" in -/usr | /usr/) - # 64-bit libraries on bi-arch platforms go in /lib64 instead of /lib. - # Allow earlier configure scripts to handle libc_cv_slibdir, libdir, - # and libc_cv_localedir. - test -n "$libc_cv_slibdir" || \ - case $machine in - mips/mips64/n64/* ) - libc_cv_slibdir="/lib64" - if test "$libdir" = '${exec_prefix}/lib'; then - libdir='${exec_prefix}/lib64'; - # Locale data can be shared between 32bit and 64bit libraries - libc_cv_localedir='${exec_prefix}/lib/locale' - fi - ;; - mips/mips64/n32/* ) - libc_cv_slibdir="/lib32" - if test "$libdir" = '${exec_prefix}/lib'; then - libdir='${exec_prefix}/lib32'; - # Locale data can be shared between 32bit and 64bit libraries - libc_cv_localedir='${exec_prefix}/lib/locale' - fi - ;; - *) - libc_cv_slibdir="/lib" - ;; - esac -esac - -libc_cv_gcc_unwind_find_fde=yes - -if test -z "$arch_minimum_kernel"; then - if test x$libc_cv_mips_nan2008 = xyes; then - # FIXME: Adjust this setting to the actual first upstream kernel - # version to support the 2008 NaN encoding and then remove this - # comment. - arch_minimum_kernel=10.0.0 - fi -fi diff --git a/ports/sysdeps/unix/sysv/linux/mips/mips64/configure b/ports/sysdeps/unix/sysv/linux/mips/mips64/configure index f86f3276a5..26bed649db 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/mips64/configure +++ b/ports/sysdeps/unix/sysv/linux/mips/mips64/configure @@ -1,4 +1,4 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux/mips/mips64. ldd_rewrite_script=$dir/ldd-rewrite.sed diff --git a/ports/sysdeps/unix/sysv/linux/mips/mips64/configure.ac b/ports/sysdeps/unix/sysv/linux/mips/mips64/configure.ac new file mode 100644 index 0000000000..c137ec5552 --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/mips/mips64/configure.ac @@ -0,0 +1,5 @@ +sinclude(./aclocal.m4)dnl Autoconf lossage +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/unix/sysv/linux/mips/mips64. + +ldd_rewrite_script=$dir/ldd-rewrite.sed diff --git a/ports/sysdeps/unix/sysv/linux/mips/mips64/configure.in b/ports/sysdeps/unix/sysv/linux/mips/mips64/configure.in deleted file mode 100644 index c137ec5552..0000000000 --- a/ports/sysdeps/unix/sysv/linux/mips/mips64/configure.in +++ /dev/null @@ -1,5 +0,0 @@ -sinclude(./aclocal.m4)dnl Autoconf lossage -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for sysdeps/unix/sysv/linux/mips/mips64. - -ldd_rewrite_script=$dir/ldd-rewrite.sed diff --git a/ports/sysdeps/unix/sysv/linux/tile/configure b/ports/sysdeps/unix/sysv/linux/tile/configure index 88b5788481..02f6c8c25d 100644 --- a/ports/sysdeps/unix/sysv/linux/tile/configure +++ b/ports/sysdeps/unix/sysv/linux/tile/configure @@ -1,4 +1,4 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux/tile. arch_minimum_kernel=2.6.32 diff --git a/ports/sysdeps/unix/sysv/linux/tile/configure.ac b/ports/sysdeps/unix/sysv/linux/tile/configure.ac new file mode 100644 index 0000000000..b983e28be6 --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/tile/configure.ac @@ -0,0 +1,4 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/unix/sysv/linux/tile. + +arch_minimum_kernel=2.6.32 diff --git a/ports/sysdeps/unix/sysv/linux/tile/configure.in b/ports/sysdeps/unix/sysv/linux/tile/configure.in deleted file mode 100644 index b983e28be6..0000000000 --- a/ports/sysdeps/unix/sysv/linux/tile/configure.in +++ /dev/null @@ -1,4 +0,0 @@ -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for sysdeps/unix/sysv/linux/tile. - -arch_minimum_kernel=2.6.32 diff --git a/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure b/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure index bfa30f6dcf..0a6a63ff99 100644 --- a/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure +++ b/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure @@ -1,4 +1,4 @@ -# This file is generated from configure.in by Autoconf. DO NOT EDIT! +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! # Local configure fragment for sysdeps/unix/sysv/linux/tile/tilegx ldd_rewrite_script=$dir/ldd-rewrite.sed diff --git a/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.ac b/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.ac new file mode 100644 index 0000000000..87d86bd4c0 --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.ac @@ -0,0 +1,4 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/unix/sysv/linux/tile/tilegx + +ldd_rewrite_script=$dir/ldd-rewrite.sed diff --git a/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.in b/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.in deleted file mode 100644 index 87d86bd4c0..0000000000 --- a/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.in +++ /dev/null @@ -1,4 +0,0 @@ -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# Local configure fragment for sysdeps/unix/sysv/linux/tile/tilegx - -ldd_rewrite_script=$dir/ldd-rewrite.sed -- cgit 1.4.1