1 /* config.h. Generated automatically by configure. */ 2 /* config.h.in. Generated automatically from configure.in by autoheader. */ 3 /* Process this file with autoheader to produce config.h.in */ 4 #ifndef CONFIG_H 5 #define CONFIG_H 6 7 /* Package and version. */ 8 #define PACKAGE "gifsicle" 9 #define VERSION "1.25" 10 11 /* Define when using the debugging malloc library. */ 12 /* #undef DMALLOC */ 13 14 /* Define to a function that returns a random number. */ 15 #define RANDOM random 16 17 /* Define to the number of arguments to gettimeofday. (gifview only) */ 18 #define GETTIMEOFDAY_PROTO 2 19 20 /* Get the [u_]int*_t typedefs. */ 21 #define NEED_SYS_TYPES_H 1 22 #ifdef NEED_SYS_TYPES_H 23 # include <sys/types.h> 24 #endif 25 /* #undef u_int16_t */ 26 /* #undef u_int32_t */ 27 /* #undef int32_t */ 28 29 /* Pathname separator character ('/' on Unix). */ 30 #define PATHNAME_SEPARATOR '/' 31 32 /* Define this to write GIFs to stdout even when stdout is a terminal. */ 33 /* #undef OUTPUT_GIF_TO_TERMINAL */ 34 35 /* Define if GIF LZW compression is off. */ 36 /* #undef GIF_UNGIF */ 37 38 39 /* Define to empty if the keyword does not work. */ 40 /* #undef const */ 41 42 /* Define as __inline if that's what the C compiler calls it. */ 43 /* #undef inline */ 44 45 /* Define if the X Window System is missing or not being used. */ 46 /* #undef X_DISPLAY_MISSING */ 47 48 /* Define if you have the strerror function. */ 49 #define HAVE_STRERROR 1 50 51 /* Define if you have the strtoul function. */ 52 #define HAVE_STRTOUL 1 53 54 /* Define if you have the <sys/select.h> header file. */ 55 #define HAVE_SYS_SELECT_H 1 56 57 /* Name of package */ 58 #define PACKAGE "gifsicle" 59 60 /* Version number of package */ 61 #define VERSION "1.25" 62 63 64 #ifdef __cplusplus 65 extern "C" { 66 #endif 67 68 /* Use either the clean-failing malloc library in fmalloc.c, or the debugging 69 malloc library in dmalloc.c. */ 70 #ifdef DMALLOC 71 # include "dmalloc.h" 72 # define Gif_DeleteFunc (&debug_free) 73 # define Gif_DeleteArrayFunc (&debug_free) 74 #else 75 # include <stddef.h> 76 # define xmalloc(s) fail_die_malloc((s),__FILE__,__LINE__) 77 # define xrealloc(p,s) fail_die_realloc((p),(s),__FILE__,__LINE__) 78 # define xfree free 79 void *fail_die_malloc(size_t, const char *, int); 80 void *fail_die_realloc(void *, size_t, const char *, int); 81 #endif 82 83 /* Prototype strerror if we don't have it. */ 84 #ifndef HAVE_STRERROR 85 char *strerror(int errno); 86 #endif 87 88 #ifdef __cplusplus 89 } 90 /* Get rid of a possible inline macro under C++. */ 91 /* # undef inline */ 92 #endif 93 #endif 94