home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / octa21fs.zip / octave / octave-2.1.23 / config.emx < prev    next >
Text File  |  2000-01-15  |  6KB  |  275 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_CLOSE
  81. #define HAVE_DUP
  82. #define HAVE_DUP2
  83. #undef  HAVE_ENDGRENT
  84. #define HAVE_ENDPWENT
  85. #undef  HAVE_ERF
  86. #undef  HAVE_ERFC
  87. #define HAVE_EXECVP
  88. #define HAVE_FCNTL
  89. #define HAVE_FDOPEN
  90. #define HAVE_FINITE
  91. #undef  HAVE_FORK
  92. #undef  HAVE_GAMMA
  93. #define HAVE_GETCWD
  94. #undef  HAVE_GETEGID
  95. #undef  HAVE_GETEUID
  96. #undef  HAVE_GETGID
  97. #undef  HAVE_GETGRENT
  98. #undef  HAVE_GETGRGID
  99. #undef  HAVE_GETGRNAM
  100. #undef  HAVE_GETHOSTNAME
  101. #undef  HAVE_GETPGRP
  102. #define HAVE_GETPID
  103. #define HAVE_GETPPID
  104. #define HAVE_GETPWENT
  105. #define HAVE_GETPWNAM
  106. #define HAVE_GETPWUID
  107. #undef  HAVE_GETRUSAGE
  108. #undef  HAVE_GETUID
  109. #define HAVE_GETWD
  110. #define HAVE_GETTIMEOFDAY
  111. #undef  HAVE_INFINITY
  112. #define HAVE_ISINF
  113. #define HAVE_ISNAN
  114. #undef  HAVE_LGAMMA
  115. #undef  HAVE_LSTAT
  116. #define HAVE_MEMMOVE
  117. #define HAVE_MKDIR
  118. #define HAVE_MKFIFO
  119. #undef  HAVE_ON_EXIT
  120. #define HAVE_PIPE
  121. #undef  HAVE_PROGRAM_INVOCATION_NAME
  122. #define HAVE_PUTENV
  123. #undef  HAVE_QUIET_NAN
  124. #define HAVE_RENAME
  125. #undef  HAVE_RINDEX
  126. #define HAVE_RMDIR
  127. #undef  HAVE_SETGRENT
  128. #undef  HAVE_SETPWENT
  129. #define HAVE_SETVBUF
  130. #define HAVE_SPAWNVP
  131. #undef  HAVE_STRCASECMP
  132. #define HAVE_STRDUP
  133. #define HAVE_STRERROR
  134. #define HAVE_STRFTIME
  135. #define HAVE_STRICMP
  136. #undef  HAVE_STRNCASECMP
  137. #define HAVE_STRNICMP
  138. #define HAVE_SIGACTION
  139. #define HAVE_SIGPENDING
  140. #define HAVE_SIGPROCMASK
  141. #define HAVE_SIGSUSPEND
  142. #undef  HAVE_ST_BLKSIZE
  143. #undef  HAVE_ST_BLOCKS
  144. #define HAVE_ST_RDEV
  145. #define HAVE_STAT
  146. #undef  HAVE_SYS_SIGLIST
  147. #define HAVE_TIMES
  148. #define HAVE_TEMPNAM
  149. #undef  HAVE_TM_ZONE
  150. #define HAVE_TZNAME
  151. #define HAVE_UMASK
  152. #undef  HAVE_USG_SIGHOLD
  153. #undef  HAVE_USLEEP
  154. #define HAVE_UNLINK
  155. #define HAVE_VFPRINTF
  156. #define HAVE_VSPRINTF
  157. #define HAVE_WAITPID
  158. #define HAVE__SLEEP2
  159.  
  160.  
  161. /* Headers */
  162. #define HAVE_ALLOCA_H
  163. #define HAVE_ASSERT_H
  164. #define HAVE_CURSES_H
  165. #define HAVE_DIRENT_H
  166. #define HAVE_DLFCN_H
  167. #define HAVE_FCNTL_H
  168. #define HAVE_FLOAT_H
  169. #undef  HAVE_FLOATINGPOINT_H
  170. #define HAVE_GRP_H
  171. #undef  HAVE_IEEEFP_H
  172. #define HAVE_LIMITS_H
  173. #define HAVE_MEMORY_H
  174. #undef  HAVE_NAN_H
  175. #undef  HAVE_NCURSES_H
  176. #undef  HAVE_NDIR_H
  177. #define HAVE_PWD_H
  178. #define HAVE_SGTTY_H
  179. #define HAVE_STDLIB_H
  180. #define HAVE_STRING_H
  181. #define HAVE_SYS_DIR_H
  182. #define HAVE_SYS_FCNTL_H
  183. #undef  HAVE_SYS_NDIR_H
  184. #define HAVE_SYS_PARAM_H
  185. #undef  HAVE_SYS_PTEM_H
  186. #define HAVE_SYS_RESOURCE_H
  187. #undef  HAVE_SYS_SELECT_H
  188. #define HAVE_SYS_STAT_H
  189. #define HAVE_SYS_TIME_H
  190. #define HAVE_SYS_TIMES_H
  191. #undef  HAVE_SYS_TTOLD_H
  192. #define HAVE_SYS_TYPES_H
  193. #define HAVE_SYS_UTSNAME_H
  194. #define HAVE_SYS_WAIT_H
  195. #define HAVE_TERMCAP_H
  196. #define HAVE_TERMIO_H
  197. #undef  HAVE_TERMIOS_H
  198. #define HAVE_UNISTD_H
  199. #define HAVE_VARARGS_H
  200.  
  201.  
  202. /* Libraries */
  203. #undef  HAVE_LIBDL
  204. #undef  HAVE_LIBDLD
  205. #undef  HAVE_LIBGLOB
  206. #define HAVE_LIBM
  207. #define HAVE_LIBSOCKET
  208. #undef  HAVE_LIBSUN
  209. #undef  HAVE_LIBSUNMATH
  210.  
  211.  
  212. /* Definitions in <sys/types.h> */
  213. #undef  gid_t
  214. #undef  mode_t
  215. #undef  off_t
  216. #undef  pid_t
  217. #undef  size_t
  218. #undef  uid_t
  219. #undef  dev_t
  220. #undef  ino_t
  221. #undef  nlink_t
  222. #undef  sigset_t
  223.  
  224.  
  225. /* Dynamic linking. */
  226. #define WITH_DYNAMIC_LINKING
  227. #define WITH_DL
  228. #define HAVE_DLCLOSE
  229. #define HAVE_DLERROR
  230. #define HAVE_DLOPEN
  231. #define HAVE_DLSYM
  232. #undef  WITH_SHL
  233. #undef  HAVE_SHL_FINDSYM
  234. #undef  HAVE_SHL_LOAD
  235.  
  236.  
  237. /* Octave specific defines */
  238. #undef  OCTAVE_LITE
  239. #define OCTAVE_SOURCE
  240. #undef  BOUNDS_CHECKING
  241. #define USE_GNU_INFO
  242. #define USE_READLINE
  243. #define WITH_KPATHSEARCH
  244.  
  245.  
  246. /* Plotting */
  247. #undef  GNUPLOT_HAS_FRAMES
  248. #define GNUPLOT_HAS_MULTIPLOT
  249. #undef  USE_PLPLOT
  250.  
  251.  
  252. #if defined (__GNUC__)
  253. #define GCC_ATTR_NORETURN __attribute__ ((__noreturn__))
  254. #define GCC_ATTR_UNUSED __attribute__ ((__unused__))
  255. #else
  256. #define GCC_ATTR_NORETURN
  257. #define GCC_ATTR_UNUSED
  258. #endif
  259.  
  260. #if defined (__GNUC__)
  261. #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 7)
  262. #define NPOS string::npos
  263. #endif
  264. #endif
  265.  
  266. #define CONST_CAST(T, E) (T) (E)
  267. #define DYNAMIC_CAST(T, E) (T) (E)
  268. #define REINTERPRET_CAST(T, E) (T) (E)
  269. #define STATIC_CAST(T, E) (T) (E)
  270. #define X_CAST(T, E) (T) (E)
  271.  
  272. #define HEAVYWEIGHT_INDEXING 1
  273.  
  274. #endif /* defined (EMX09C) */
  275.