~ubuntu-branches/ubuntu/lucid/graphviz/lucid-updates

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
# Run using: iffe - set cc cc : run configdata > out
# Second cc can be replace with $(CC) $(CFLAGS)
set config
iff GVIZ_CONFIG
cat{
}end
lib __freadable
lib cbrt math.h -lm
lib setenv
lib vsnprintf
lib setmode
lib iconv
lib lsqrt
lib drand48
lib feenableexcept -D_GNU_SOURCE fenv.h -lm
lib fesetenv -D_GNU_SOURCE fenv.h -lm
lib lrand48
lib srand48
lib sincos
lib strcasecmp
lib strncasecmp
lib strerror

hdr dirent
hdr dlfcn
hdr errno
hdr fenv
hdr fpu_control
hdr ft2build
hdr getopt
hdr iconv
hdr inttypes
hdr limits
hdr malloc
hdr ndir
hdr netdb
hdr search
hdr stdarg
hdr stdbool
hdr stddef
hdr stdint
hdr stdlib
hdr string
hdr strings
hdr termios
hdr unistd
hdr values

sys types
sys socket
sys mman
sys stat
sys select
sys fpu
sys ndir
cat{ }end

dat errno stdio.h errno.h yes{
/* Define if errno is declared in system include files.  */
#define HAVE_ERRNO_DECL 1
}end

#  Specify internal structure of FILE.
#  This is used to determine if more characters are waiting in the stream.
if mem - FILE._cnt stdio.h {
/* Define if FILE has _cnt field */
#define HAVE_FILE_CNT 1
}
elif mem - FILE._IO_read_end stdio.h {
/* Define if FILE has _IO_read_end field */
#define HAVE_FILE_IO_READ_END 1
}
elif mem - FILE.next stdio.h {
/* Define if FILE has next field */
#define HAVE_FILE_NEXT 1
}
elif mem - FILE._r stdio.h {
/* Define if FILE has _r field */
#define HAVE_FILE_R 1
}
else {
# error "Unknown field in FILE for remaining characters"
}
endif

link{
    #if HAVE_STDLIB_H
    #include <stdlib.h>
    #endif
    #if HAVE_STDINT_H
    #include <stdint.h>
    #endif
    #if HAVE_INTTYPES_H
    #include <inttypes.h>
    #endif
    #if HAVE_UNISTD_H
    #include <unistd.h>
    #endif
    intptr_t  abc;
    int main() {}
}end yes{
/* Define if intptr_t is declared */
#define HAVE_INTPTR_T 1
}end

link{
    #if HAVE_NETDB_H
    #include <netdb.h>
    #endif
    #if HAVE_SYS_SOCKET_H
    #include <sys/socket.h>
    #endif
    #if HAVE_UNISTD_H
    #include <unistd.h>
    #endif
    socklen_t  abc;
    int main() {}
}end yes{
/* Define if intptr_t is declared */
#define HAVE_SOCKLEN_T 1
}end

compile{
    #ifdef HAVE_STDBOOL_H
    #include <stdbool.h>
    #endif
    bool xx = true, yy = false; 
}end yes{
/* Define to 1 if compiler supports bool */
#define HAVE_BOOL 1
}end

compile{
    #include <iconv.h>
    iconv_t xx; 
}end yes{
/* Define if <iconv.h> defines iconv_t. */
#define HAVE_ICONV_T_DEF 1
}end

compile{
    #include <sys/types.h>
    #include <fcntl.h>
    #include <stdio.h>
    struct dioattr  xx; 
}end yes{
/* Define if you have struct dioattr in <sys/fcntl.h>. */
#define HAVE_STRUCT_DIOATTR 1
}end

compile{
    #include <fenv.h>
    void foo() {fesetenv (FE_NONIEEE_ENV);} 
}end yes{
/* Define if FE_NONIEEE_ENV defined in <fenv.h>. */
#define FE_NONIEEE_ENV 1
}end

# libgd features
cat{
/*******************************************************************/
/* Undefine if you don't want the libgd features or don't have the */
/* necessary 3rd party library.                                    */
/*******************************************************************/
/* Define if the GD library has the GD_FONTCONFIG feature */
#define HAVE_GD_FONTCONFIG 1

/* Define if the GD library has the GD_FREETYPE feature */
#define HAVE_GD_FREETYPE 1

/* Define if the GD library has the GD_GIF feature */
#define HAVE_GD_GIF 1

/* Define if the GD library has the GD_JPEG feature */
#define HAVE_GD_JPEG 1

/* Define if the GD library has the GD_PNG feature */
#define HAVE_GD_PNG 1

/* Define if either internal or external GD library is available */
#define HAVE_LIBGD 1
}end

# 3rd party libraries features
cat{
/*******************************************************************/
/* Undefine if you don't have the necessary 3rd party library.     */
/*******************************************************************/
/* Define if you have the jpeg library (-ljpeg).  */
#define	HAVE_LIBJPEG    1

/* Define if you have the `m' library (-lm). */
#define HAVE_LIBM 1

/* Define if you have the png library (-lpng).  */
#define HAVE_LIBPNG     1	

/* Define if you have the freetype library (-lfreetype),  */
#define	HAVE_LIBFREETYPE   1

/* Define to 1 if you have the <ft2build.h> header file. */
#define HAVE_FT2BUILD_H 1

/* Define if you have the FONTCONFIG library */
#define HAVE_LIBFONTCONFIG 1

/* Define if you have the z library (-lz).  */
#define HAVE_LIBZ       1

/* Define if you have the expat library (-lexpat). */
#define HAVE_LIBEXPAT       1

/* Define if you have the xpm library (-lXpm).  */
/* At present, the xpm library isn't really used */
/* #define HAVE_LIBXPM       1 */
}end

cat{
/*******************************************************************/
/* The following usually aren't changed.                           */
/*******************************************************************/
/* Define if you want the old codegens */
#define WITH_CODEGENS 1

/* Define if you don't want on-demand plugin loading */
#define DISABLE_LTDL 1

/* Define if you want the gd renderers (png, gif, etc ) */
#define GD_RENDER 1

/* Default DPI. */
#define DEFAULT_DPI 96
 
#define VERSION "VVVV"

/* Define if you have the pango library with cairo support */
/* #define HAVE_PANGOCAIRO 1 */

/* Define if you want DIGCOLA */ 
#define DIGCOLA 1
/* Define if you want IPSEPCOLA */ 
#define IPSEPCOLA 1

/* #define MOSEK 1 */

#ifndef DEFAULT_FONTPATH
# ifdef _UWIN
#  define DEFAULT_FONTPATH    "/win/fonts"
#  define PATHSEPARATOR ":"
#  else
#  ifdef MSWIN32
#   define DEFAULT_FONTPATH    "C:/WINDOWS/FONTS;C:/WINNT/Fonts;C:/winnt/fonts"
#   define PATHSEPARATOR ";"
#  else
#   define DEFAULT_FONTPATH    "/usr/share/ttf:/usr/local/share/ttf:/usr/share/fonts/ttf:/usr/local/share/fonts/ttf:/usr/lib/fonts:/usr/local/lib/fonts:/usr/lib/fonts/ttf:/usr/local/lib/fonts/ttf:/usr/common/share/fonts/ttf:/usr/common/graphviz/lib/fonts/ttf:/windows/fonts:/dos/windows/fonts:/usr/add-on/share/ttf:/usr/openwin/lib/X11/fonts/TrueType:."
#   define PATHSEPARATOR ":"
#  endif
# endif
#endif
}end