aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps/mips/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-10-30 13:20:52 +1000
committerAllan McRae <allan@archlinux.org>2013-10-30 17:32:08 +1000
commitcb8a6dbd176ee59d61068bed92e2c8d22bd28b13 (patch)
tree9ead2c7bd7a279a0669afe49476dd1da4b3c8da9 /ports/sysdeps/mips/configure.ac
parent36a4953a1dbc2b1994c1df0478c1c89a41398dba (diff)
downloadglibc-cb8a6dbd176ee59d61068bed92e2c8d22bd28b13.zip
glibc-cb8a6dbd176ee59d61068bed92e2c8d22bd28b13.tar.gz
glibc-cb8a6dbd176ee59d61068bed92e2c8d22bd28b13.tar.bz2
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 <vapier@gentoo.org>
Diffstat (limited to 'ports/sysdeps/mips/configure.ac')
-rw-r--r--ports/sysdeps/mips/configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/sysdeps/mips/configure.ac b/ports/sysdeps/mips/configure.ac
new file mode 100644
index 0000000..bcbdaff
--- /dev/null
+++ b/ports/sysdeps/mips/configure.ac
@@ -0,0 +1,15 @@
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+# Local configure fragment for sysdeps/mips.
+
+dnl No MIPS GCC supports accessing static and hidden symbols in an
+dnl position independent way.
+dnl AC_DEFINE(PI_STATIC_AND_HIDDEN)
+
+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)])
+if test x$libc_cv_mips_nan2008 = xyes; then
+ AC_DEFINE(HAVE_MIPS_NAN2008)
+fi