home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / octa21fs.zip / octave / kpathsea / config.h < prev    next >
C/C++ Source or Header  |  2000-01-15  |  3KB  |  71 lines

  1. /* config.h: master configuration file, included first by all compilable
  2.    source files (not headers).
  3.  
  4. Copyright (C) 1993, 95, 96 Free Software Foundation, Inc.
  5.  
  6. This library is free software; you can redistribute it and/or
  7. modify it under the terms of the GNU Library General Public
  8. License as published by the Free Software Foundation; either
  9. version 2 of the License, or (at your option) any later version.
  10.  
  11. This library is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  14. Library General Public License for more details.
  15.  
  16. You should have received a copy of the GNU Library General Public
  17. License along with this library; if not, write to the Free Software
  18. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
  19.  
  20. #ifndef KPATHSEA_CONFIG_H
  21. #define KPATHSEA_CONFIG_H
  22.  
  23. #ifdef WIN32
  24. #define __STDC__ 1
  25. #include "../win32/win32-compat.h"
  26. #endif /* not WIN32 */
  27.  
  28. /* System dependencies that are figured out by `configure'.  If we are
  29.    compiling standalone, we get our c-auto.h.  Otherwise, the package
  30.    containing us must provide this (unless it can somehow generate ours
  31.    from c-auto.h.in).  We use <...> instead of "..." so that the current
  32.    cpp directory (i.e., kpathsea/) won't be searched. */
  33. #include <c-auto.h>
  34.  
  35. #include <kpathsea/c-std.h>    /* <stdio.h>, <math.h>, etc.  */
  36.  
  37. #include <kpathsea/c-proto.h>  /* Macros to discard or keep prototypes.  */
  38.  
  39. #include <kpathsea/debug.h>    /* Runtime tracing.  */
  40. #include <kpathsea/lib.h>      /* STREQ, etc. */
  41. #include <kpathsea/types.h>    /* <sys/types.h>, boolean, string, etc. */
  42. #include <kpathsea/progname.h> /* for program_invocation_*name */
  43.  
  44. /* System defines are for non-Unix systems only.  (Testing for all Unix
  45.    variations should be done in configure.)  Presently the defines used
  46.    are: AMIGA DOS OS2 VMCMS VMS WIN32.  I do not use any of these systems
  47.    myself; if you do, I'd be grateful for any changes. --kb@mail.tug.org */
  48.    
  49. /* If we have either DOS or OS2, we are DOSISH.  */
  50. #if defined (DOS) || defined (OS2) || defined (WIN32)
  51. #define DOSISH
  52. #endif
  53.  
  54. /* If you want to find subdirectories in a directory with non-Unix
  55.    semantics (specifically, if a directory with no subdirectories does
  56.    not have exactly two links), define this.  */
  57. #if !defined (DOSISH) && !defined (VMS) && !defined (VMCMS)
  58. #define ST_NLINK_TRICK
  59. #endif /* not DOS and not VMS and not VMCMS */
  60.  
  61. #ifdef AMIGA
  62. /* No popen/pclose on Amiga, but rather than put #ifdef's in tex-make.c,
  63.    let's get rid of the functions here.  (CallMF will automatically
  64.    generate fonts.)  pclose must not be simply empty, since it still
  65.    occurs in a comparison.  */
  66. #define popen(cmd, mode) NULL
  67. #define pclose(file) 0
  68. #endif /* AMIGA */
  69.  
  70. #endif /* not KPATHSEA_CONFIG_H */
  71.