/* config.h: master configuration file, included first by all compilable source files (not headers). */ #ifndef CONFIG_H #define CONFIG_H /* The stuff from the path searching library. */ #include #include /* xdvi wants to use HAS_SIGIO, but the right name for the configure symbol is HAVE_SIGIO. Adjust. */ #ifdef HAVE_SIGIO #define HAS_SIGIO 0 #else #undef HAS_SIGIO #endif #ifndef HAVE_VPRINTF #ifdef HAVE_DOPRNT #define vfprintf(stream, message, args) _doprnt(message, args, stream) /* If we have neither, should fall back to fprintf with fixed args. */ #endif #endif /* Some xdvi options we want by default. */ #define USE_PK #define USE_GF #define MAKEPK #ifndef NOSELFILE #define SELFILE #endif #ifndef NOBUTTONS #define BUTTONS #endif #ifndef NOGREY #define GREY #endif #ifndef NOGRID #define GRID #endif #ifndef NOTEXXET #define TEXXET #endif #if defined (HAVE_LIBWWW) && defined (HAVE_WWWLIB_H) #define HTEX #endif /* On the other hand, NOTOOL means we lose practically everything. */ #ifdef NOTOOL #undef SELFILE #undef BUTTONS #undef GRID #undef HTEX #endif /* NOTOOL */ /* xdvi's definitions. */ #include "xdvi.h" #endif /* not CONFIG_H */