home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / octa21eb.zip / octave / PATOS2.ZIP / config.emx < prev    next >
Text File  |  1999-04-21  |  6KB  |  272 lines

  1. /* config.emx.  */
  2. /* OS/2-Config-Header. */
  3. /* (c) Klaus Gebhardt, 1994 - 1997 */
  4.  
  5. #ifdef _ALL_SOURCE
  6. #undef _ALL_SOURCE
  7. #endif
  8.  
  9. #ifdef EMX09D
  10. #define EMX09C
  11. #define CXX_NEW_FRIEND_TEMPLATE_DECL
  12. #endif
  13.  
  14.  
  15. #if defined (EMX09C)
  16.  
  17. /* Special EMX */
  18. #define isinf(x)   (!isfinite(x) && !isnan(x))
  19. #define finite(x)  isfinite(x)
  20. #define Complex double_complex
  21. #define octave_procbuf procbuf
  22.  
  23.  
  24. /* Misc */
  25. #undef  const
  26. #undef  CRAY_STACKSEG_END
  27. #undef  _MINIX
  28. #undef  _POSIX_1_SOURCE
  29. #undef  _POSIX_SOURCE
  30. #undef  HAVE_BSD_SIGNALS
  31. #undef  HAVE_POSIX_SIGNALS
  32. #undef  SYS_SIGLIST_DECLARED
  33. #undef  HAVE_SYS_SIGLIST
  34. #define RETSIGTYPE void
  35. #define MUST_REINSTALL_SIGHANDLERS
  36. #define SEPCHAR ';'
  37. #define SEPCHAR_STR ";"
  38. #undef  CLOSEDIR_VOID
  39. #undef  SETVBUF_REVERSED
  40. #define STACK_DIRECTION 0
  41. #define STDC_HEADERS
  42. #define TIME_WITH_SYS_TIME
  43. #define TM_IN_SYS_TIME
  44. #undef  HAVE_GR_PASSWD
  45. #define C_ALLOCA
  46. #define DIRENT
  47. #undef  GETTIMEOFDAY_NO_TZ 
  48. #undef  SMART_PUTENV
  49. #undef  SCO
  50. #undef  RUSAGE_TIMES_ONLY
  51.  
  52.  
  53. /* Numbers */
  54. #undef  IEEE_BIG_ENDIAN
  55. #define IEEE_LITTLE_ENDIAN
  56. #undef  WORDS_BIGENDIAN
  57. #undef  VAX_D_FLOAT
  58. #undef  VAX_G_FLOAT
  59. #define SIZEOF_INT 4
  60. #define SIZEOF_LONG 4
  61. #define SIZEOF_SHORT 2
  62. #undef  SIGNGAM_DECLARED
  63. #undef  EXCEPTION_IN_MATH
  64.  
  65.  
  66. /* Fortran */
  67. #define F77_APPEND_UNDERSCORE
  68. #undef  F77_UPPERCASE_NAMES
  69.  
  70.  
  71. /* Functions */
  72. #define HAVE_ALLOCA
  73. #undef  HAVE_ASINH
  74. #undef  HAVE_ACOSH
  75. #undef  HAVE_ATANH
  76. #define HAVE_ATEXIT
  77. #define HAVE_BCOPY
  78. #define HAVE_BCOPY
  79. #define HAVE_BZERO
  80. #define HAVE_DUP
  81. #define HAVE_DUP2
  82. #undef  HAVE_ENDGRENT
  83. #define HAVE_ENDPWENT
  84. #undef  HAVE_ERF
  85. #undef  HAVE_ERFC
  86. #define HAVE_EXECVP
  87. #define HAVE_FCNTL
  88. #define HAVE_FINITE
  89. #undef  HAVE_FORK
  90. #undef  HAVE_GAMMA
  91. #define HAVE_GETCWD
  92. #undef  HAVE_GETEGID
  93. #undef  HAVE_GETEUID
  94. #undef  HAVE_GETGID
  95. #undef  HAVE_GETGRENT
  96. #undef  HAVE_GETGRGID
  97. #undef  HAVE_GETGRNAM
  98. #undef  HAVE_GETHOSTNAME
  99. #undef  HAVE_GETPGRP
  100. #define HAVE_GETPID
  101. #define HAVE_GETPPID
  102. #define HAVE_GETPWENT
  103. #define HAVE_GETPWNAM
  104. #define HAVE_GETPWUID
  105. #undef  HAVE_GETRUSAGE
  106. #undef  HAVE_GETUID
  107. #define HAVE_GETWD
  108. #define HAVE_GETTIMEOFDAY
  109. #undef  HAVE_INFINITY
  110. #define HAVE_ISINF
  111. #define HAVE_ISNAN
  112. #undef  HAVE_LGAMMA
  113. #undef  HAVE_LSTAT
  114. #define HAVE_MEMMOVE
  115. #define HAVE_MKDIR
  116. #define HAVE_MKFIFO
  117. #undef  HAVE_ON_EXIT
  118. #define HAVE_PIPE
  119. #undef  HAVE_PROGRAM_INVOCATION_NAME
  120. #define HAVE_PUTENV
  121. #undef  HAVE_QUIET_NAN
  122. #define HAVE_RENAME
  123. #undef  HAVE_RINDEX
  124. #define HAVE_RMDIR
  125. #undef  HAVE_SETGRENT
  126. #undef  HAVE_SETPWENT
  127. #define HAVE_SETVBUF
  128. #define HAVE_SPAWNVP
  129. #undef  HAVE_STRCASECMP
  130. #define HAVE_STRDUP
  131. #define HAVE_STRERROR
  132. #define HAVE_STRFTIME
  133. #define HAVE_STRICMP
  134. #undef  HAVE_STRNCASECMP
  135. #define HAVE_STRNICMP
  136. #define HAVE_SIGACTION
  137. #define HAVE_SIGPENDING
  138. #define HAVE_SIGPROCMASK
  139. #define HAVE_SIGSUSPEND
  140. #undef  HAVE_ST_BLKSIZE
  141. #undef  HAVE_ST_BLOCKS
  142. #define HAVE_ST_RDEV
  143. #define HAVE_STAT
  144. #undef  HAVE_SYS_SIGLIST
  145. #define HAVE_TIMES
  146. #define HAVE_TEMPNAM
  147. #undef  HAVE_TM_ZONE
  148. #define HAVE_TZNAME
  149. #define HAVE_UMASK
  150. #undef  HAVE_USG_SIGHOLD
  151. #undef  HAVE_USLEEP
  152. #define HAVE_UNLINK
  153. #define HAVE_VFPRINTF
  154. #define HAVE_VSPRINTF
  155. #define HAVE_WAITPID
  156. #define HAVE__SLEEP2
  157.  
  158.  
  159. /* Headers */
  160. #define HAVE_ALLOCA_H
  161. #define HAVE_ASSERT_H
  162. #define HAVE_CURSES_H
  163. #define HAVE_DIRENT_H
  164. #define HAVE_FCNTL_H
  165. #define HAVE_FLOAT_H
  166. #undef  HAVE_FLOATINGPOINT_H
  167. #define HAVE_GRP_H
  168. #undef  HAVE_IEEEFP_H
  169. #define HAVE_LIMITS_H
  170. #define HAVE_MEMORY_H
  171. #undef  HAVE_NAN_H
  172. #undef  HAVE_NCURSES_H
  173. #undef  HAVE_NDIR_H
  174. #define HAVE_PWD_H
  175. #define HAVE_SGTTY_H
  176. #define HAVE_STDLIB_H
  177. #define HAVE_STRING_H
  178. #define HAVE_SYS_DIR_H
  179. #define HAVE_SYS_FCNTL_H
  180. #undef  HAVE_SYS_NDIR_H
  181. #define HAVE_SYS_PARAM_H
  182. #undef  HAVE_SYS_PTEM_H
  183. #define HAVE_SYS_RESOURCE_H
  184. #undef  HAVE_SYS_SELECT_H
  185. #define HAVE_SYS_STAT_H
  186. #define HAVE_SYS_TIME_H
  187. #define HAVE_SYS_TIMES_H
  188. #undef  HAVE_SYS_TTOLD_H
  189. #define HAVE_SYS_TYPES_H
  190. #define HAVE_SYS_UTSNAME_H
  191. #define HAVE_SYS_WAIT_H
  192. #define HAVE_TERMCAP_H
  193. #define HAVE_TERMIO_H
  194. #undef  HAVE_TERMIOS_H
  195. #define HAVE_UNISTD_H
  196. #define HAVE_VARARGS_H
  197.  
  198.  
  199. /* Libraries */
  200. #undef  HAVE_LIBDL
  201. #undef  HAVE_LIBDLD
  202. #undef  HAVE_LIBGLOB
  203. #define HAVE_LIBM
  204. #define HAVE_LIBSOCKET
  205. #undef  HAVE_LIBSUN
  206. #undef  HAVE_LIBSUNMATH
  207.  
  208.  
  209. /* Definitions in <sys/types.h> */
  210. #undef  gid_t
  211. #undef  mode_t
  212. #undef  off_t
  213. #undef  pid_t
  214. #undef  size_t
  215. #undef  uid_t
  216. #undef  dev_t
  217. #undef  ino_t
  218. #undef  nlink_t
  219. #undef  sigset_t
  220.  
  221.  
  222. /* Dynamic linking. */
  223. #define WITH_DYNAMIC_LINKING
  224. #define WITH_DL
  225. #define HAVE_DLCLOSE
  226. #define HAVE_DLERROR
  227. #define HAVE_DLOPEN
  228. #define HAVE_DLSYM
  229. #undef  WITH_SHL
  230. #undef  HAVE_SHL_FINDSYM
  231. #undef  HAVE_SHL_LOAD
  232.  
  233.  
  234. /* Octave specific defines */
  235. #undef  OCTAVE_LITE
  236. #define OCTAVE_SOURCE
  237. #undef  BOUNDS_CHECKING
  238. #define USE_GNU_INFO
  239. #define USE_READLINE
  240. #define WITH_KPATHSEARCH
  241.  
  242.  
  243. /* Plotting */
  244. #undef  GNUPLOT_HAS_FRAMES
  245. #define GNUPLOT_HAS_MULTIPLOT
  246. #undef  USE_PLPLOT
  247.  
  248.  
  249. #if defined (__GNUC__)
  250. #define GCC_ATTR_NORETURN __attribute__ ((__noreturn__))
  251. #define GCC_ATTR_UNUSED __attribute__ ((__unused__))
  252. #else
  253. #define GCC_ATTR_NORETURN
  254. #define GCC_ATTR_UNUSED
  255. #endif
  256.  
  257. #if defined (__GNUC__)
  258. #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 7)
  259. #define NPOS string::npos
  260. #endif
  261. #endif
  262.  
  263. #define CONST_CAST(T, E) (T) (E)
  264. #define DYNAMIC_CAST(T, E) (T) (E)
  265. #define REINTERPRET_CAST(T, E) (T) (E)
  266. #define STATIC_CAST(T, E) (T) (E)
  267. #define X_CAST(T, E) (T) (E)
  268.  
  269. #define HEAVYWEIGHT_INDEXING 1
  270.  
  271. #endif /* defined (EMX09C) */
  272.