aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v/config.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-30 01:14:04 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-30 02:20:23 -0400
commitef9535c6bc7c5d50d03e9f98498e018ac56e366c (patch)
tree2b077a0fb150fa49165d54b6728bb3c94b677f34 /sim/d10v/config.in
parent2f783c1f4b23b194efa31e2015fb585b688c6526 (diff)
downloadfsf-binutils-gdb-ef9535c6bc7c5d50d03e9f98498e018ac56e366c.zip
fsf-binutils-gdb-ef9535c6bc7c5d50d03e9f98498e018ac56e366c.tar.gz
fsf-binutils-gdb-ef9535c6bc7c5d50d03e9f98498e018ac56e366c.tar.bz2
sim: d10v: use common configure options
In preparation for converting to nrun, call the common functions that are needed. This doesn't produce any new warnings, and the generated code should be the same.
Diffstat (limited to 'sim/d10v/config.in')
-rw-r--r--sim/d10v/config.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/sim/d10v/config.in b/sim/d10v/config.in
index 5ded703..6003e58 100644
--- a/sim/d10v/config.in
+++ b/sim/d10v/config.in
@@ -1,5 +1,8 @@
/* config.in. Generated from configure.ac by autoheader. */
+/* Define if building universal (internal helper macro) */
+#undef AC_APPLE_UNIVERSAL_BUILD
+
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#undef ENABLE_NLS
@@ -135,6 +138,18 @@
#endif
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+# define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+# undef WORDS_BIGENDIAN
+# endif
+#endif
+
/* Define to 1 if on MINIX. */
#undef _MINIX