diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-28 13:39:31 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-28 17:45:30 -0400 |
commit | 6d89786cb31dcf9b1a4e5b6c7b88c15102e9381a (patch) | |
tree | cad2a9e2891d69f39682607fb9e9545648925411 /sim/sh/config.in | |
parent | 92c695a14f6a5a24b177e89624c13d7dbcbf9e1f (diff) | |
download | gdb-6d89786cb31dcf9b1a4e5b6c7b88c15102e9381a.zip gdb-6d89786cb31dcf9b1a4e5b6c7b88c15102e9381a.tar.gz gdb-6d89786cb31dcf9b1a4e5b6c7b88c15102e9381a.tar.bz2 |
sim: sh: use common configure options
In preparation for converting to nrun, call the common functions that
are needed. This also produces a bunch of warnings, but one thing at
a time.
Diffstat (limited to 'sim/sh/config.in')
-rw-r--r-- | sim/sh/config.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sim/sh/config.in b/sim/sh/config.in index 5ded703..6003e58 100644 --- a/sim/sh/config.in +++ b/sim/sh/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 |