4 #ifndef SDCCCONF_HEADER
5 #define SDCCCONF_HEADER
11 #undef SDCC_VERSION_STR
13 #undef DIR_SEPARATOR_STRING
14 #undef DIR_SEPARATOR_CHAR
21 #undef INCLUDE_DIR_SUFFIX
26 #undef PREFIX2DATA_DIR
28 /* environment variables */
30 #undef SDCC_INCLUDE_NAME
33 /* standard libraries */
58 * find out the endianess of host machine
59 * in order to be able to make Mac OS X unified binaries
61 /* This is tricky since these might be defined with a blank replacement list */
62 /* such as on SPARC Solaris. However, configure gets it right, so it's ok */
63 /* that (_BIG_ENDIAN+0) is false, even though it is defined. */
64 #if (__BIG_ENDIAN__+0) || (_BIG_ENDIAN+0)
65 /* 1) trust the compiler */
66 # define WORDS_BIGENDIAN 1
67 #elif __LITTLE_ENDIAN__
69 #elif (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
70 /* 2) trust the header files */
71 # if BYTE_ORDER == BIG_ENDIAN
72 # define WORDS_BIGENDIAN 1
75 /* 3) trust the configure; this actually doesn't work for unified Mac OS X binaries :-( */
76 # undef BUILD_WORDS_BIGENDIAN
77 # if (defined BUILD_WORDS_BIGENDIAN && BUILD_WORDS_BIGENDIAN)
78 # define WORDS_BIGENDIAN 1
80 /* 4) assume that host is a little endian machine */
83 #undef OPT_DISABLE_MCS51
84 #undef OPT_DISABLE_GBZ80
85 #undef OPT_DISABLE_Z80
86 #undef OPT_DISABLE_AVR
87 #undef OPT_DISABLE_DS390
88 #undef OPT_DISABLE_DS400
89 #undef OPT_DISABLE_TININative
90 #undef OPT_DISABLE_PIC
91 #undef OPT_DISABLE_PIC16
92 #undef OPT_DISABLE_XA51
93 #undef OPT_DISABLE_HC08
95 #undef OPT_ENABLE_LIBGC