Recommended Packages (Building Wine on 32bit)
To build Wine properly, you may need to install a bunch of libraries.
For Ubuntu, Fedora, SuSE, and OpenSolaris, the easiest way to do this is to download and run http://winezeug.googlecode.com/svn/trunk/install-wine-deps.sh as root (e.g. with sudo). Try running that before reading the rest of this page.
Note for valgrind users: if Valgrind is installed on the build machine, the wine you build will have valgrind annotations, and valgrind can be used to find accesses to freed heap blocks in Windows apps running on Wine. But even if valgrind.h wasn't found at build time, you can still use valgrind to find other memory errors, like accesses to uninitialized memory.
Wine on 64bit has its own page.
Gentoo has its own page.
OpenSolaris has its own page.
Use "./configure --verbose" to get Hints for some Packages
Ubuntu
The easiest way to set up an Ubuntu system is to use a shell script that installs the neccessary packages:
Ubuntu 7.10 through 9.10 (Gutsy Gnu through Karmic Koala) http://winezeug.googlecode.com/svn/trunk/install-wine-deps.sh
Feisty Fawn (Ubuntu 7.04) http://kegel.com/wine/feisty.sh
Edgy Eft (Ubuntu 6.10) http://kegel.com/wine/edgy.sh
Dapper Drake (Ubuntu 6.06) http://kegel.com/wine/dapper.sh
Breezy Badger (Ubuntu 5.11) http://kegel.com/wine/breezy.sh
Please read the comments at the top of each script before running. If you find a problem with those scripts, please email Dan Kegel.
Note that some packages are in Universe, so you have to enable that repository before running that script.
Unless you plan to work on the TrueType fonts you don't need FontForge. If you do, then be aware that the FontForge packages from Breezy and Dapper are a bit out of date. The fonts generated by most versions of FontForge will not pass the gdi32/tests/fonts.c tests.
Fedora
- alsa-lib-devel
- cups-devel
- dbus-devel
- esound-devel
- fontconfig-devel
- freetype-devel
- giflib-devel
- hal-devel
- isdn4k-utils-devel
- lcms-devel
- libICE-devel
- libjpeg-devel
- libpng-devel
- libSM-devel
- libusb-devel
- libX11-devel
- libXau-devel
- libXcomposite-devel
- libXcursor-devel
- libXext-devel
- libXi-devel
- libXinerama-devel
- libxml2-devel
- libXrandr-devel
- libXrender-devel
- libxslt-devel
- libXt-devel
- libXv-devel
- libXxf86vm-devel
- mesa-libGL-devel
- ncurses-devel
- openldap-devel
- openssl-devel
- pkgconfig
- sane-backends-devel
- xorg-x11-proto-devel
Fedora Core 5 Note: I've seem some trouble with the SELinux enabled FC5 libGL.so* giving the following error during the ./configure script:
libGL.so.1: cannot enable executable stack as shared object...
To fix it, type:
chcon -t textrel_shlib_t /usr/lib/libGL.so.* execstack -c /usr/lib/libGL.so.*
Programs :
- bison
- flex
- prelink
Note that, unless you are tracking Git and know what you are doing, you SHOULDN'T have valgrind. Also, unless you plan to work on the TrueType fonts you don't need FontForge.
The script http://kegel.com/wine/fc5.sh, adapted from Lei's wbel3 script below, should install all the needed packages for Fedora Core 5 systems. Please read the comments in the script before running it.
Fedora Core 9 Note: Run ulimit -s unlimited before compiling.
RHEL / WBEL
- cups-devel
- esound-devel
- fontconfig-devel
- freetype-devel
- gphoto2-devel
- isdn4k-utils-devel
- libjpeg-devel
- libpng-devel
- libxml2-devel
- libxslt-devel
- ncurses-devel
- openldap-devel
- openssl-devel
- sane-backends-devel
- XFree86-devel
- zlib-devel
Programs :
- bison
- flex
- gcc
- prelink
- pkgconfig
Unless you plan to work on the TrueType fonts you don't need FontForge.
Lei Zhang wrote a script to install the required packages for WBEL 3 and RHEL 3 (untested): linux.ucla.edu/~leiz/software/wine/wbel3.sh.txt as well as a script to automatically build Wine RPMs for those platforms: linux.ucla.edu/~leiz/software/wine/wine_rpmbuild.sh.txt
Debian
The simplest way to get the required packages is using 'apt-get build-dep wine'. (As of aptitude 0.4.11-1 - currently in testing/unstable - it is possible to use 'aptitude build-dep wine' instead, however this may generate dependency errors requiring manual selection of the packages it lists.)
Using build-dep will select libgl1-mesa-dev to provide libgl-dev; if you are an Nvidia user you may prefer to replace it with nvidia-glx-dev afterwards.
If you prefer to install them manually, the required packages are as follows:
- Audio:
- winealsa.drv: libasound-dev (libasound2-dev)
- wineesd.drv: libesd0-dev
- winejack.drv: libjack-dev (libjack0.100.0-dev)
- winenas.drv: nas-dev (libaudio-dev)
- Capi Isdn support:
- libcapi20-dev
- Color management:
- liblcms-dev (liblcms1-dev)
- Printing with CUPS:
- libcupsys-dev (libcupsys2-dev)
- Scanner:
- libsane-dev
- Drive autodetection:
- libhal-dev
- libdbus-1-dev
- To get more information when valgrind-ing Wine:
- valgrind
The following, but only if you plan to work on the TrueType fonts, and can install them from testing - do not install these from Sarge:
- fontforge/testing
- If you are using Debian Etch with Nvidia:
- nvidia-glx-dev
- And all of the following packages (when two package names are specified, the first one is the virtual package name and the one in parentheses is the one providing that package):
- bison
- flex
- gcc
- libc6-dev
- libfontconfig-dev (libfontconfig1-dev)
- libfreetype6-dev
- libgl-dev (libgl1-mesa-dev or xlibmesa-gl-dev)
- libglu-dev (libglu1-mesa-dev or xlibmesa-glu-dev)
- libgphoto2-dev (libgphoto2-2-dev)
- libice-dev
- libjpeg-dev (libjpeg62-dev)
- libldap-dev (libldap2-dev)
- libncurses5-dev
- libpng-dev (libpng12-dev)
- libsm-dev
- libssl-dev
- libusb-dev
- libx11-dev
- libxcomposite-dev
- libxcursor-dev
- libxext-dev
- libxi-dev
- libxinerama-dev
- libxml2-dev
- libxrandr-dev
- libxrender-dev
- libxslt-dev (libxslt1-dev)
- libxt-dev
- libxxf86vm-dev
- make
FreeBSD 6.3
You will need the Ports system. Then install the following packages using the Ports system:
cd /usr/ports/devel/bison && make install
cd /usr/ports/graphics/libgphoto2 && make install
cd /usr/ports/graphics/sane-frontends && make install
cd /usr/ports/security/ca_root_nss && make install
The other packages that Wine depends on seem to be installed by default so they are not listed here.
NOTE: To get Wine to properly find all the dependencies, you should run configure with: CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure
PC-BSD 1.5
You will need the Ports system. Then install the following packages using the Ports system:
cd /usr/ports/graphics/libgphoto2 && make install
cd /usr/ports/security/ca_root_nss && make install
Most of the other packages that Wine depends on seem to be installed by default so they are not listed here.
NOTE: To get Wine to properly find all the dependencies, you should run configure with: CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure
Otherwise, you'll get some strange errors, since configure won't find the headers.
Mac OSX
You will find the following packages on your Mac OSX installation DVD (at least on Leopard). Most if not all are installed when you install the Xcode IDE.
CoreAudioSDK for CoreAudio.h
- OpenGLSDK
- X11SDK for /usr/X11/include and libs
- DevSDK for /usr/include/*.h /usr/lib/*.{a,la,dylib}
- DeveloperToolsCLI for /usr/bin/make, autoconf, /usr/share/man/ etc.
- gcc4.2ADC to use gcc-4.2 instead of gcc-4.0
git, libjpeg, libsane you will have to find somewhere else.
include/config.h
After running configure while things are compiling, you can check if you're missing some build dependencies by looking at include/config.h
Here's mine, for the Ubuntu packages at winehq. You can compare yours to mine by running diff on it to see if there's anything important missing from either of our packages. Note that this may not be enough - I was missing freeglut3-dev in my build environment which lead to a lack of glut support in the built package, however there appears to be no check for it here in configure.
(Please note glut32.dll has been removed in Wine 0.9.27, so freeglut3-dev may not be required anymore)
1 /* include/config.h. Generated by configure. */
2 /* include/config.h.in. Generated from configure.ac by autoheader. */
3 #define __WINE_CONFIG_H
4 /* Specifies the compiler flag that forces a short wchar_t */
5 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
6 /* Define if you have ALSA 1.x including devel headers */
7 #define HAVE_ALSA 1
8 /* Define to 1 if you have the <alsa/asoundlib.h> header file. */
9 #define HAVE_ALSA_ASOUNDLIB_H 1
10 /* Define to 1 if you have the <arpa/inet.h> header file. */
11 #define HAVE_ARPA_INET_H 1
12 /* Define to 1 if you have the <arpa/nameser.h> header file. */
13 #define HAVE_ARPA_NAMESER_H 1
14 /* Define to 1 if you have the `asctime_r' function. */
15 #define HAVE_ASCTIME_R 1
16 /* Define to 1 if you have the <asm/types.h> header file. */
17 #define HAVE_ASM_TYPES_H 1
18 /* Define to 1 if you have the <audio/audiolib.h> header file. */
19 #define HAVE_AUDIO_AUDIOLIB_H 1
20 /* Define to 1 if you have the <audio/soundlib.h> header file. */
21 #define HAVE_AUDIO_SOUNDLIB_H 1
22 /* Define to 1 if you have the <capi20.h> header file. */
23 #define HAVE_CAPI20_H 1
24 /* Define if you have capi4linux libs and headers */
25 #define HAVE_CAPI4LINUX 1
26 /* Define to 1 if you have the `chsize' function. */
27 /* #undef HAVE_CHSIZE */
28 /* Define to 1 if you have the `clone' function. */
29 #define HAVE_CLONE 1
30 /* Define to 1 if you have the `connect' function. */
31 #define HAVE_CONNECT 1
32 /* Define to 1 if you have the <cups/cups.h> header file. */
33 #define HAVE_CUPS_CUPS_H 1
34 /* Define to 1 if you have the <curses.h> header file. */
35 #define HAVE_CURSES_H 1
36 /* Define if you have the daylight variable */
37 #define HAVE_DAYLIGHT 1
38 /* Define to 1 if you have the <direct.h> header file. */
39 /* #undef HAVE_DIRECT_H */
40 /* Define to 1 if you have the `dladdr' function. */
41 #define HAVE_DLADDR 1
42 /* Define to 1 if you have the <dlfcn.h> header file. */
43 #define HAVE_DLFCN_H 1
44 /* Define if you have dlopen */
45 #define HAVE_DLOPEN 1
46 /* Define to 1 if you have the <elf.h> header file. */
47 #define HAVE_ELF_H 1
48 /* Define to 1 if you have the `epoll_create' function. */
49 #define HAVE_EPOLL_CREATE 1
50 /* Define if you have EsounD sound server */
51 #define HAVE_ESD 1
52 /* Define to 1 if you have the `ffs' function. */
53 #define HAVE_FFS 1
54 /* Define to 1 if you have the `finite' function. */
55 #define HAVE_FINITE 1
56 /* Define to 1 if you have the <float.h> header file. */
57 #define HAVE_FLOAT_H 1
58 /* Define to 1 if you have the <fontconfig/fontconfig.h> header file. */
59 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
60 /* Define to 1 if you have the `fork' function. */
61 #define HAVE_FORK 1
62 /* Define to 1 if you have the `fpclass' function. */
63 /* #undef HAVE_FPCLASS */
64 /* Define if FreeType 2 is installed */
65 #define HAVE_FREETYPE 1
66 /* Define to 1 if you have the <freetype/freetype.h> header file. */
67 #define HAVE_FREETYPE_FREETYPE_H 1
68 /* Define to 1 if you have the <freetype/ftglyph.h> header file. */
69 #define HAVE_FREETYPE_FTGLYPH_H 1
70 /* Define to 1 if you have the <freetype/ftmodapi.h> header file. */
71 #define HAVE_FREETYPE_FTMODAPI_H 1
72 /* Define to 1 if you have the <freetype/ftnames.h> header file. */
73 /* #undef HAVE_FREETYPE_FTNAMES_H */
74 /* Define to 1 if you have the <freetype/ftoutln.h> header file. */
75 #define HAVE_FREETYPE_FTOUTLN_H 1
76 /* Define to 1 if you have the <freetype/ftsnames.h> header file. */
77 #define HAVE_FREETYPE_FTSNAMES_H 1
78 /* Define if you have the <freetype/fttrigon.h> header file. */
79 #define HAVE_FREETYPE_FTTRIGON_H 1
80 /* Define to 1 if you have the <freetype/ftwinfnt.h> header file. */
81 #define HAVE_FREETYPE_FTWINFNT_H 1
82 /* Define to 1 if you have the <freetype/internal/sfnt.h> header file. */
83 #define HAVE_FREETYPE_INTERNAL_SFNT_H 1
84 /* Define to 1 if you have the <freetype/ttnameid.h> header file. */
85 #define HAVE_FREETYPE_TTNAMEID_H 1
86 /* Define to 1 if you have the <freetype/tttables.h> header file. */
87 #define HAVE_FREETYPE_TTTABLES_H 1
88 /* Define to 1 if the system has the type `fsblkcnt_t'. */
89 #define HAVE_FSBLKCNT_T 1
90 /* Define to 1 if the system has the type `fsfilcnt_t'. */
91 #define HAVE_FSFILCNT_T 1
92 /* Define to 1 if you have the `fstatfs' function. */
93 #define HAVE_FSTATFS 1
94 /* Define to 1 if you have the `fstatvfs' function. */
95 #define HAVE_FSTATVFS 1
96 /* Define to 1 if you have the <ft2build.h> header file. */
97 #define HAVE_FT2BUILD_H 1
98 /* Define to 1 if you have the `ftruncate' function. */
99 #define HAVE_FTRUNCATE 1
100 /* Define to 1 if the system has the type `FT_TrueTypeEngineType'. */
101 /* #undef HAVE_FT_TRUETYPEENGINETYPE */
102 /* Define to 1 if you have the `futimes' function. */
103 #define HAVE_FUTIMES 1
104 /* Define to 1 if you have the `futimesat' function. */
105 /* #undef HAVE_FUTIMESAT */
106 /* Define to 1 if you have the `getaddrinfo' function. */
107 #define HAVE_GETADDRINFO 1
108 /* Define to 1 if you have the `gethostbyname' function. */
109 #define HAVE_GETHOSTBYNAME 1
110 /* Define to 1 if you have the `getnameinfo' function. */
111 #define HAVE_GETNAMEINFO 1
112 /* Define to 1 if you have the `getnetbyname' function. */
113 #define HAVE_GETNETBYNAME 1
114 /* Define to 1 if you have the <getopt.h> header file. */
115 #define HAVE_GETOPT_H 1
116 /* Define to 1 if you have the `getopt_long' function. */
117 #define HAVE_GETOPT_LONG 1
118 /* Define to 1 if you have the `getpagesize' function. */
119 #define HAVE_GETPAGESIZE 1
120 /* Define to 1 if you have the `getprotobyname' function. */
121 #define HAVE_GETPROTOBYNAME 1
122 /* Define to 1 if you have the `getprotobynumber' function. */
123 #define HAVE_GETPROTOBYNUMBER 1
124 /* Define to 1 if you have the `getpwuid' function. */
125 #define HAVE_GETPWUID 1
126 /* Define to 1 if you have the `getservbyport' function. */
127 #define HAVE_GETSERVBYPORT 1
128 /* Define to 1 if you have the `gettid' function. */
129 /* #undef HAVE_GETTID */
130 /* Define to 1 if you have the `gettimeofday' function. */
131 #define HAVE_GETTIMEOFDAY 1
132 /* Define to 1 if you have the `getuid' function. */
133 #define HAVE_GETUID 1
134 /* Define to 1 if you have the <gif_lib.h> header file. */
135 #define HAVE_GIF_LIB_H 1
136 /* Define to 1 if you have the <GL/glext.h> header file. */
137 #define HAVE_GL_GLEXT_H 1
138 /* Define to 1 if you have the <GL/glu.h> header file. */
139 #define HAVE_GL_GLU_H 1
140 /* Define to 1 if you have the <GL/glx.h> header file. */
141 #define HAVE_GL_GLX_H 1
142 /* Define to 1 if you have the <GL/gl.h> header file. */
143 #define HAVE_GL_GL_H 1
144 /* Define to 1 if you have the <ieeefp.h> header file. */
145 /* #undef HAVE_IEEEFP_H */
146 /* Define to 1 if you have the `inet_aton' function. */
147 #define HAVE_INET_ATON 1
148 /* Define to 1 if you have the `inet_network' function. */
149 #define HAVE_INET_NETWORK 1
150 /* Define to 1 if you have the <inttypes.h> header file. */
151 #define HAVE_INTTYPES_H 1
152 /* Define to 1 if you have the <IOKit/IOKitLib.h> header file. */
153 /* #undef HAVE_IOKIT_IOKITLIB_H */
154 /* Define to 1 if you have the <io.h> header file. */
155 /* #undef HAVE_IO_H */
156 /* Define to 1 if you have the <jack/jack.h> header file. */
157 #define HAVE_JACK_JACK_H 1
158 /* Define to 1 if you have the <jpeglib.h> header file. */
159 #define HAVE_JPEGLIB_H 1
160 /* Define to 1 if you have the <lber.h> header file. */
161 #define HAVE_LBER_H 1
162 /* Define if you have the LittleCMS development environment */
163 #define HAVE_LCMS 1
164 /* Define to 1 if you have the <lcms.h> header file. */
165 #define HAVE_LCMS_H 1
166 /* Define to 1 if you have the <lcms/lcms.h> header file. */
167 /* #undef HAVE_LCMS_LCMS_H */
168 /* Define if you have the OpenLDAP development environment */
169 #define HAVE_LDAP 1
170 /* Define to 1 if you have the `ldap_count_references' function. */
171 #define HAVE_LDAP_COUNT_REFERENCES 1
172 /* Define to 1 if you have the `ldap_first_reference' function. */
173 #define HAVE_LDAP_FIRST_REFERENCE 1
174 /* Define to 1 if you have the <ldap.h> header file. */
175 #define HAVE_LDAP_H 1
176 /* Define to 1 if you have the `ldap_next_reference' function. */
177 #define HAVE_LDAP_NEXT_REFERENCE 1
178 /* Define to 1 if you have the `ldap_parse_reference' function. */
179 #define HAVE_LDAP_PARSE_REFERENCE 1
180 /* Define if you have libaudioIO */
181 /* #undef HAVE_LIBAUDIOIO */
182 /* Define to 1 if you have the <libaudioio.h> header file. */
183 /* #undef HAVE_LIBAUDIOIO_H */
184 /* Define if you have the curses library (-lcurses) */
185 /* #undef HAVE_LIBCURSES */
186 /* Define to 1 if you have the `i386' library (-li386). */
187 /* #undef HAVE_LIBI386 */
188 /* Define if you have the ncurses library (-lncurses) */
189 #define HAVE_LIBNCURSES 1
190 /* Define to 1 if you have the `nsl' library (-lnsl). */
191 /* #undef HAVE_LIBNSL */
192 /* Define to 1 if you have the `ossaudio' library (-lossaudio). */
193 /* #undef HAVE_LIBOSSAUDIO */
194 /* Define to 1 if you have the `poll' library (-lpoll). */
195 /* #undef HAVE_LIBPOLL */
196 /* Define to 1 if you have the `resolv' library (-lresolv). */
197 /* #undef HAVE_LIBRESOLV */
198 /* Define to 1 if you have the `socket' library (-lsocket). */
199 /* #undef HAVE_LIBSOCKET */
200 /* Define if you have the libxml2 library */
201 #define HAVE_LIBXML2 1
202 /* Define to 1 if you have the <libxml/parser.h> header file. */
203 #define HAVE_LIBXML_PARSER_H 1
204 /* Define to 1 if you have the `xpg4' library (-lxpg4). */
205 /* #undef HAVE_LIBXPG4 */
206 /* Define if you have the Xrandr library */
207 #define HAVE_LIBXRANDR 1
208 /* Define if you have the X Shape extension */
209 #define HAVE_LIBXSHAPE 1
210 /* Define if you have the libxslt library */
211 #define HAVE_LIBXSLT 1
212 /* Define to 1 if you have the <libxslt/pattern.h> header file. */
213 #define HAVE_LIBXSLT_PATTERN_H 1
214 /* Define to 1 if you have the <libxslt/transform.h> header file. */
215 #define HAVE_LIBXSLT_TRANSFORM_H 1
216 /* Define if you have the Xxf86dga library version 2 */
217 #define HAVE_LIBXXF86DGA2 1
218 /* Define if you have the Xxf86vm library */
219 #define HAVE_LIBXXF86VM 1
220 /* Define if you have the X Shm extension */
221 #define HAVE_LIBXXSHM 1
222 /* Define to 1 if you have the <link.h> header file. */
223 #define HAVE_LINK_H 1
224 /* Define if <linux/joystick.h> defines the Linux 2.2 joystick API */
225 #define HAVE_LINUX_22_JOYSTICK_API 1
226 /* Define to 1 if you have the <linux/capi.h> header file. */
227 #define HAVE_LINUX_CAPI_H 1
228 /* Define to 1 if you have the <linux/cdrom.h> header file. */
229 #define HAVE_LINUX_CDROM_H 1
230 /* Define to 1 if you have the <linux/compiler.h> header file. */
231 #define HAVE_LINUX_COMPILER_H 1
232 /* Define if Linux-style gethostbyname_r and gethostbyaddr_r are available */
233 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
234 /* Define to 1 if you have the <linux/hdreg.h> header file. */
235 #define HAVE_LINUX_HDREG_H 1
236 /* Define to 1 if you have the <linux/input.h> header file. */
237 #define HAVE_LINUX_INPUT_H 1
238 /* Define to 1 if you have the <linux/ioctl.h> header file. */
239 #define HAVE_LINUX_IOCTL_H 1
240 /* Define to 1 if you have the <linux/ipx.h> header file. */
241 #define HAVE_LINUX_IPX_H 1
242 /* Define to 1 if you have the <linux/joystick.h> header file. */
243 #define HAVE_LINUX_JOYSTICK_H 1
244 /* Define to 1 if you have the <linux/major.h> header file. */
245 #define HAVE_LINUX_MAJOR_H 1
246 /* Define to 1 if you have the <linux/param.h> header file. */
247 #define HAVE_LINUX_PARAM_H 1
248 /* Define to 1 if you have the <linux/serial.h> header file. */
249 #define HAVE_LINUX_SERIAL_H 1
250 /* Define to 1 if you have the <linux/ucdrom.h> header file. */
251 /* #undef HAVE_LINUX_UCDROM_H */
252 /* Define to 1 if you have the <linux/videodev.h> header file. */
253 #define HAVE_LINUX_VIDEODEV_H 1
254 /* Define to 1 if the system has the type `long long'. */
255 #define HAVE_LONG_LONG 1
256 /* Define to 1 if you have the `lstat' function. */
257 #define HAVE_LSTAT 1
258 /* Define to 1 if you have the <machine/cpu.h> header file. */
259 /* #undef HAVE_MACHINE_CPU_H */
260 /* Define to 1 if you have the <machine/limits.h> header file. */
261 /* #undef HAVE_MACHINE_LIMITS_H */
262 /* Define to 1 if you have the <machine/soundcard.h> header file. */
263 /* #undef HAVE_MACHINE_SOUNDCARD_H */
264 /* Define to 1 if you have the <mach/machine.h> header file. */
265 /* #undef HAVE_MACH_MACHINE_H */
266 /* Define to 1 if you have the `memmove' function. */
267 #define HAVE_MEMMOVE 1
268 /* Define to 1 if you have the <memory.h> header file. */
269 #define HAVE_MEMORY_H 1
270 /* Define to 1 if you have the `mmap' function. */
271 #define HAVE_MMAP 1
272 /* Define to 1 if you have the <mntent.h> header file. */
273 #define HAVE_MNTENT_H 1
274 /* Define to 1 if the system has the type `mode_t'. */
275 #define HAVE_MODE_T 1
276 /* Define if you have NAS including devel headers */
277 #define HAVE_NAS 1
278 /* Define to 1 if you have the <ncurses.h> header file. */
279 #define HAVE_NCURSES_H 1
280 /* Define to 1 if you have the <netdb.h> header file. */
281 #define HAVE_NETDB_H 1
282 /* Define to 1 if you have the <netinet/in.h> header file. */
283 #define HAVE_NETINET_IN_H 1
284 /* Define to 1 if you have the <netinet/in_systm.h> header file. */
285 #define HAVE_NETINET_IN_SYSTM_H 1
286 /* Define to 1 if you have the <netinet/tcp_fsm.h> header file. */
287 /* #undef HAVE_NETINET_TCP_FSM_H */
288 /* Define to 1 if you have the <netinet/tcp.h> header file. */
289 #define HAVE_NETINET_TCP_H 1
290 /* Define to 1 if you have the <netipx/ipx.h> header file. */
291 #define HAVE_NETIPX_IPX_H 1
292 /* Define to 1 if you have the <net/if_arp.h> header file. */
293 #define HAVE_NET_IF_ARP_H 1
294 /* Define to 1 if you have the <net/if_dl.h> header file. */
295 /* #undef HAVE_NET_IF_DL_H */
296 /* Define to 1 if you have the <net/if.h> header file. */
297 #define HAVE_NET_IF_H 1
298 /* Define to 1 if you have the <net/if_types.h> header file. */
299 /* #undef HAVE_NET_IF_TYPES_H */
300 /* Define to 1 if you have the <net/route.h> header file. */
301 #define HAVE_NET_ROUTE_H 1
302 /* Define to 1 if the system has the type `off_t'. */
303 #define HAVE_OFF_T 1
304 /* Define if OpenGL is present on the system */
305 #define HAVE_OPENGL 1
306 /* Define to 1 if you have the <openssl/err.h> header file. */
307 #define HAVE_OPENSSL_ERR_H 1
308 /* Define to 1 if you have the <openssl/ssl.h> header file. */
309 #define HAVE_OPENSSL_SSL_H 1
310 /* Define to 1 if you have the `pclose' function. */
311 #define HAVE_PCLOSE 1
312 /* Define to 1 if the system has the type `pid_t'. */
313 #define HAVE_PID_T 1
314 /* Define to 1 if you have the <poll.h> header file. */
315 #define HAVE_POLL_H 1
316 /* Define to 1 if you have the `popen' function. */
317 #define HAVE_POPEN 1
318 /* Define if we can use ppdev.h for parallel port access */
319 #define HAVE_PPDEV 1
320 /* Define to 1 if you have the `pread' function. */
321 #define HAVE_PREAD 1
322 /* Define to 1 if you have the <process.h> header file. */
323 /* #undef HAVE_PROCESS_H */
324 /* Define to 1 if you have the `pthread_getattr_np' function. */
325 #define HAVE_PTHREAD_GETATTR_NP 1
326 /* Define to 1 if you have the `pthread_get_stackaddr_np' function. */
327 /* #undef HAVE_PTHREAD_GET_STACKADDR_NP */
328 /* Define to 1 if you have the `pthread_get_stacksize_np' function. */
329 /* #undef HAVE_PTHREAD_GET_STACKSIZE_NP */
330 /* Define to 1 if you have the <pthread.h> header file. */
331 #define HAVE_PTHREAD_H 1
332 /* Define to 1 if the system has the type `pthread_rwlockattr_t'. */
333 #define HAVE_PTHREAD_RWLOCKATTR_T 1
334 /* Define to 1 if the system has the type `pthread_rwlock_t'. */
335 #define HAVE_PTHREAD_RWLOCK_T 1
336 /* Define to 1 if you have the <pwd.h> header file. */
337 #define HAVE_PWD_H 1
338 /* Define to 1 if you have the `pwrite' function. */
339 #define HAVE_PWRITE 1
340 /* Define to 1 if you have the `readlink' function. */
341 #define HAVE_READLINK 1
342 /* Define to 1 if you have the <regex.h> header file. */
343 #define HAVE_REGEX_H 1
344 /* Define to 1 if the system has the type `request_sense'. */
345 /* #undef HAVE_REQUEST_SENSE */
346 /* Define to 1 if you have the <resolv.h> header file. */
347 #define HAVE_RESOLV_H 1
348 /* Define to 1 if you have the `rfork' function. */
349 /* #undef HAVE_RFORK */
350 /* Define if we have SANE development environment */
351 #define HAVE_SANE 1
352 /* Define to 1 if you have the <sched.h> header file. */
353 #define HAVE_SCHED_H 1
354 /* Define to 1 if you have the `sched_yield' function. */
355 #define HAVE_SCHED_YIELD 1
356 /* Define to 1 if `cmd' is member of `scsireq_t'. */
357 /* #undef HAVE_SCSIREQ_T_CMD */
358 /* Define to 1 if you have the <scsi/scsi.h> header file. */
359 #define HAVE_SCSI_SCSI_H 1
360 /* Define to 1 if you have the <scsi/scsi_ioctl.h> header file. */
361 #define HAVE_SCSI_SCSI_IOCTL_H 1
362 /* Define to 1 if you have the <scsi/sg.h> header file. */
363 #define HAVE_SCSI_SG_H 1
364 /* Define to 1 if you have the `select' function. */
365 #define HAVE_SELECT 1
366 /* Define to 1 if you have the `sendmsg' function. */
367 #define HAVE_SENDMSG 1
368 /* Define to 1 if you have the `settimeofday' function. */
369 #define HAVE_SETTIMEOFDAY 1
370 /* Define to 1 if `interface_id' is member of `sg_io_hdr_t'. */
371 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
372 /* Define if sigaddset is supported */
373 #define HAVE_SIGADDSET 1
374 /* Define to 1 if you have the `sigaltstack' function. */
375 #define HAVE_SIGALTSTACK 1
376 /* Define to 1 if `si_fd' is member of `siginfo_t'. */
377 #define HAVE_SIGINFO_T_SI_FD 1
378 /* Define to 1 if you have the `sigprocmask' function. */
379 #define HAVE_SIGPROCMASK 1
380 /* Define to 1 if you have the sigsetjmp (and siglongjmp) function */
381 #define HAVE_SIGSETJMP 1
382 /* Define to 1 if the system has the type `sigset_t'. */
383 #define HAVE_SIGSET_T 1
384 /* Define to 1 if the system has the type `size_t'. */
385 #define HAVE_SIZE_T 1
386 /* Define to 1 if you have the `snprintf' function. */
387 #define HAVE_SNPRINTF 1
388 /* Define to 1 if you have the <soundcard.h> header file. */
389 /* #undef HAVE_SOUNDCARD_H */
390 /* Define to 1 if you have the `spawnvp' function. */
391 /* #undef HAVE_SPAWNVP */
392 /* Define to 1 if the system has the type `ssize_t'. */
393 #define HAVE_SSIZE_T 1
394 /* Define to 1 if you have the `statfs' function. */
395 #define HAVE_STATFS 1
396 /* Define to 1 if you have the `statvfs' function. */
397 #define HAVE_STATVFS 1
398 /* Define to 1 if you have the <stdint.h> header file. */
399 #define HAVE_STDINT_H 1
400 /* Define to 1 if you have the <stdlib.h> header file. */
401 #define HAVE_STDLIB_H 1
402 /* Define to 1 if you have the `strcasecmp' function. */
403 #define HAVE_STRCASECMP 1
404 /* Define to 1 if you have the `strerror' function. */
405 #define HAVE_STRERROR 1
406 /* Define to 1 if you have the <strings.h> header file. */
407 #define HAVE_STRINGS_H 1
408 /* Define to 1 if you have the <string.h> header file. */
409 #define HAVE_STRING_H 1
410 /* Define to 1 if you have the `strncasecmp' function. */
411 #define HAVE_STRNCASECMP 1
412 /* Define to 1 if `direction' is member of `struct ff_effect'. */
413 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
414 /* Define to 1 if `msg_accrights' is member of `struct msghdr'. */
415 /* #undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS */
416 /* Define to 1 if `mt_blkno' is member of `struct mtget'. */
417 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
418 /* Define to 1 if `mt_blksiz' is member of `struct mtget'. */
419 /* #undef HAVE_STRUCT_MTGET_MT_BLKSIZ */
420 /* Define to 1 if `mt_gstat' is member of `struct mtget'. */
421 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
422 /* Define to 1 if `name' is member of `struct option'. */
423 #define HAVE_STRUCT_OPTION_NAME 1
424 /* Define to 1 if `sin6_scope_id' is member of `struct sockaddr_in6'. */
425 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
426 /* Define to 1 if `sa_len' is member of `struct sockaddr'. */
427 /* #undef HAVE_STRUCT_SOCKADDR_SA_LEN */
428 /* Define to 1 if `sun_len' is member of `struct sockaddr_un'. */
429 /* #undef HAVE_STRUCT_SOCKADDR_UN_SUN_LEN */
430 /* Define to 1 if `f_bavail' is member of `struct statfs'. */
431 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
432 /* Define to 1 if `f_bfree' is member of `struct statfs'. */
433 #define HAVE_STRUCT_STATFS_F_BFREE 1
434 /* Define to 1 if `f_favail' is member of `struct statfs'. */
435 /* #undef HAVE_STRUCT_STATFS_F_FAVAIL */
436 /* Define to 1 if `f_ffree' is member of `struct statfs'. */
437 #define HAVE_STRUCT_STATFS_F_FFREE 1
438 /* Define to 1 if `f_frsize' is member of `struct statfs'. */
439 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
440 /* Define to 1 if `f_namelen' is member of `struct statfs'. */
441 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
442 /* Define to 1 if `f_blocks' is member of `struct statvfs'. */
443 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
444 /* Define to 1 if `st_blocks' is member of `struct stat'. */
445 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
446 /* Define to 1 if you have the <syscall.h> header file. */
447 #define HAVE_SYSCALL_H 1
448 /* Define to 1 if you have the <sys/asoundlib.h> header file. */
449 #define HAVE_SYS_ASOUNDLIB_H 1
450 /* Define to 1 if you have the <sys/cdio.h> header file. */
451 /* #undef HAVE_SYS_CDIO_H */
452 /* Define to 1 if you have the <sys/elf32.h> header file. */
453 /* #undef HAVE_SYS_ELF32_H */
454 /* Define to 1 if you have the <sys/epoll.h> header file. */
455 #define HAVE_SYS_EPOLL_H 1
456 /* Define to 1 if you have the <sys/errno.h> header file. */
457 #define HAVE_SYS_ERRNO_H 1
458 /* Define to 1 if you have the <sys/exec_elf.h> header file. */
459 /* #undef HAVE_SYS_EXEC_ELF_H */
460 /* Define to 1 if you have the <sys/filio.h> header file. */
461 /* #undef HAVE_SYS_FILIO_H */
462 /* Define to 1 if you have the <sys/ioctl.h> header file. */
463 #define HAVE_SYS_IOCTL_H 1
464 /* Define to 1 if you have the <sys/ipc.h> header file. */
465 #define HAVE_SYS_IPC_H 1
466 /* Define to 1 if you have the <sys/limits.h> header file. */
467 /* #undef HAVE_SYS_LIMITS_H */
468 /* Define to 1 if you have the <sys/link.h> header file. */
469 /* #undef HAVE_SYS_LINK_H */
470 /* Define to 1 if you have the <sys/lwp.h> header file. */
471 /* #undef HAVE_SYS_LWP_H */
472 /* Define to 1 if you have the <sys/mman.h> header file. */
473 #define HAVE_SYS_MMAN_H 1
474 /* Define to 1 if you have the <sys/modem.h> header file. */
475 /* #undef HAVE_SYS_MODEM_H */
476 /* Define to 1 if you have the <sys/mount.h> header file. */
477 #define HAVE_SYS_MOUNT_H 1
478 /* Define to 1 if you have the <sys/msg.h> header file. */
479 #define HAVE_SYS_MSG_H 1
480 /* Define to 1 if you have the <sys/mtio.h> header file. */
481 #define HAVE_SYS_MTIO_H 1
482 /* Define to 1 if you have the <sys/param.h> header file. */
483 #define HAVE_SYS_PARAM_H 1
484 /* Define to 1 if you have the <sys/poll.h> header file. */
485 #define HAVE_SYS_POLL_H 1
486 /* Define to 1 if you have the <sys/ptrace.h> header file. */
487 #define HAVE_SYS_PTRACE_H 1
488 /* Define to 1 if you have the <sys/reg.h> header file. */
489 #define HAVE_SYS_REG_H 1
490 /* Define to 1 if you have the <sys/resource.h> header file. */
491 #define HAVE_SYS_RESOURCE_H 1
492 /* Defi