diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-04-02 17:32:23 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-04-02 17:32:23 -0700 |
commit | 10ae74e48aee7403bc3cb2540d1a7ccb7c69a211 (patch) | |
tree | 0f055e3dcf026bffccad0964325574c69c6ab98d /config.h.in | |
parent | 94c7f5adbeecf8b69ca848893032eb18f7e4bd76 (diff) | |
download | riscv-isa-sim-10ae74e48aee7403bc3cb2540d1a7ccb7c69a211.zip riscv-isa-sim-10ae74e48aee7403bc3cb2540d1a7ccb7c69a211.tar.gz riscv-isa-sim-10ae74e48aee7403bc3cb2540d1a7ccb7c69a211.tar.bz2 |
Allow configuration of default ISA with --with-isa
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 46 |
1 files changed, 44 insertions, 2 deletions
diff --git a/config.h.in b/config.h.in index f5608c5..a4070ff 100644 --- a/config.h.in +++ b/config.h.in @@ -1,16 +1,46 @@ /* config.h.in. Generated from configure.ac by autoheader. */ +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + +/* Default value for --isa switch */ +#undef DEFAULT_ISA + /* Define if subproject MCPPBS_SPROJ_NORM is enabled */ #undef DUMMY_ROCC_ENABLED +/* Define to 1 if you have the <inttypes.h> header file. */ +#undef HAVE_INTTYPES_H + /* Define to 1 if you have the `fesvr' library (-lfesvr). */ #undef HAVE_LIBFESVR /* Define to 1 if you have the `pthread' library (-lpthread). */ #undef HAVE_LIBPTHREAD -/* Define if subproject MCPPBS_SPROJ_NORM is enabled */ -#undef HWACHA_ENABLED +/* Define to 1 if you have the <memory.h> header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the <stdint.h> header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the <strings.h> header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the <string.h> header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the <sys/types.h> header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the <unistd.h> header file. */ +#undef HAVE_UNISTD_H /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT @@ -47,3 +77,15 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS + +/* 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 |