/* config.h.in.  Generated from configure.ac by autoheader.  */

/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD

/* Copyright Message for Aven */
#undef AVEN_COPYRIGHT_MSG

/* Copyright Message for Aven in UTF-8 */
#undef AVEN_COPYRIGHT_MSG_UTF8

/* Version number of package (comma-separated) */
#undef COMMAVERSION

/* Copyright Message */
#undef COPYRIGHT_MSG

/* Copyright Message in UTF-8 */
#undef COPYRIGHT_MSG_UTF8

/* Location of platform independent support files */
#undef DATADIR

/* Define to 1 if you have the 'avcodec_encode_video2' function. */
#undef HAVE_AVCODEC_ENCODE_VIDEO2

/* Define to 1 if you have the 'avcodec_free_frame' function. */
#undef HAVE_AVCODEC_FREE_FRAME

/* Define to 1 if you have the 'avcodec_open2' function. */
#undef HAVE_AVCODEC_OPEN2

/* Define to 1 if you have the 'avformat_new_stream' function. */
#undef HAVE_AVFORMAT_NEW_STREAM

/* Define to 1 if you have the 'avformat_write_header' function. */
#undef HAVE_AVFORMAT_WRITE_HEADER

/* Define to 1 if you have the 'avio_close' function. */
#undef HAVE_AVIO_CLOSE

/* Define to 1 if you have the 'avio_open' function. */
#undef HAVE_AVIO_OPEN

/* Define to 1 if you have the 'av_frame_alloc' function. */
#undef HAVE_AV_FRAME_ALLOC

/* Define to 1 if you have the 'av_frame_free' function. */
#undef HAVE_AV_FRAME_FREE

/* Define to 1 if you have the 'av_guess_format' function. */
#undef HAVE_AV_GUESS_FORMAT

/* define if the compiler supports basic C++11 syntax */
#undef HAVE_CXX11

/* Define to 1 if you have the declaration of 'AVMEDIA_TYPE_VIDEO', and to 0
   if you don't. */
#undef HAVE_DECL_AVMEDIA_TYPE_VIDEO

/* Define to 1 if you have the declaration of 'AV_CODEC_ID_NONE', and to 0 if
   you don't. */
#undef HAVE_DECL_AV_CODEC_ID_NONE

/* Define to 1 if you have the declaration of 'AV_PIX_FMT_RGB24', and to 0 if
   you don't. */
#undef HAVE_DECL_AV_PIX_FMT_RGB24

/* Define to 1 if you have the declaration of 'AV_PIX_FMT_YUV420P', and to 0
   if you don't. */
#undef HAVE_DECL_AV_PIX_FMT_YUV420P

/* Define to 1 if you have the 'feof_unlocked' function. */
#undef HAVE_FEOF_UNLOCKED

/* Define to 1 if you have the 'ferror_unlocked' function. */
#undef HAVE_FERROR_UNLOCKED

/* Define to 1 if you have the 'fmemopen' function. */
#undef HAVE_FMEMOPEN

/* Define to 1 if you have the 'fread_unlocked' function. */
#undef HAVE_FREAD_UNLOCKED

/* Define to 1 if you have the 'fwrite_unlocked' function. */
#undef HAVE_FWRITE_UNLOCKED

/* Define to 1 if you have the 'GDAL' library. */
#undef HAVE_GDAL

/* Define to 1 if you have the 'getc_unlocked' function. */
#undef HAVE_GETC_UNLOCKED

/* Define to 1 if you have the <GL/glext.h> header file. */
#undef HAVE_GL_GLEXT_H

/* Define to 1 if you have the <GL/glu.h> header file. */
#undef HAVE_GL_GLU_H

/* Define to 1 if you have the <GL/gl.h> header file. */
#undef HAVE_GL_GL_H

/* Define to 1 if you have the 'hypot' function. */
#undef HAVE_HYPOT

/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H

/* Define to 1 if you have the 'm' library (-lm). */
#undef HAVE_LIBM

/* Define to 1 if you have the 'mmap' function. */
#undef HAVE_MMAP

/* Define to 1 if you have the <OpenGL/glext.h> header file. */
#undef HAVE_OPENGL_GLEXT_H

/* Define to 1 if you have the <OpenGL/glu.h> header file. */
#undef HAVE_OPENGL_GLU_H

/* Define to 1 if you have the <OpenGL/gl.h> header file. */
#undef HAVE_OPENGL_GL_H

/* Define to 1 if you have the 'popen' function. */
#undef HAVE_POPEN

/* Define to 1 if you have the 'putchar_unlocked' function. */
#undef HAVE_PUTCHAR_UNLOCKED

/* Define to 1 if you have the 'putc_unlocked' function. */
#undef HAVE_PUTC_UNLOCKED

/* Define to 1 if you have the 'setenv' function. */
#undef HAVE_SETENV

/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H

/* Define to 1 if you have the <stdio.h> header file. */
#undef HAVE_STDIO_H

/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

/* Define to 1 if you have the 'strdup' function. */
#undef HAVE_STRDUP

/* 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 1 if you have the 'unsetenv' function. */
#undef HAVE_UNSETENV

/* Define to 1 if you have the '_fread_nolock' function. */
#undef HAVE__FREAD_NOLOCK

/* Define to 1 if you have the '_fwrite_nolock' function. */
#undef HAVE__FWRITE_NOLOCK

/* Define to 1 if you have the '_getc_nolock' function. */
#undef HAVE__GETC_NOLOCK

/* Define to 1 if you have the '_putchar_nolock' function. */
#undef HAVE__PUTCHAR_NOLOCK

/* Define to 1 if you have the '_putc_nolock' function. */
#undef HAVE__PUTC_NOLOCK

/* Define to 1 if you have the '_vfprintf_p' function. */
#undef HAVE__VFPRINTF_P

/* Define to 1 if you have the '_vsprintf_p' function. */
#undef HAVE__VSPRINTF_P

/* Name of package */
#undef PACKAGE

/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT

/* Define to the full name of this package. */
#undef PACKAGE_NAME

/* Define to the full name and version of this package. */
#undef PACKAGE_STRING

/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME

/* Define to the home page for this package. */
#undef PACKAGE_URL

/* Define to the version of this package. */
#undef PACKAGE_VERSION

/* Name of package (capitalised) */
#undef PRETTYPACKAGE

/* The size of 'wxChar', as computed by sizeof. */
#undef SIZEOF_WXCHAR

/* Define to 1 if all of the C89 standard headers exist (not just the ones
   required in a freestanding environment). This macro is provided for
   backward compatibility; new code need not use it. */
#undef STDC_HEADERS

/* Version number of package */
#undef VERSION

/* Use FFmpeg for movie export */
#undef WITH_FFMPEG

/* 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

/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS

/* Define to 1 on platforms where this makes off_t a 64-bit type. */
#undef _LARGE_FILES

/* Number of bits in time_t, on hosts where this is settable. */
#undef _TIME_BITS

/* Define to 1 on platforms where this makes time_t a 64-bit type. */
#undef __MINGW_USE_VC2005_COMPAT

/* Use _unlocked() variants of stdio functions where available, since they are
 * faster, and we don't multithread file accesses.
 */

#ifdef HAVE_FEOF_UNLOCKED
# define FEOF(F) feof_unlocked(F)
#else
# define FEOF(F) feof(F)
#endif

#ifdef HAVE_FERROR_UNLOCKED
# define FERROR(F) ferror_unlocked(F)
#else
# define FERROR(F) ferror(F)
#endif

#ifdef HAVE_FREAD_UNLOCKED
# define FREAD(P, S, N, F) fread_unlocked(P, S, N, F)
#elif defined HAVE__FREAD_NOLOCK
# define FREAD(P, S, N, F) _fread_nolock(P, S, N, F)
#else
# define FREAD(P, S, N, F) fread(P, S, N, F)
#endif

/* If we call this FWRITE() then macos errors out on uses with:
 * error: called object type 'int' is not a function or function pointer
 * Unclear what's going on - a conditional `#undef FWRITE` before defining
 * doesn't help.
 */
#ifdef HAVE_FWRITE_UNLOCKED
# define FWRITE_(P, S, N, F) fwrite_unlocked(P, S, N, F)
#elif defined HAVE__FWRITE_NOLOCK
# define FWRITE_(P, S, N, F) _fwrite_nolock(P, S, N, F)
#else
# define FWRITE_(P, S, N, F) fwrite(P, S, N, F)
#endif

#ifdef HAVE_GETC_UNLOCKED
# define GETC(F) getc_unlocked(F)
#elif defined HAVE__GETC_NOLOCK
# define GETC(F) _getc_nolock(F)
#else
# define GETC(F) getc(F)
#endif

#ifdef HAVE_PUTC_UNLOCKED
# define PUTC(C, F) putc_unlocked(C, F)
#elif defined HAVE__PUTC_NOLOCK
# define PUTC(C, F) _putc_nolock(C, F)
#else
# define PUTC(C, F) putc(C, F)
#endif

#ifdef HAVE_PUTC_UNLOCKED
# define PUTCHAR(C) putchar_unlocked(C)
#elif defined HAVE__PUTCHAR_NOLOCK
# define PUTCHAR(C) _putchar_nolock(C)
#else
# define PUTCHAR(C) putchar(C)
#endif

#ifndef __cplusplus
/* C23 added bool, false and true as keywords - let's emulate that and
 * avoid every C file which uses these needing to include <stdbool.h>.
 */
# include <stdbool.h>

/* C23 made static_assert() available by default - let's emulate that. */
# if __STDC_VERSION__ >= 202311L
// Available by default.
# elif __STDC_VERSION__ >= 201112L
# include <assert.h>
# elif defined __COUNTER__
// As a fallback for < C11, use a typedef for an array type where the size
// is negative if the assertion fails.  Prior to C11 redefining a typedef was
// not allowed so we need to generate unique typedef names (within a single
// compilation).  __COUNTER__ provides an way to do this - it is a non-standard
// extension, but supported by at least GCC, clang and MSVC.
//
// Using the standardised __LINE__ instead of __COUNTER__ here would fail if
// two headers (or a header and the source file) happen to use static_assert()
// on the same line number.
#  define STATICASSERTTYPEDEFNAME(N) staticassert_##N
#  define static_assert(CONDITION, MESSAGE) \
    typedef int STATICASSERTTYPEDEFNAME(__COUNTER__)[(CONDITION) ? 1 : -1]
# else
// We don't check static_assert for pre-C11 compilers without __COUNTER__.
#  define static_assert(...)
# endif
#endif

