/* config.h for mingw/Makefile * * Prepared according to config.h from ./configure and by means of * config_strip.sh as of gnuplot 5.1 in February 2016. */ /* Define to allow use of certain deprecated syntax. */ /* #undef BACKWARDS_COMPATIBLE */ /* Define if you want online help and subtopic tables sorted by column. */ /* #undef COLUMN_HELP */ /* Provide contact info for gnuplot develoment */ /* #undef DEVELOPMENT_VERSION */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define to treat spacebar like any other keystroke. */ /* #undef DISABLE_SPACE_RAISES_CONSOLE */ /* Contact address for modified and binary distributed gnuplot versions */ /* #undef DIST_CONTACT */ /* Define if you want to use libgrx20 with MSDOS/djgpp. */ /* #undef DJSVGA */ /* Define if this system uses a 32-bit DOS extender (djgpp/emx). */ /* #undef DOS32 */ /* Define to support boxed labels */ #define EAM_BOXED_TEXT 1 /* Define to allow placement of rectangles and other objects */ #define EAM_OBJECTS 1 /* Define if color information should be passed for each vertex. */ /* #undef EXTENDED_COLOR_SPECS */ /* Define if you want to supply pre-existing X11 windows. */ /* #undef EXTERNAL_X11_WINDOW */ /* Define if declares errno. */ /* #undef EXTERN_ERRNO */ /* Define if libgd supports animated gifs. */ /* #undef GIF_ANIMATION */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define if you want to use a gnuplot history file. */ #define GNUPLOT_HISTORY 1 /* Define if you want to use a newer version of libgrx under MSDOS/djgpp. */ /* #undef GRX21 */ /* Define to 1 if you have the <3dkit.h> header file. */ /* #undef HAVE_3DKIT_H */ /* Define to 1 if you have the `atexit' function. */ #define HAVE_ATEXIT 1 /* Define to 1 if you have the `bcopy' function. */ /* #undef HAVE_BCOPY */ /* Define to 1 if you have the `bzero' function. */ /* #undef HAVE_BZERO */ /* libcairo support for eps (cairo >= 1.6) */ /* #undef HAVE_CAIROEPS */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define if you want the cairo-based terminals. */ /* #undef HAVE_CAIROPDF */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define to 1 if you have the declaration of `signgam', and to 0 if you don't. */ #define HAVE_DECL_SIGNGAM 0 /* Define to 1 if you have the header file. */ /* dirent.h is available, but we use our own encoding-aware versions of opendir() and friend in stdfn.c */ /* #undef HAVE_DIRENT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_DLFCN_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_DL_H */ /* Define to 1 if you have the `doprnt' function. */ /* #undef HAVE_DOPRNT */ /* Define to 1 if you have the header file. */ /* #undef HAVE_EDITLINE_READLINE_H */ /* Define to 1 if you have the `erf' function. */ #define HAVE_ERF 1 /* Define to 1 if you have the `erfc' function. */ #define HAVE_ERFC 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define if external function plugins are to be supported. */ #define HAVE_EXTERNAL_FUNCTIONS 1 /* Define to 1 if you have the `fdopen' function. */ #define HAVE_FDOPEN 1 /* Define to 1 if you have the header file. */ #define HAVE_FLOAT_H 1 /* Define to 1 if you have the `fork' function. */ /* #undef HAVE_FORK */ /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ /* #undef HAVE_FSEEKO */ /* Define to 1 if you have the `gamma' function. */ /* #undef HAVE_GAMMA */ /* Define if libgd supports gif. */ /* #undef HAVE_GD_GIF */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define to 1 if you have the header file. */ /* #undef HAVE_GD_H */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define if libgd supports jpeg. */ /* #undef HAVE_GD_JPEG */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define if libgd supports png. */ /* #undef HAVE_GD_PNG */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define if libgd supports TrueType fonts through libfreetype. */ /* #undef HAVE_GD_TTF */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define to 1 if you have the `getcwd' function. */ #define HAVE_GETCWD 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_GGI_WMH_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_GGI_XMI_H */ /* Define to include support for gpic terminal */ /* #undef HAVE_GPIC */ /* Define to use gtk/gdk tweaks */ /* #undef HAVE_GTK */ /* define if you have libiconv and iconv.h */ /* #undef HAVE_ICONV */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define to 1 if you have the `index' function. */ /* #undef HAVE_INDEX */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define if you want to use kpsexpand (TeX). */ /* #undef HAVE_KPSEXPAND */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LANGINFO_H */ /* Define to 1 if you have the `lgamma' function. */ /* #define HAVE_LGAMMA 1 */ /* Comment: lgamma() is available in MingW 3.4.4, but without signgam required by f_gamma() */ /* Define if you have the caca library. */ /* #undef HAVE_LIBCACA */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* define if you have libcerf */ /* #undef HAVE_LIBCERF */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBC_H */ /* Define if you are using the BSD editline library. */ /* #undef HAVE_LIBEDITLINE */ /* Define if you have gd library. */ /* #undef HAVE_LIBGD */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define to 1 if you have the `m' library (-lm). */ /* #undef HAVE_LIBM */ /* Define to 1 if you have the `pdf' library (-lpdf). */ /* #undef HAVE_LIBPDF */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define if your PDFlib is too old to use PDF_begin_document. */ /* #undef HAVE_LIBPDF_OPEN_FILE */ /* Define if you are using the GNU readline library. */ /* #undef HAVE_LIBREADLINE */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define if you have zlib. */ /* #undef HAVE_LIBZ */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define if you want the lua/TikZ terminal. */ /* #undef HAVE_LUA */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LUA_H */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define to 1 if you have the header file. */ #define HAVE_MALLOC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_MATH_H 1 /* Define to 1 if you have the `memcpy' function. */ #define HAVE_MEMCPY 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `memset' function. */ #define HAVE_MEMSET 1 /* Define to include support for mif terminal */ /* #undef HAVE_MIF */ /* Define if your PDFlib doesn't support dash patterns. */ /* #undef HAVE_NODASH_LIBPDF */ /* Define to 1 if the system has the type `off_t'. */ #define HAVE_OFF_T 1 /* Define if your PDFlib is too old to support patterns. */ /* #undef HAVE_OLD_LIBPDF */ /* Define to 1 if you have the `on_exit' function. */ /* #undef HAVE_ON_EXIT */ /* Define to 1 if you have the `pclose' function. */ #define HAVE_PCLOSE 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PDFLIB_H */ /* Define to 1 if you have the `poll' function. */ /* #undef HAVE_POLL */ /* Define to 1 if you have the header file. */ /* #undef HAVE_POLL_H */ /* Define to 1 if you have the `popen' function. */ #define HAVE_POPEN 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_READLINE_HISTORY_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_READLINE_READLINE_H */ /* Define if your libreadline has rl_reset_after_signal */ /* #undef HAVE_READLINE_RESET */ /* Define to 1 if you have the `rindex' function. */ /* #undef HAVE_RINDEX */ /* Define to 1 if you have the `select' function. */ /* #undef HAVE_SELECT */ /* Define to 1 if you have the `setvbuf' function. */ /* #define HAVE_SETVBUF 1 */ /* it is defined, but setvbuf(stdout) does not work for Windows GUI redirected stdout */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SGTTY_H */ /* Define if we have sigsetjmp(). */ /* #undef HAVE_SIGSETJMP */ /* Define to 1 if you have the `sleep' function. */ /* #undef HAVE_SLEEP */ /* Define to 1 if you have the `snprintf' function. */ #define HAVE_SNPRINTF 1 /* Define to 1 if stdbool.h conforms to C99. */ #define HAVE_STDBOOL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `stpcpy' function. */ /* #undef HAVE_STPCPY */ /* Define to 1 if you have the `strcasecmp' function. */ #define HAVE_STRCASECMP 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strcspn' function. */ #define HAVE_STRCSPN 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `stricmp' function. */ #define HAVE_STRICMP 1 /* Define to 1 if cpp supports the ANSI # stringizing operator. */ #define HAVE_STRINGIZE 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strncasecmp' function. */ #define HAVE_STRNCASECMP 1 /* Define to 1 if you have the `strndup' function. */ /* #undef HAVE_STRNDUP */ /* Define to 1 if you have the `strnicmp' function. */ #define HAVE_STRNICMP 1 /* Define to 1 if you have the `strnlen' function. */ /* #undef HAVE_STRNLEN */ /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if you have the `strstr' function. */ #define HAVE_STRSTR 1 /* Define if math.h declares struct exception for matherr(). */ /* #undef HAVE_STRUCT_EXCEPTION_IN_MATH_H */ /* Define to 1 if you have the `sysinfo' function. */ /* #undef HAVE_SYSINFO */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_BSDTYPES_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_IOCTL_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_SELECT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_SOCKET_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_SYSTEMINFO_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIMEB_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTSNAME_H */ /* Define to 1 if you have the `tcgetattr' function. */ /* #undef HAVE_TCGETATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_TERMIOS_H */ /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define if time_t is declared in time.h. */ #define HAVE_TIME_T_IN_TIME_H 1 /* Define to 1 if you have the `uname' function. */ /* #undef HAVE_UNAME */ /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `usleep' function. */ #define HAVE_USLEEP 1 /* Define to 1 if you have the header file. */ #define HAVE_VALUES_H 1 /* Define to 1 if you have the `vfork' function. */ /* #undef HAVE_VFORK */ /* Define to 1 if you have the header file. */ /* #undef HAVE_VFORK_H */ /* Define to 1 if you have the `vfprintf' function. */ #define HAVE_VFPRINTF 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_VGAGL_H */ /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if you have the `wcwidth' function. */ /* #undef HAVE_WCWIDTH */ /* Define to 1 if `fork' works. */ /* #undef HAVE_WORKING_FORK */ /* Define to 1 if `vfork' works. */ /* #undef HAVE_WORKING_VFORK */ /* Define to 1 if the system has the type `_Bool'. */ #define HAVE__BOOL 1 /* Define to enable gridbox optimization in hidden3d code. */ /* #undef HIDDEN3D_GRIDBOX */ /* Define to enable quadtree optimization in hidden3d code. */ #define HIDDEN3D_QUADTREE 1 /* Define to enable handling point size in hidden3d code. */ #define HIDDEN3D_VAR_PTSIZE 1 /* Define if this is a Linux system with SuperVGA library. */ /* #undef LINUXVGA */ /* Define to 1 if malloc(0)==0 */ /* #undef MALLOC_ZERO_RETURNS_ZERO */ /* Define if your libreadline has no rl_ding */ /* #undef MISSING_RL_DING */ /* Define if your libreadline has no rl_force_update_display */ /* #undef MISSING_RL_FORCED_UPDATE_DISPLAY */ /* Define if your libreadline has no rl_complete_with_tilde_expansion */ /* #undef MISSING_RL_TILDE_EXPANSION */ /* Define if this is an MSDOS system. */ /* #undef MSDOS */ /* Define to disable terminals that depend on code in bitmap.c */ #define NO_BITMAP_SUPPORT 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* Name of package */ #define PACKAGE "gnuplot" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "" /* Define to the full name of this package. */ #define PACKAGE_NAME "gnuplot" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "gnuplot 5.2" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "gnuplot" /* Define to the version of this package. */ #define PACKAGE_VERSION "5.2" /* The patch level, a.k.a. micro version number */ /* #undef PATCHLEVEL */ /* Define if you do have the popen and pclose functions. */ /* #undef PIPES */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Unix-type of Interprocess Communication is required for mouse support. */ /* #undef PIPE_IPC */ /* Automake 1.12 dropped support for building without prototypes */ #define PROTOTYPES 1 /* Define if you want the Qt terminal. */ /* #undef QTTERM */ /* Define if you want to use the included readline function. */ /* #undef READLINE */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define to the type of arg 1 for `select'. */ #define SELECT_TYPE_ARG1 int /* Define to the type of args 2, 3 and 4 for `select'. */ #define SELECT_TYPE_ARG234 (int *) /* Define to the type of arg 5 for `select'. */ #define SELECT_TYPE_ARG5 (struct timeval *) /* Define to 1 if the `S_IS*' macros in do not work properly. */ /* #undef STAT_MACROS_BROKEN */ /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Define if the 3dkit libray is present. */ /* #undef THREEDKIT */ /* Define if your libcaca does not have caca_export_canvas_to_memory but the old caca_export_memory */ /* #undef USE_CACA_EXPORT_MEMORY */ /* Define if you want to read .gnuplot from current directory (SECURITY RISK!). */ /* #undef USE_CWDRC */ /* Define if you want to use the experimental ggi driver. */ /* #undef USE_GGI_DRIVER */ /* Define if you have interactive terminals that use mouse support. */ /* #undef USE_MOUSE */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* Define to add support for generating a statistical summary of data */ #define USE_STATS 1 /* Define to enable multi-byte font support for x11 */ /* #undef USE_X11_MULTIBYTE */ /* Version number of package */ #define VERSION "5.2" /* The main version number */ /* #undef VERSION_MAJOR */ /* Define if the vgagl libray is present. */ /* #undef VGAGL */ /* Define if you want the wxwidgets terminal. */ /* #undef WXWIDGETS */ /* Don't change it here -- this define is set in config/mingw/Makefile. */ /* wxWidgets >= 2.9 wants calling program to invoke XInit() */ /* #undef WX_NEEDS_XINITTHREADS */ /* Define if you are using the X11 window system. */ /* #undef X11 */ /* Define to 1 if the X Window System is missing or not being used. */ #define X_DISPLAY_MISSING 1 /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus /* #undef inline */ #endif /* Define to `int' if does not define. */ /* #undef pid_t */ /* Define to `unsigned' if does not define. */ /* #undef size_t */ /* Define as `fork' if `vfork' does not work. */ /* #undef vfork */ /* * ================================================== * Stuff not provided by config.hin (aka ./configure) * ================================================== */ #ifndef WIN32 # define WIN32 #endif #define HAVE_GDIPLUS #define HAVE_DWRITE #define HAVE_D2D /* Windows Interprocess Communication is required for mouse support. */ /* Both USE_MOUSE and WIN_IPC must be defined together in the Makefile. */ #define GP_INLINE inline /* Emulated pipe support for wgnuplot */ #ifdef USE_FAKEPIPES # ifndef PIPES # define PIPES # endif #endif /* gnuplot.gih is not used by wgnuplot */ #define NO_GIH 1 #define HELPFILE "wgnuplot.chm" /* MinGW32 does not have swprintf_s and only has a non-standard swprintf, like old versions of MSVC, which does not have a size parameter. */ #include <_mingw.h> #if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR) # define swprintf_s(s, c, f, ...) swprintf(s, f, __VA_ARGS__) #endif