1 dnl Process this file with autoconf to produce a configure script.
2 dnl Author: Michael Patra <micky@marie.physik.tu-berlin.de>
3 dnl <patra@itp1.physik.tu-berlin.de>
4 AC_REVISION([configure.in 1.00])
5 AC_INIT(controls/edit.c)
6 AC_CONFIG_HEADER(include/config.h)
7 AC_CONFIG_AUX_DIR(tools)
9 # We want these before the checks, so the checks can modify their values.
11 test -z "$PROGEXT" && PROGEXT="" AC_SUBST(PROGEXT)
13 dnl **** Command-line arguments ****
18 ALT_LINK="-L\$(TOPOBJDIR) -lwine"
19 TRACE_MSGS=yes # the TRACE() macro
20 DEBUG_MSGS=yes # the TRACE(), WARN(), and FIXME() macros.
22 AC_ARG_ENABLE(emulator,
23 [ --disable-emulator build only the Wine library, not the emulator],
24 [if test "$enableval" = "no"; then MAIN_TARGET="lib"; fi])
27 [ --enable-dll build the Wine library as a DLL],
28 [if test "$enableval" = "no"; then : ; else LIB_TARGET="libwine.so.1.0"; fi])
31 [ --disable-lib build the Wine without building libwine.a],
32 [if test "$enableval" = "no"; then ALT_LINK="\$(LIBOBJS) \$(X11OBJS)"; LIB_TARGET=""; fi])
35 dnl [ --enable-ipc use inter-process communication for DDE],
36 dnl [if test "$enableval" = "no"; then : ; else OPTIONS="-DCONFIG_IPC"; fi])
39 [ --disable-debug compile out all debugging messages],
40 [if test "$enableval" = "no"; then DEBUG_MSGS="no"; fi])
43 [ --disable-trace compile out TRACE messages],
44 [if test "$enableval" = "no"; then TRACE_MSGS="no"; fi])
46 AC_ARG_WITH(reentrant-x,
47 [ --without-reentrant-x compile for use with non-reentrant X libraries])
54 if test "$DEBUG_MSGS" = "no"
56 AC_DEFINE(NO_DEBUG_MSGS)
57 AC_DEFINE(NO_TRACE_MSGS)
59 if test "$TRACE_MSGS" = "no"
61 AC_DEFINE(NO_TRACE_MSGS)
65 dnl **** Check for some programs ****
76 AC_CHECK_PROG(C2MAN,c2man,c2man,true)
78 dnl **** Check for some libraries ****
80 dnl Check for -li386 for NetBSD and OpenBSD
81 AC_CHECK_LIB(i386,i386_set_ldt)
82 dnl Check for -lossaudio for NetBSD
83 AC_CHECK_LIB(ossaudio,_oss_ioctl)
84 dnl Check for -lw for Solaris
85 AC_CHECK_LIB(w,iswalnum)
86 dnl Check for -lnsl for Solaris
87 AC_CHECK_FUNCS(gethostbyname,,AC_CHECK_LIB(nsl,gethostbyname))
88 dnl Check for -lsocket for Solaris
89 AC_CHECK_FUNCS(connect,,AC_CHECK_LIB(socket,connect))
90 dnl Check for -lxpg4 for FreeBSD
91 AC_CHECK_LIB(xpg4,setrunelocale)
92 dnl Check for -lmmap for OS/2
93 AC_CHECK_LIB(mmap,mmap)
95 AC_CHECK_HEADERS(dlfcn.h,
96 AC_CHECK_FUNCS(dlopen,
97 AC_DEFINE(HAVE_DL_API),
98 AC_CHECK_LIB(dl,dlopen,
99 AC_DEFINE(HAVE_DL_API)
105 if test "$have_x" = "yes"
108 ac_save_CPPFLAGS="$CPPFLAGS"
109 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
112 AC_CHECK_HEADERS(X11/xpm.h)
113 if test "$ac_cv_header_X11_xpm_h" = "yes"
115 AC_CHECK_LIB(Xpm,XpmCreatePixmapFromData,AC_DEFINE(HAVE_LIBXXPM) X_PRE_LIBS="$X_PRE_LIBS -lXpm",,$X_LIBS -lXext -lX11)
118 dnl Check for X Shm extension
119 AC_CHECK_HEADERS(X11/Xlib.h X11/extensions/XShm.h)
120 if test "$ac_cv_header_X11_Xlib_h" = "yes" -a "$ac_cv_header_X11_extensions_XShm_h" = "yes"
122 AC_CHECK_LIB(Xext,XShmQueryExtension,AC_DEFINE(HAVE_LIBXXSHM),,$X_LIBS -lXext -lX11)
124 dnl Check for XFree86 DGA extension
125 AC_CHECK_HEADERS(X11/Xlib.h X11/extensions/xf86dga.h)
126 if test "$ac_cv_header_X11_Xlib_h" = "yes" -a "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
128 AC_CHECK_LIB(Xxf86dga,XF86DGAQueryExtension,AC_DEFINE(HAVE_LIBXXF86DGA) X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga",,$X_LIBS -lXext -lX11)
131 dnl Check for XFree86 VMODE extension
132 AC_CHECK_HEADERS(X11/Xlib.h X11/extensions/xf86vmode.h)
133 if test "$ac_cv_header_X11_Xlib_h" = "yes" -a "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
135 AC_CHECK_LIB(Xxf86vm,XF86VidModeQueryExtension,AC_DEFINE(HAVE_LIBXXF86VM) X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm",,$X_LIBS -lXext -lX11)
138 dnl Check for the presence of Mesa
139 AC_CHECK_HEADERS(GL/gl.h GL/osmesa.h)
140 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_osmesa_h" = "yes"
142 dnl Check for some problems due to old Mesa versions
143 AC_CACHE_CHECK("for up-to-date Mesa version", wine_cv_mesa_version_OK,
145 [#include <GL/gl.h>],
146 [GLenum test = GL_UNSIGNED_SHORT_5_6_5;],
147 [wine_cv_mesa_version_OK="yes"],
148 [wine_cv_mesa_version_OK="no"]
152 if test "$wine_cv_mesa_version_OK" = "yes"
154 dnl Check for the presense of the library
155 AC_CHECK_LIB(MesaGL,OSMesaCreateContext,AC_DEFINE(HAVE_LIBMESAGL) X_PRE_LIBS="$X_PRE_LIBS -lMesaGL",,$X_LIBS -lXext -lX11 -lm)
159 CPPFLAGS="$ac_save_CPPFLAGS"
166 dnl **** Check which curses lib to use ***
167 AC_CHECK_HEADERS(ncurses.h)
168 if test "$ac_cv_header_ncurses_h" = "yes"
170 AC_CHECK_LIB(ncurses,waddch)
172 if test "$ac_cv_lib_ncurses_waddch" = "yes"
174 AC_CHECK_LIB(ncurses,resizeterm,AC_DEFINE(HAVE_RESIZETERM))
175 AC_CHECK_LIB(ncurses,getbkgd,AC_DEFINE(HAVE_GETBKGD))
177 AC_CHECK_HEADERS(curses.h)
178 if test "$ac_cv_header_curses_h" = "yes"
180 AC_CHECK_LIB(curses,waddch)
181 AC_CHECK_LIB(curses,resizeterm,AC_DEFINE(HAVE_RESIZETERM))
182 AC_CHECK_LIB(curses,getbkgd,AC_DEFINE(HAVE_GETBKGD))
186 dnl **** Check for IPX (currently Linux only) ****
187 AC_CACHE_CHECK("for GNU style IPX support", ac_cv_c_ipx_gnu,
189 [#include <sys/socket.h>
190 #include <netipx/ipx.h>],
191 [((struct sockaddr_ipx *)0)->sipx_family == AF_IPX],
192 [AC_DEFINE(HAVE_IPX_GNU)
193 ac_cv_c_ipx_gnu="yes"],
194 [ac_cv_c_ipx_gnu="no"])
197 if test "$ac_cv_c_ipx_gnu" = "no"
199 AC_CACHE_CHECK("for linux style IPX support", ac_cv_c_ipx_linux,
201 [#include <sys/socket.h>
202 #include <asm/types.h>
203 #include <linux/ipx.h>],
204 [((struct sockaddr_ipx *)0)->sipx_family == AF_IPX],
205 [AC_DEFINE(HAVE_IPX_LINUX)
206 ac_cv_c_ipx_linux="yes"],
207 [ac_cv_c_ipx_linux="no"])
211 dnl **** Check for Open Sound System ****
212 AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h soundcard.h, break)
214 AC_CACHE_CHECK("for Open Sound System",
215 ac_cv_c_opensoundsystem,
217 #if defined(HAVE_SYS_SOUNDCARD_H)
218 #include <sys/soundcard.h>
219 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
220 #include <machine/soundcard.h>
221 #elif defined(HAVE_SOUNDCARD_H)
222 #include <soundcard.h>
226 /* check for one of the Open Sound System specific SNDCTL_ defines */
227 #if !defined(SNDCTL_DSP_STEREO)
228 #error No open sound system
230 ],ac_cv_c_opensoundsystem="yes",ac_cv_c_opensoundsystem="no"))
232 if test "$ac_cv_c_opensoundsystem" = "yes"
237 AC_CACHE_CHECK("for Open Sound System/MIDI interface",
238 ac_cv_c_opensoundsystem_midi,
240 #if defined(HAVE_SYS_SOUNDCARD_H)
241 #include <sys/soundcard.h>
242 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
243 #include <machine/soundcard.h>
244 #elif defined(HAVE_SOUNDCARD_H)
245 #include <soundcard.h>
249 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
250 #if !defined(SNDCTL_SEQ_SYNC)
251 #error No open sound system MIDI interface
253 ],ac_cv_c_opensoundsystem_midi="yes",ac_cv_c_opensoundsystem_midi="no"))
255 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
257 AC_DEFINE(HAVE_OSS_MIDI)
260 dnl **** If ln -s doesn't work, use cp instead ****
261 if test "$ac_cv_prog_LN_S" = "ln -s"; then : ; else LN_S=cp ; fi
263 dnl **** Check for gcc strength-reduce bug ****
265 if test "x${GCC}" = "xyes"
267 CFLAGS="$CFLAGS -Wall"
268 AC_CACHE_CHECK( "for gcc strength-reduce bug", ac_cv_c_gcc_strength_bug,
271 static int Array[[3]];
274 for(i=0; i<B; i++) Array[[i]] = i - 3;
275 exit( Array[[1]] != -2 );
277 ac_cv_c_gcc_strength_bug="no",
278 ac_cv_c_gcc_strength_bug="yes",
279 ac_cv_c_gcc_strength_bug="yes") )
280 if test "$ac_cv_c_gcc_strength_bug" = "yes"
282 CFLAGS="$CFLAGS -fno-strength-reduce"
286 dnl **** Check for underscore on external symbols ****
288 AC_CACHE_CHECK("whether external symbols need an underscore prefix",
289 ac_cv_c_extern_prefix,
291 LIBS="conftest_asm.s $LIBS"
292 cat > conftest_asm.s <<EOF
297 AC_TRY_LINK([extern int ac_test;],[if (ac_test) return 1],
298 ac_cv_c_extern_prefix="yes",ac_cv_c_extern_prefix="no")
300 if test "$ac_cv_c_extern_prefix" = "yes"
302 AC_DEFINE(NEED_UNDERSCORE_PREFIX)
305 dnl **** Check for .string in assembler ****
307 AC_CACHE_CHECK("whether assembler accepts .string",
310 LIBS="conftest_asm.s $LIBS"
311 cat > conftest_asm.s <<EOF
314 AC_TRY_LINK(,,ac_cv_c_asm_string="yes",ac_cv_c_asm_string="no")
316 if test "$ac_cv_c_asm_string" = "yes"
318 AC_DEFINE(HAVE_ASM_STRING)
321 dnl **** Check for working dll ****
325 if test "$LIB_TARGET" = "libwine.so.1.0"
327 AC_CACHE_CHECK("whether we can build a Linux dll",
329 [saved_cflags=$CFLAGS
330 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0"
331 AC_TRY_LINK(,[return 1],ac_cv_c_dll_linux="yes",ac_cv_c_dll_linux="no")
334 if test "$ac_cv_c_dll_linux" = "yes"
337 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so"
339 AC_CACHE_CHECK("whether we can build a NetBSD dll",
341 [saved_cflags=$CFLAGS
342 CFLAGS="$CFLAGS -fPIC -Bshareable -Bforcearchive"
343 AC_TRY_LINK(,[return 1],ac_cv_c_dll_netbsd="yes",ac_cv_c_dll_netbsd="no")
346 if test "$ac_cv_c_dll_netbsd" = "yes"
349 LDSHARED="ld -Bshareable -Bforcearchive"
352 if test "$ac_cv_c_dll_linux" = "no" -a "$ac_cv_c_dll_netbsd" = "no"
354 LIB_TARGET="libwine.a"
360 dnl **** Check for reentrant libc ****
362 dnl For cross-compiling we blindly assume that libc is reentrant. This is
363 dnl ok since non-reentrant libc is quite rare (mostly old libc5 versions).
365 wine_cv_libc_reentrant=no
367 dnl Linux style errno location
369 AC_CACHE_CHECK("for reentrant libc: __errno_location", wine_cv_libc_r__errno_location,
370 [AC_TRY_RUN([int myerrno = 0;
372 int *__errno_location(){return &myerrno;}
373 main(){connect(0,buf,255); exit(!myerrno);}],
374 wine_cv_libc_r__errno_location=yes, wine_cv_libc_r__errno_location=no,
375 wine_cv_libc_r__errno_location=yes )
377 if test "$wine_cv_libc_r__errno_location" = "yes"
379 AC_DEFINE(HAVE__ERRNO_LOCATION)
380 wine_cv_libc_reentrant=__errno_location
383 dnl FreeBSD style errno location
385 AC_CACHE_CHECK("for reentrant libc: __error", wine_cv_libc_r__error,
386 [AC_TRY_RUN([int myerrno = 0;
388 int *__error(){return &myerrno;}
389 main(){connect(0,buf,255); exit(!myerrno);}],
390 wine_cv_libc_r__error=yes, wine_cv_libc_r__error=no,
391 wine_cv_libc_r__error=yes )
393 if test "$wine_cv_libc_r__error" = "yes"
395 AC_DEFINE(HAVE__ERROR)
396 wine_cv_libc_reentrant=__error
399 dnl Solaris style errno location
401 AC_CACHE_CHECK("for reentrant libc: ___errno", wine_cv_libc_r___errno,
402 [AC_TRY_RUN([int myerrno = 0;
404 int *___errno(){return &myerrno;}
405 main(){connect(0,buf,255); exit(!myerrno);}],
406 wine_cv_libc_r___errno=yes, wine_cv_libc_r___errno=no,
407 wine_cv_libc_r___errno=yes )
409 if test "$wine_cv_libc_r___errno" = "yes"
411 AC_DEFINE(HAVE___ERRNO)
412 wine_cv_libc_reentrant=___errno
414 if test "$wine_cv_libc_reentrant" = "no"
416 AC_DEFINE(NO_REENTRANT_LIBC)
419 dnl **** Check for reentrant X libraries ****
421 dnl This may fail to determine whether X libraries are reentrant if
422 dnl AC_PATH_XTRA does not set x_libraries. In this case manual configuration
423 dnl is possible with the --without-reentrant-x option.
425 if test "$have_x" = "yes" -a "$wine_cv_libc_reentrant" != "no"
427 AC_CACHE_CHECK( "for reentrant X libraries", wine_cv_x_reentrant,
428 [ if test "x$with_reentrant_x" = "xno"
430 wine_cv_x_reentrant=no
433 for dir in "$x_libraries" /usr/lib /usr/local/lib /lib; do
434 if test -r $dir/libX11.so; then
435 libX11_check="-D $dir/libX11.so"
438 if test -r $dir/libX11.a; then
439 libX11_check="$dir/libX11.a"
443 if test "$libX11_check" != "none"; then
444 if nm $libX11_check | grep $wine_cv_libc_reentrant >/dev/null 2>&1
446 wine_cv_x_reentrant=yes
448 wine_cv_x_reentrant=no
451 wine_cv_x_reentrant=unknown
455 wine_cv_x_reentrant=no
457 if test "$wine_cv_x_reentrant" = "no"
459 AC_DEFINE(NO_REENTRANT_X11)
462 dnl **** Check for functions ****
483 dnl **** Check for header files ****
517 dnl **** Check for types ****
522 AC_CHECK_SIZEOF(long long,0)
524 dnl **** statfs checks ****
526 if test "$ac_cv_header_sys_vfs_h" = "yes"
528 AC_CACHE_CHECK( "whether sys/vfs.h defines statfs",
529 wine_cv_sys_vfs_has_statfs,
531 #include <sys/types.h>
532 #ifdef HAVE_SYS_PARAM_H
533 # include <sys/param.h>
539 memset(&stfs,0,sizeof(stfs));
540 ],wine_cv_sys_vfs_has_statfs=yes,wine_cv_sys_vfs_has_statfs=no
543 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
545 AC_DEFINE(STATFS_DEFINED_BY_SYS_VFS)
549 if test "$ac_cv_header_sys_statfs_h" = "yes"
551 AC_CACHE_CHECK( "whether sys/statfs.h defines statfs",
552 wine_cv_sys_statfs_has_statfs,
554 #include <sys/types.h>
555 #ifdef HAVE_SYS_PARAM_H
556 # include <sys/param.h>
558 #include <sys/statfs.h>
561 ],wine_cv_sys_statfs_has_statfs=yes,wine_cv_sys_statfs_has_statfs=no
564 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
566 AC_DEFINE(STATFS_DEFINED_BY_SYS_STATFS)
570 if test "$ac_cv_header_sys_mount_h" = "yes"
572 AC_CACHE_CHECK( "whether sys/mount.h defines statfs",
573 wine_cv_sys_mount_has_statfs,
575 #include <sys/types.h>
576 #ifdef HAVE_SYS_PARAM_H
577 # include <sys/param.h>
579 #include <sys/mount.h>
582 ],wine_cv_sys_mount_has_statfs=yes,wine_cv_sys_mount_has_statfs=no
585 if test "$wine_cv_sys_mount_has_statfs" = "yes"
587 AC_DEFINE(STATFS_DEFINED_BY_SYS_MOUNT)
591 dnl **** FIXME: what about mixed cases, where we need two of them? ***
593 AC_CACHE_CHECK( "for statfs.f_bfree", wine_cv_statfs_bfree,
594 [ if test "x$statfs_bfree" = "xno"
596 wine_cv_statfs_bfree=no
599 #include <sys/types.h>
600 #ifdef HAVE_SYS_PARAM_H
601 # include <sys/param.h>
603 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
604 # include <sys/mount.h>
606 # ifdef STATFS_DEFINED_BY_SYS_VFS
607 # include <sys/vfs.h>
609 # ifdef STATFS_DEFINED_BY_SYS_STATFS
610 # include <sys/statfs.h>
618 ],wine_cv_statfs_bfree=yes,wine_cv_statfs_bfree=no
621 if test "$wine_cv_statfs_bfree" = "yes"
623 AC_DEFINE(STATFS_HAS_BFREE)
626 AC_CACHE_CHECK( "for statfs.f_bavail", wine_cv_statfs_bavail,
627 [ if test "x$statfs_bavail" = "xno"
629 wine_cv_statfs_bavail=no
632 #include <sys/types.h>
633 #ifdef HAVE_SYS_PARAM_H
634 # include <sys/param.h>
636 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
637 # include <sys/mount.h>
639 # ifdef STATFS_DEFINED_BY_SYS_VFS
640 # include <sys/vfs.h>
642 # ifdef STATFS_DEFINED_BY_SYS_STATFS
643 # include <sys/statfs.h>
651 ],wine_cv_statfs_bavail=yes,wine_cv_statfs_bavail=no
654 if test "$wine_cv_statfs_bavail" = "yes"
656 AC_DEFINE(STATFS_HAS_BAVAIL)
659 dnl *** check for working sigaltstack
660 dnl glibc 2.0x defines it, but it always fails... so it is useless for us.
662 AC_CACHE_CHECK("for working sigaltstack",
663 ac_cv_c_working_sigaltstack,
666 #include <time.h> /* <sys/time.h> ? bad magic without end */
667 #include <sys/types.h>
668 #include <sys/signal.h>
669 #ifdef HAVE_SYS_PARAM_H
670 # include <sys/param.h>
672 #ifdef HAVE_SYSCALL_H
673 # include <syscall.h>
675 # ifdef HAVE_SYS_SYSCALL_H
676 # include <sys/syscall.h>
680 unsigned char *xaltstack;
683 main(int argc,char **argv) {
684 struct sigaltstack ss;
686 xaltstack = malloc(16384);
687 ss.ss_sp = xaltstack;
690 if (sigaltstack(&ss, NULL) < 0) {
691 /* this catches the glibc case */
692 perror("sigaltstack");
693 return (1); /* aka exit(1) aka fail */
695 /* assume it works. */
699 ac_cv_c_working_sigaltstack="yes",
700 ac_cv_c_working_sigaltstack="no",
701 ac_cv_c_working_sigaltstack="no"
704 if test "$ac_cv_c_working_sigaltstack" = "yes"
706 AC_DEFINE(HAVE_WORKING_SIGALTSTACK)
710 dnl *** check for file descriptor passing with msg_accrights
712 AC_CACHE_CHECK("for msg_accrights in struct msghdr", ac_cv_c_msg_accrights,
713 AC_TRY_COMPILE([#include <sys/types.h>
714 #include <sys/socket.h>],[struct msghdr hdr; hdr.msg_accrights=0],
715 ac_cv_c_msg_accrights="yes", ac_cv_c_msg_accrights="no"))
716 if test "$ac_cv_c_msg_accrights" = "yes"
718 AC_DEFINE(HAVE_MSGHDR_ACCRIGHTS)
721 dnl *** check for the need to define __i386__
723 AC_CACHE_CHECK("whether we need to define __i386__",ac_cv_cpp_def_i386,
724 AC_EGREP_CPP(yes,[#if (defined(i386) || defined(__i386)) && !defined(__i386__)
727 ac_cv_cpp_def_i386="yes", ac_cv_cpp_def_i386="no"))
728 if test "$ac_cv_cpp_def_i386" = "yes"
730 CFLAGS="$CFLAGS -D__i386__"
733 dnl $GCC is set by autoconf
735 if test "$GCC" = "yes"
737 GCC_NO_BUILTIN="-fno-builtin"
739 AC_SUBST(GCC_NO_BUILTIN)
741 dnl **** Generate output files ****
743 MAKE_RULES=Make.rules
744 AC_SUBST_FILE(MAKE_RULES)
753 dlls/advapi32/Makefile
754 dlls/avifil32/Makefile
755 dlls/comctl32/Makefile
756 dlls/commdlg/Makefile
757 dlls/imagehlp/Makefile
759 dlls/msacm32/Makefile
762 dlls/rasapi32/Makefile
763 dlls/shell32/Makefile
766 dlls/version/Makefile
767 dlls/winaspi/Makefile
768 dlls/winspool/Makefile
769 dlls/wnaspi32/Makefile
770 documentation/Makefile
773 graphics/enhmetafiledrv/Makefile
774 graphics/metafiledrv/Makefile
775 graphics/psdrv/Makefile
776 graphics/ttydrv/Makefile
777 graphics/win16drv/Makefile
778 graphics/x11drv/Makefile
795 programs/clock/Makefile
796 programs/cmdlgtst/Makefile
797 programs/control/Makefile
798 programs/avitools/Makefile
799 programs/notepad/Makefile
800 programs/progman/Makefile
801 programs/regtest/Makefile
802 programs/regapi/Makefile
803 programs/view/Makefile
804 programs/winhelp/Makefile
805 programs/winver/Makefile
816 windows/ttydrv/Makefile
817 windows/x11drv/Makefile ])
819 if test "$have_x" = "no"
822 echo "*** Warning: X development files not found. Wine will be built without"
823 echo "*** X support, which currently does not work, and would probably not be"
824 echo "*** what you want anyway. You will need to install devel packages of"
825 echo "*** Xlib/Xfree86 and Xpm at the very least."
826 elif test "$ac_cv_lib_Xpm_XpmCreatePixmapFromData" = "no"
829 echo "*** Warning: Xpm development files not found. Wine will be built without"
830 echo "*** Xpm support, which currently does not work. You will need to install"
831 echo "*** devel packages of Xpm."
834 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
837 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
838 echo "*** terminal resize support. Consider upgrading ncurses."
841 if test "$wine_cv_libc_reentrant" = "no"
844 echo "*** Warning: non-reentrant libc detected. Wine will be build without"
845 echo "*** thread support. Consider upgrading libc to a more recent"
846 echo "*** reentrant version of libc."
849 if test "$wine_cv_mesa_version_OK" = "no"
852 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
853 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)"
857 echo "Configure finished. Do 'make depend && make' to compile Wine."
861 dnl comment-start: "dnl "
863 dnl comment-start-skip: "\\bdnl\\b\\s *"
864 dnl compile-command: "autoconf"