--- wvstreams-4.5/include/wvautoconf.h.in.multilib
+++ wvstreams-4.5/include/wvautoconf.h.in
@@ -166,7 +166,7 @@
#undef HAVE_UNISTD_H
/* Define to 1 if you have the <valgrind/memcheck.h> header file. */
-#undef HAVE_VALGRIND_MEMCHECK_H
+/* #undef HAVE_VALGRIND_MEMCHECK_H */
/* Define to 1 if you have the <zlib.h> header file. */
#undef HAVE_ZLIB_H
@@ -201,7 +201,7 @@
#undef VERBOSE_PACKAGE_VERSION
/* Extra version string. */
-#undef VER_STRING_EXTRA
+/*#define VER_STRING_EXTRA " (Red Hat Buildsystem)"*/
/* Define to enable DBUS support. */
#undef WITH_DBUS
@@ -208,7 +208,9 @@
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
+#if defined(__BIG_ENDIAN__)
+#define WORDS_BIGENDIAN 1
+#endif
/* Define to disable WvResolver forking for debugging with gdb. */
#undef WVRESOLVER_SKIP_FORK