1/***************************************************************************
2JSPICE3 adaptation of Spice3f4 - Copyright (c) Stephen R. Whiteley 1994
3Copyright 1990 Regents of the University of California.  All rights reserved.
4Authors: 1994 Stephen R. Whiteley
5****************************************************************************
6* Configuration File for UNIX
7****************************************************************************/
8
9#define DIR_CWD           "."
10#define DIR_PATHSEP       "/"
11#define DIR_TERM          '/'
12#define TEMPFORMAT        "/tmp/%s%d"
13
14#define SYSTEM_PLOT5LPR   "lpr -h -P%s -g %s"
15#define SYSTEM_PSLPR      "lpr -h -P%s %s"
16#define SYSTEM_MAIL       "mail -s \"%s (%s) Bug Report\" %s"
17
18#undef STDC_HEADERS
19#undef TIME_WITH_SYS_TIME
20#undef HAVE_DIRENT_H
21#undef HAVE_FCNTL_H
22#undef HAVE_FLOAT_H
23#undef HAVE_LIMITS_H
24#undef HAVE_SGTTY_H
25#undef HAVE_STRINGS_H
26#undef HAVE_SYS_DIR_H
27#undef HAVE_SYS_FILE_H
28#undef HAVE_SYS_IOCTL_H
29#undef HAVE_SYS_TIME_H
30#undef HAVE_SYS_WAIT_H
31#undef HAVE_TERMIO_H
32#undef HAVE_TERMIOS_H
33#undef HAVE_UNISTD_H
34
35#undef HAVE_ACCESS
36#undef HAVE_BCOPY
37#undef HAVE_CHDIR
38#undef HAVE_CLEARERR
39#undef HAVE_DUP2
40#undef HAVE_FORK
41#undef HAVE_FTIME
42#undef HAVE_GETCWD
43#undef HAVE_GETENV
44#undef HAVE_GETHOSTNAME
45#undef HAVE_GETPID
46#undef HAVE_GETPWUID
47#undef HAVE_GETRLIMIT
48#undef HAVE_GETRUSAGE
49#undef HAVE_GETTIMEOFDAY
50#undef HAVE_GETWD
51#undef HAVE_INDEX
52#undef HAVE_ISATTY
53#undef HAVE_KILL
54#undef HAVE_PERROR
55#undef HAVE_POPEN
56#undef HAVE_QSORT
57#undef HAVE_RAISE
58#undef HAVE_SELECT
59#undef HAVE_SETJMP
60#undef HAVE_SIGNAL
61#undef HAVE_SOCKET
62#undef HAVE_SRAND
63#undef HAVE_SRANDOM
64#undef HAVE_STAT
65#undef HAVE_STRCHR
66#undef HAVE_SYSTEM
67#undef HAVE_TGETENT
68#undef HAVE_TIMES
69#undef HAVE_ULIMIT
70#undef HAVE_UNLINK
71#undef HAVE_VFORK
72#undef HAVE_VPRINTF
73#undef HAVE_WAIT3
74#undef HAVE_ACOSH
75#undef HAVE_ERFC
76
77#define RETSIGTYPE void
78
79#ifndef HAVE_INDEX
80#ifdef HAVE_STRCHR
81#define index strchr
82#define rindex strrchr
83#endif
84#else
85#ifndef HAVE_STRCHR
86#define strchr index
87#define strrchr rindex
88#endif
89#endif
90
91#ifndef HAVE_KILL
92#ifdef HAVE_RAISE
93#define kill(pid,sig) raise(sig)
94#endif
95#endif
96
97#ifndef HAVE_SRANDOM
98#ifdef HAVE_SRAND
99#define srandom srand
100#define random rand
101#endif
102#endif
103
104#ifndef X_DISPLAY_MISSING
105#define AVAIL_X11
106#endif
107#define AVAIL_MFB
108