1 /* config.h.  Generated from config.h.in by configure.  */
2 /* config.h.in.  Generated from configure.in by autoheader.  */
3 /*
4  * @(#)$Id: acconfig.h,v 2.3 2009/01/14 18:21:06 baccala Exp $
5  *
6  * Copyright (C) 1996 - 2001 Tim Witham <twitham@quiknet.com>
7  *
8  * (see the files README and COPYING for more details)
9  *
10  * This file simply sets the program's compile-time options.
11  * Original shipped values are in (parentheses).
12  *
13  */
14 
15 /* I think these came from glade, not used much yet */
16 /* #undef ENABLE_NLS */
17 /* #undef HAVE_CATGETS */
18 /* #undef HAVE_GETTEXT */
19 /* #undef HAVE_LC_MESSAGES */
20 /* #undef HAVE_STPCPY */
21 /* #undef HAVE_LIBSM */
22 /* #undef PACKAGE_LOCALE_DIR */
23 /* for glade pixmaps, if any */
24 #define PACKAGE_DATA_DIR "${datarootdir}/xoscope"
25 #define PACKAGE_SOURCE_DIR "/home/baccala/src/xoscope-2-cvs"
26 /* for xoscope external math commands */
27 #define PACKAGE_LIBEXEC_DIR "NONE/libexec/xoscope"
28 
29 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
30    */
31 #define HAVE_DIRENT_H 1
32 
33 /* Define to 1 if you have the <fcntl.h> header file. */
34 #define HAVE_FCNTL_H 1
35 
36 /* Define to 1 if you have the `getcwd' function. */
37 #define HAVE_GETCWD 1
38 
39 /* Define to 1 if you have the <inttypes.h> header file. */
40 #define HAVE_INTTYPES_H 1
41 
42 /* Define to 1 if you have the `comedi' library (-lcomedi). */
43 #define HAVE_LIBCOMEDI 1
44 
45 /* Define to 1 if you have the `esd' library (-lesd). */
46 /* #undef HAVE_LIBESD */
47 
48 /* Define to 1 if you have the `m' library (-lm). */
49 #define HAVE_LIBM 1
50 
51 /* Define to 1 if you have the <limits.h> header file. */
52 #define HAVE_LIMITS_H 1
53 
54 /* Define to 1 if you have the <memory.h> header file. */
55 #define HAVE_MEMORY_H 1
56 
57 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
58 /* #undef HAVE_NDIR_H */
59 
60 /* Define to 1 if you have the `putenv' function. */
61 #define HAVE_PUTENV 1
62 
63 /* Define to 1 if you have the `select' function. */
64 #define HAVE_SELECT 1
65 
66 /* Define to 1 if you have the <stdint.h> header file. */
67 #define HAVE_STDINT_H 1
68 
69 /* Define to 1 if you have the <stdlib.h> header file. */
70 #define HAVE_STDLIB_H 1
71 
72 /* Define to 1 if you have the `strdup' function. */
73 #define HAVE_STRDUP 1
74 
75 /* Define to 1 if you have the <strings.h> header file. */
76 #define HAVE_STRINGS_H 1
77 
78 /* Define to 1 if you have the <string.h> header file. */
79 #define HAVE_STRING_H 1
80 
81 /* Define to 1 if you have the `strstr' function. */
82 #define HAVE_STRSTR 1
83 
84 /* Define to 1 if you have the `strtol' function. */
85 #define HAVE_STRTOL 1
86 
87 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
88    */
89 /* #undef HAVE_SYS_DIR_H */
90 
91 /* Define to 1 if you have the <sys/ioctl.h> header file. */
92 #define HAVE_SYS_IOCTL_H 1
93 
94 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
95    */
96 /* #undef HAVE_SYS_NDIR_H */
97 
98 /* Define to 1 if you have the <sys/stat.h> header file. */
99 #define HAVE_SYS_STAT_H 1
100 
101 /* Define to 1 if you have the <sys/time.h> header file. */
102 #define HAVE_SYS_TIME_H 1
103 
104 /* Define to 1 if you have the <sys/types.h> header file. */
105 #define HAVE_SYS_TYPES_H 1
106 
107 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
108 #define HAVE_SYS_WAIT_H 1
109 
110 /* Define to 1 if you have the <termio.h> header file. */
111 #define HAVE_TERMIO_H 1
112 
113 /* Define to 1 if you have the <unistd.h> header file. */
114 #define HAVE_UNISTD_H 1
115 
116 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
117    */
118 /* #undef MAJOR_IN_MKDEV */
119 
120 /* Define to 1 if `major', `minor', and `makedev' are declared in
121    <sysmacros.h>. */
122 /* #undef MAJOR_IN_SYSMACROS */
123 
124 /* Name of package */
125 #define PACKAGE "xoscope"
126 
127 /* Define to the address where bug reports for this package should be sent. */
128 #define PACKAGE_BUGREPORT ""
129 
130 /* Define to the full name of this package. */
131 #define PACKAGE_NAME ""
132 
133 /* Define to the full name and version of this package. */
134 #define PACKAGE_STRING ""
135 
136 /* Define to the one symbol short name of this package. */
137 #define PACKAGE_TARNAME ""
138 
139 /* Define to the version of this package. */
140 #define PACKAGE_VERSION ""
141 
142 /* Define as the return type of signal handlers (`int' or `void'). */
143 #define RETSIGTYPE void
144 
145 /* Define to 1 if you have the ANSI C header files. */
146 #define STDC_HEADERS 1
147 
148 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
149 #define TIME_WITH_SYS_TIME 1
150 
151 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
152 /* #undef TM_IN_SYS_TIME */
153 
154 /* Version number of package */
155 #define VERSION "2.0"
156 
157 /* Define to 1 if the X Window System is missing or not being used. */
158 /* #undef X_DISPLAY_MISSING */
159 
160 /* Define to empty if `const' does not conform to ANSI C. */
161 /* #undef const */
162 
163 /* Define to `unsigned int' if <sys/types.h> does not define. */
164 /* #undef size_t */
165 
166 /* program defaults for the command-line options (original values) */
167 #define DEF_A	1		/* 1-8 (1) */
168 #define DEF_R	44100		/* 8000,11025,22050,44100 (44100) */
169 #define DEF_S	10		/* 1,2,5,10,20,50,100,200,500,1000 (10) */
170 #define DEF_T	"0:0:x"		/* -128-127:0,1,2:x,y ("0:0:x") */
171 #define DEF_L	"1:1:0"		/* 1-MAXWID:1-MAXWID:0,1 ("1:1:0") */
172 #define DEF_D	4		/* 1,2,4 (4) */
173 #define DEF_F	""		/* console font, "" = default ("") */
174 #define DEF_FX	"8x16"		/* X11 font ("8x16") */
175 #define DEF_P	2		/* 0,1,2 (2) */
176 #define DEF_G	2		/* 0,1,2 (2) */
177 #define DEF_B	0		/* 0,1 (0) */
178 #define DEF_V	0		/* 0,1 (0) */
179 #define DEF_X	0		/* 0,1 (0) don't use sound card? */
180 #define DEF_Z	0		/* 0,1 (0) don't search for Serial Scope? */
181 
182 /* maximum number of samples stored in memories (1024 * 256) */
183 #define MAXWID		1024 * 256
184 
185 /* The first few samples after a reset seem invalid.  If you see
186    strange "glitches" at the left edge of the screen, increase this (32) */
187 #define SAMPLESKIP	32
188 
189 /* maximum samples to discard at each pass if we have too many (16384) */
190 #define DISCARDBUF 16384
191 
192 /* max number of channels, up to 8 (8) */
193 #define CHANNELS	8
194 
195 /* minimum number of milliseconds between refresh on libsx version (30) */
196 #define MSECREFRESH	30
197 /* a lower number here can increase refresh rate but at the expense of
198    interactive response time as the X server becomes too busy */
199 
200 /* bourne shell command for X11 Help ("man -Tutf8 xoscope 2>&1") */
201 #define HELPCOMMAND	"man -Tutf8 xoscope 2>&1"
202 
203 /* default file name ("oscope.dat") */
204 #define FILENAME	"oscope.dat"
205 
206 /* default external command pipe to run ("operl '$x + $y'") */
207 #define COMMAND		"operl '$x + $y'"
208 
209 /* FFT length, shorter than minimum screen width and multiple of 2 (512) */
210 #define FFTLEN	512
211 
212 /* preferred path to probescope serial device ("/dev/probescope") */
213 #define PROBESCOPE "/dev/probescope"
214 
215 /* preferred path to bitscope serial device ("/dev/bitscope") */
216 #define BITSCOPE "/dev/bitscope"
217