#undef HAVE_WCSCHR
#undef HAVE_WCSDUP
+/* Define if you have the open64 function. */
+#undef HAVE_OPEN64
+
/* Define if you have the lrand48 function. */
#undef HAVE_LRAND48
/* Define if you have the srand48 function. */
#undef HAVE_SRAND48
+/* Define if you have the calloc function. */
+#undef HAVE_CALLOC
+
/* Define if you have the stat function. */
#undef HAVE_STAT
/* Define if you have the <zlib.h> header file. */
#undef HAVE_ZLIB_H
+/* Define if you have the <zzip/lib.h> header file. */
+#undef HAVE_ZZIP_LIB_H
+
/* Define if you have the <pdflib.h> header file. */
#undef HAVE_PDFLIB_H
/* Define if you have the jpeg library (-ljpeg). */
#undef HAVE_LIBJPEG
-/* Define if you have the jpeg library (-ljpeg). */
+/* Define if you have the pdf library (-lpdf). */
#undef HAVE_LIBPDF
+/* Define if you have the zzip library (-lzzip). */
+#undef HAVE_LIBZZIP
+
/* Define if you have the m library (-lm). */
#undef HAVE_LIBM
#undef HAVE_FONTCONFIG_H
#undef HAVE_FONTCONFIG
+#undef HAVE_FFTW3_H
+
+#undef HAVE_FFTW3
+
/* have/use internal l.a.m.e. mp3 library */
#undef HAVE_LAME
#define GHash GooHash
#endif
+#ifdef HAVE_ZZIP_LIB_H
+#ifdef HAVE_LIBZZIP
+#define HAVE_ZZIP 1
+#endif
+#endif
+
+#ifndef WIN32
+#define CHECKS
+#endif
+
+// supply a substitute calloc function if necessary
+#ifndef HAVE_CALLOC
+#define calloc rfx_calloc_replacement
+#endif
+
+//#ifdef HAVE_BUILTIN_EXPECT
+#if defined(__GNUC__) && (__GNUC__ > 2) && defined(__OPTIMIZE__)
+# define likely(x) __builtin_expect((x), 1)
+# define unlikely(x) __builtin_expect((x), 0)
+#else
+# define likely(x) (x)
+# define unlikely(x) (x)
+#endif
+
#endif