home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / unixtex-6.1b-src.tgz / tar.out / contrib / unixtex / dvipsk / config.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  1KB  |  58 lines

  1. /* config.h: master configuration file, included first by all compilable
  2.    source files (not headers).  */
  3.  
  4. #ifndef CONFIG_H
  5. #define CONFIG_H
  6.  
  7. /* The stuff from the path searching library.  */
  8. #include <kpathsea/config.h>
  9.  
  10. /* How to open files with fopen.  */
  11. #include <kpathsea/c-fopen.h>
  12.  
  13. /* Have to get the enum constants below, sigh.  Still better than
  14.    repeating the definitions everywhere we need them.  */
  15. #include <kpathsea/tex-file.h>
  16.  
  17. /* For kpathsea, we don't have have paths, we have formats.  This is so
  18.    we can do lazy evaluation of only the formats we need, instead of
  19.    having to initialize everything in the world.  */
  20. #define figpath kpse_pict_format
  21. #define pictpath kpse_pict_format
  22. #define pkpath kpse_pk_format
  23. #define tfmpath kpse_tfm_format
  24. #define vfpath kpse_vf_format
  25. #define configpath kpse_dvips_config_format
  26. #define headerpath kpse_dvips_header_format
  27.  
  28.  
  29. #if defined (DOS) || defined (MSDOS)
  30. #undef DOS
  31. #undef MSDOS
  32. #define DOS
  33. #define MSDOS
  34. #endif
  35.  
  36. /* dvips has a different name for this.  */
  37. #if SIZEOF_INT < 4
  38. #define SHORTINT
  39. #endif
  40.  
  41. #define READ FOPEN_R_MODE
  42. #define READBIN FOPEN_RBIN_MODE
  43. #define WRITEBIN FOPEN_WBIN_MODE
  44.  
  45. /* Include debugging by default.  */
  46. #ifndef NO_DEBUG
  47. #undef DEBUG
  48. #define DEBUG
  49.  
  50. /* To pass along to kpathsea.  (Avoid changing debug.h.)  */
  51. #define D_STAT        (1<<8)
  52. #define D_HASH        (1<<9)
  53. #define D_EXPAND    (1<<10)
  54. #define D_SEARCH    (1<<11)
  55. #endif
  56.  
  57. #endif /* not CONFIG_H */
  58.