]> jfr.im git - solanum.git/blobdiff - libratbox/include/libratbox_config.h.in
Add endian test to autoconf and convert crypt to use it.
[solanum.git] / libratbox / include / libratbox_config.h.in
index 1055efd5e989fcfc0b8a8938c92e68133b26f775..4e585c143b63ca364cc547ac92fec5ecbbd72375 100644 (file)
@@ -1,5 +1,8 @@
 /* include/libratbox_config.h.in.  Generated from configure.ac by autoheader.  */
 
+/* Define if building universal (internal helper macro) */
+#undef AC_APPLE_UNIVERSAL_BUILD
+
 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
    systems. This function is required for `alloca.c' support on those systems.
    */
 /* Define this to disable debugging support. */
 #undef NDEBUG
 
-/* Define if your system needs crypt. */
-#undef NEED_CRYPT
-
 /* Define to 1 if you wish to disable the block allocator. */
 #undef NOBALLOC
 
 /* This is a Windows system */
 #undef WINDOWS
 
+/* 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