 /***** Generated by scconfig - DO NOT EDIT *****/

/* Source: config.h.in; to regenerate run ./configure */

#ifndef RND_CONFIG_H
#define RND_CONFIG_H

/****************************************************************************/
/* Static defines to enable extra features on some systems; once we get
   testers on those systems, we can remove them and see if scconfig figured
   everything. */

/* Enable extensions on AIX 3, Interix.  */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
/* Enable threading extensions on Solaris.  */
#ifndef _POSIX_PTHREAD_SEMANTICS
# define _POSIX_PTHREAD_SEMANTICS 1
#endif
/* Enable extensions on HP NonStop.  */
#ifndef _TANDEM_SOURCE
# define _TANDEM_SOURCE 1
#endif
/* Enable general extensions on Solaris.  */
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif

/****************************************************************************/
/* These ones are already autodetected by scconfig */


/* Macro to add a funciton attribute to suppress "function unused" for static inline functions declared in .h files */
#define RND_FUNC_UNUSED __attribute__((unused))

/* [4.3.0] defined if "inline" is available */
#define RND_HAS_INLINE 1

/* inline, as detected ("inline" or empty) */
#define RND_INLINE_DETECTED inline

/* final, combined keywords and attributes for an inline function */
#define RND_INLINE static RND_INLINE_DETECTED RND_FUNC_UNUSED



/* Whether setenv() works */
#define RND_HAVE_SETENV 1

/* Whether putenv() works */
/* #undef RND_HAVE_PUTENV */

/* Whether usleep() works */
#define RND_HAVE_USLEEP 1

/* Whether win32 Sleep() works */
/* #undef RND_HAVE_WSLEEP */

/* Whether select() works */
#define RND_HAVE_SELECT 1

/* Define to 1 if you have the `snprintf' function. */
#define RND_HAVE_SNPRINTF 1

/* Define to 1 if you have the `vsnprintf' function. */
#define RND_HAVE_VSNPRINTF 1

/* Define to 1 if you have the `getcwd' function. */
#define RND_HAVE_GETCWD 1

/* Define to 1 if you have the `_getcwd' function. */
/* #undef RND_HAVE__GETCWD */

/* Define to 1 if you have the `getwd' function. */
/* #undef RND_HAVE_GETWD */

/* Define to 1 if you have the <gd.h> header file. */
#define RND_HAVE_GD_H 1

/* Define to 1 if you have the `gdImageGif' function. */
#define RND_HAVE_GDIMAGEGIF 1

/* Define to 1 if you have the `gdImageJpeg' function. */
#define RND_HAVE_GDIMAGEJPEG 1

/* Define to 1 if you have the `gdImagePng' function. */
#define RND_HAVE_GDIMAGEPNG 1

/* Define to 1 if you have the `gdImageSetResolution' function. */
#define RND_HAVE_GD_RESOLUTION 1

/* Define to 1 if you have the `getpwuid' function. */
#define RND_HAVE_GETPWUID 1

/* Define to 1 if you have the `rint' function. */
#define RND_HAVE_RINT 1

/* Define to 1 if you have the `round' function. */
#define RND_HAVE_ROUND 1

/* Wrapper for S_ISLNK(x); always return 0 if S_ISLNK doesn't exist */
#define RND_WRAP_S_ISLNK(x) S_ISLNK(x)

/* Define to 1 if Xinerama is available */
/*#undef RND_HAVE_XINERAMA */

/* Define to 1 if Xrender is available */
/*#undef RND_HAVE_XRENDER */

/* Define to 1 if we should use windows api for dynamic linking. */
/* #undef RND_USE_LOADLIBRARY */

/* Define to 1 if we should use mkdtemp for creating temp files. */
#define RND_HAVE_MKDTEMP 1

/* Define to 1 if you have the `realpath' function. */
#define RND_HAVE_REALPATH 1

/* Select which mechanism to use for running child processes. */
#define RND_USE_FORK_WAIT 1
/* #undef RND_USE_SPAWNVP */

/* Select which mechanism to use for creating a directory. */
#define RND_USE_MKDIR 1
/* #undef RND_USE__MKDIR */
#define RND_MKDIR_NUM_ARGS 02


/* Define whether we have specific signals. */
#define RND_HAVE_SIGPIPE 1
#define RND_HAVE_SIGSEGV 1
#define RND_HAVE_SIGABRT 1
#define RND_HAVE_SIGINT 1
#define RND_HAVE_SIGHUP 1
#define RND_HAVE_SIGTERM 1
#define RND_HAVE_SIGQUIT 1


/* Whether fungw is system installed */
/* #undef RND_HAVE_SYS_FUNGW */
/* Code warnings for TODO, portable (unlike #warning) */
/* Not emitted in release */
#define TODO(x)


/* [4.3.1] Define to 1 if you want $PREFIX detected runtime (floating-fhs). */
/* #undef RND_WANT_FLOATING_FHS */

/* The host "triplet" - it's really a pair now: machine-os */
#define HOST "x86_64-gnu_linux"

/* Directory separator char */
#define RND_DIR_SEPARATOR_C '/'

/* Directory separator string */
#define RND_DIR_SEPARATOR_S "/"

/* Search path separator string */
#define RND_PATH_DELIMETER ":"

/****************************************************************************/
/* These are static; they are kept "just in case", for further porting */

/* C89 has atexit() */
#define RND_HAS_ATEXIT 1

/* C89 has this */
#define RND_HAVE_UNISTD_H 1

/* Define to 1 if you have the `canonicalize_file_name' function.
   It's a GNU extension, assume we don't have it and fall back to
   realpath() */
/* #define HAVE_CANONICALIZE_FILE_NAME 1 */
/* Define if canonicalize_file_name is not declared in system header files. */
/* #undef NEED_DECLARATION_CANONICALIZE_FILE_NAME */

/* Format: aabbcc where a, b and c are librnd version numbers (major, minor,
   patch). Major must match, minor of the lib should be at least as high as
   the user requires */
#define RND_API_VER 0x040500

/* Format: "aabbcc" or "aabbcc-suffix" where aa, bb and cc are the same as in
   RND_API_VER, optional suffix is an arbitrary string for non-stable-release
   code. */
#define RND_VER_STR "4.5.0"



/* Coordinate type and properties, as detected by scconfig */
typedef int rnd_coord_t;
typedef unsigned int rnd_ucoord_t; /* [4.1.0] */
#define RND_COORD_MAX ((1U<<31)-1)
#define coord_abs rnd_coord_abs

/* gtk */
#define RND_GTK2_KEY(keyname) ( ## keyname)


/* ./configure --workaround requests: */


/* Make sure to catch usage of non-portable functions in debug mode
   This is in here only because config.h should be included from every source
   file. */
#ifndef NDEBUG
#	undef strdup
#	undef strndup
#	undef snprintf
#	undef round
#	undef strcasecmp
#	define strdup      never_use_strdup__use_rnd_strdup
#	define strndup     never_use_strndup__use_rnd_strndup
#	define snprintf    never_use_snprintf__use_rnd_snprintf
#	define round       never_use_round__use_rnd_round
#	define strcasecmp  never_use_strcasecmp__use_rnd_strcasecmp
#	ifndef RND_SAFE_FS
#		undef fopen
#		undef popen
#		undef system
#		undef remove
#		undef rename
#		define fopen       never_use_fopen__use_rnd_fopen
#		define popen       never_use_popen__use_rnd_popen
#		define system      never_use_system__use_rnd_system
#		define remove      never_use_remove__use_rnd_remove
#		define rename      never_use_rename__use_rnd_rename
#		define mkdir       never_use_mkdir__use_rnd_mkdir
#		define unlink      never_use_unlink__use_rnd_unlink
#		define opendir     never_use_opendir__use_rnd_opendir
#		define readdir     never_use_readdir__use_rnd_readdir
#		define closedir    never_use_closedir__use_rnd_closedir
#		define access      never_use_access__use_rnd_file_readable
#	endif

#endif

#endif
