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 dnl **** If ln -s doesn't work, use cp instead ****
238 if test "$ac_cv_prog_LN_S" = "ln -s"; then : ; else LN_S=cp ; fi
240 dnl **** Check for gcc strength-reduce bug ****
242 if test "x${GCC}" = "xyes"
244 CFLAGS="$CFLAGS -Wall"
245 AC_CACHE_CHECK( "for gcc strength-reduce bug", ac_cv_c_gcc_strength_bug,
248 static int Array[[3]];
251 for(i=0; i<B; i++) Array[[i]] = i - 3;
252 exit( Array[[1]] != -2 );
254 ac_cv_c_gcc_strength_bug="no",
255 ac_cv_c_gcc_strength_bug="yes",
256 ac_cv_c_gcc_strength_bug="yes") )
257 if test "$ac_cv_c_gcc_strength_bug" = "yes"
259 CFLAGS="$CFLAGS -fno-strength-reduce"
263 dnl **** Check for underscore on external symbols ****
265 AC_CACHE_CHECK("whether external symbols need an underscore prefix",
266 ac_cv_c_extern_prefix,
268 LIBS="conftest_asm.s $LIBS"
269 cat > conftest_asm.s <<EOF
274 AC_TRY_LINK([extern int ac_test;],[if (ac_test) return 1],
275 ac_cv_c_extern_prefix="yes",ac_cv_c_extern_prefix="no")
277 if test "$ac_cv_c_extern_prefix" = "yes"
279 AC_DEFINE(NEED_UNDERSCORE_PREFIX)
282 dnl **** Check for .string in assembler ****
284 AC_CACHE_CHECK("whether assembler accepts .string",
287 LIBS="conftest_asm.s $LIBS"
288 cat > conftest_asm.s <<EOF
291 AC_TRY_LINK(,,ac_cv_c_asm_string="yes",ac_cv_c_asm_string="no")
293 if test "$ac_cv_c_asm_string" = "yes"
295 AC_DEFINE(HAVE_ASM_STRING)
298 dnl **** Check for working dll ****
302 if test "$LIB_TARGET" = "libwine.so.1.0"
304 AC_CACHE_CHECK("whether we can build a Linux dll",
306 [saved_cflags=$CFLAGS
307 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0"
308 AC_TRY_LINK(,[return 1],ac_cv_c_dll_linux="yes",ac_cv_c_dll_linux="no")
311 if test "$ac_cv_c_dll_linux" = "yes"
314 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so"
316 AC_CACHE_CHECK("whether we can build a NetBSD dll",
318 [saved_cflags=$CFLAGS
319 CFLAGS="$CFLAGS -fPIC -Bshareable -Bforcearchive"
320 AC_TRY_LINK(,[return 1],ac_cv_c_dll_netbsd="yes",ac_cv_c_dll_netbsd="no")
323 if test "$ac_cv_c_dll_netbsd" = "yes"
326 LDSHARED="ld -Bshareable -Bforcearchive"
329 if test "$ac_cv_c_dll_linux" = "no" -a "$ac_cv_c_dll_netbsd" = "no"
331 LIB_TARGET="libwine.a"
337 dnl **** Check for reentrant libc ****
339 dnl For cross-compiling we blindly assume that libc is reentrant. This is
340 dnl ok since non-reentrant libc is quite rare (mostly old libc5 versions).
342 wine_cv_libc_reentrant=no
344 dnl Linux style errno location
346 AC_CACHE_CHECK("for reentrant libc: __errno_location", wine_cv_libc_r__errno_location,
347 [AC_TRY_RUN([int myerrno = 0;
349 int *__errno_location(){return &myerrno;}
350 main(){connect(0,buf,255); exit(!myerrno);}],
351 wine_cv_libc_r__errno_location=yes, wine_cv_libc_r__errno_location=no,
352 wine_cv_libc_r__errno_location=yes )
354 if test "$wine_cv_libc_r__errno_location" = "yes"
356 AC_DEFINE(HAVE__ERRNO_LOCATION)
357 wine_cv_libc_reentrant=__errno_location
360 dnl FreeBSD style errno location
362 AC_CACHE_CHECK("for reentrant libc: __error", wine_cv_libc_r__error,
363 [AC_TRY_RUN([int myerrno = 0;
365 int *__error(){return &myerrno;}
366 main(){connect(0,buf,255); exit(!myerrno);}],
367 wine_cv_libc_r__error=yes, wine_cv_libc_r__error=no,
368 wine_cv_libc_r__error=yes )
370 if test "$wine_cv_libc_r__error" = "yes"
372 AC_DEFINE(HAVE__ERROR)
373 wine_cv_libc_reentrant=__error
376 dnl Solaris style errno location
378 AC_CACHE_CHECK("for reentrant libc: ___errno", wine_cv_libc_r___errno,
379 [AC_TRY_RUN([int myerrno = 0;
381 int *___errno(){return &myerrno;}
382 main(){connect(0,buf,255); exit(!myerrno);}],
383 wine_cv_libc_r___errno=yes, wine_cv_libc_r___errno=no,
384 wine_cv_libc_r___errno=yes )
386 if test "$wine_cv_libc_r___errno" = "yes"
388 AC_DEFINE(HAVE___ERRNO)
389 wine_cv_libc_reentrant=___errno
391 if test "$wine_cv_libc_reentrant" = "no"
393 AC_DEFINE(NO_REENTRANT_LIBC)
396 dnl **** Check for reentrant X libraries ****
398 dnl This may fail to determine whether X libraries are reentrant if
399 dnl AC_PATH_XTRA does not set x_libraries. In this case manual configuration
400 dnl is possible with the --without-reentrant-x option.
402 if test "$have_x" = "yes" -a "$wine_cv_libc_reentrant" != "no"
404 AC_CACHE_CHECK( "for reentrant X libraries", wine_cv_x_reentrant,
405 [ if test "x$with_reentrant_x" = "xno"
407 wine_cv_x_reentrant=no
410 for dir in "$x_libraries" /usr/lib /usr/local/lib /lib; do
411 if test -r $dir/libX11.so; then
412 libX11_check="-D $dir/libX11.so"
415 if test -r $dir/libX11.a; then
416 libX11_check="$dir/libX11.a"
420 if test "$libX11_check" != "none"; then
421 if nm $libX11_check | grep $wine_cv_libc_reentrant >/dev/null 2>&1
423 wine_cv_x_reentrant=yes
425 wine_cv_x_reentrant=no
428 wine_cv_x_reentrant=unknown
432 wine_cv_x_reentrant=no
434 if test "$wine_cv_x_reentrant" = "no"
436 AC_DEFINE(NO_REENTRANT_X11)
439 dnl **** Check for functions ****
460 dnl **** Check for header files ****
494 dnl **** Check for types ****
499 AC_CHECK_SIZEOF(long long,0)
501 dnl **** statfs checks ****
503 if test "$ac_cv_header_sys_vfs_h" = "yes"
505 AC_CACHE_CHECK( "whether sys/vfs.h defines statfs",
506 wine_cv_sys_vfs_has_statfs,
508 #include <sys/types.h>
509 #ifdef HAVE_SYS_PARAM_H
510 # include <sys/param.h>
516 memset(&stfs,0,sizeof(stfs));
517 ],wine_cv_sys_vfs_has_statfs=yes,wine_cv_sys_vfs_has_statfs=no
520 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
522 AC_DEFINE(STATFS_DEFINED_BY_SYS_VFS)
526 if test "$ac_cv_header_sys_statfs_h" = "yes"
528 AC_CACHE_CHECK( "whether sys/statfs.h defines statfs",
529 wine_cv_sys_statfs_has_statfs,
531 #include <sys/types.h>
532 #ifdef HAVE_SYS_PARAM_H
533 # include <sys/param.h>
535 #include <sys/statfs.h>
538 ],wine_cv_sys_statfs_has_statfs=yes,wine_cv_sys_statfs_has_statfs=no
541 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
543 AC_DEFINE(STATFS_DEFINED_BY_SYS_STATFS)
547 if test "$ac_cv_header_sys_mount_h" = "yes"
549 AC_CACHE_CHECK( "whether sys/mount.h defines statfs",
550 wine_cv_sys_mount_has_statfs,
552 #include <sys/types.h>
553 #ifdef HAVE_SYS_PARAM_H
554 # include <sys/param.h>
556 #include <sys/mount.h>
559 ],wine_cv_sys_mount_has_statfs=yes,wine_cv_sys_mount_has_statfs=no
562 if test "$wine_cv_sys_mount_has_statfs" = "yes"
564 AC_DEFINE(STATFS_DEFINED_BY_SYS_MOUNT)
568 dnl **** FIXME: what about mixed cases, where we need two of them? ***
570 AC_CACHE_CHECK( "for statfs.f_bfree", wine_cv_statfs_bfree,
571 [ if test "x$statfs_bfree" = "xno"
573 wine_cv_statfs_bfree=no
576 #include <sys/types.h>
577 #ifdef HAVE_SYS_PARAM_H
578 # include <sys/param.h>
580 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
581 # include <sys/mount.h>
583 # ifdef STATFS_DEFINED_BY_SYS_VFS
584 # include <sys/vfs.h>
586 # ifdef STATFS_DEFINED_BY_SYS_STATFS
587 # include <sys/statfs.h>
595 ],wine_cv_statfs_bfree=yes,wine_cv_statfs_bfree=no
598 if test "$wine_cv_statfs_bfree" = "yes"
600 AC_DEFINE(STATFS_HAS_BFREE)
603 AC_CACHE_CHECK( "for statfs.f_bavail", wine_cv_statfs_bavail,
604 [ if test "x$statfs_bavail" = "xno"
606 wine_cv_statfs_bavail=no
609 #include <sys/types.h>
610 #ifdef HAVE_SYS_PARAM_H
611 # include <sys/param.h>
613 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
614 # include <sys/mount.h>
616 # ifdef STATFS_DEFINED_BY_SYS_VFS
617 # include <sys/vfs.h>
619 # ifdef STATFS_DEFINED_BY_SYS_STATFS
620 # include <sys/statfs.h>
628 ],wine_cv_statfs_bavail=yes,wine_cv_statfs_bavail=no
631 if test "$wine_cv_statfs_bavail" = "yes"
633 AC_DEFINE(STATFS_HAS_BAVAIL)
636 dnl *** check for working sigaltstack
637 dnl glibc 2.0x defines it, but it always fails... so it is useless for us.
639 AC_CACHE_CHECK("for working sigaltstack",
640 ac_cv_c_working_sigaltstack,
643 #include <time.h> /* <sys/time.h> ? bad magic without end */
644 #include <sys/types.h>
645 #include <sys/signal.h>
646 #ifdef HAVE_SYS_PARAM_H
647 # include <sys/param.h>
649 #ifdef HAVE_SYSCALL_H
650 # include <syscall.h>
652 # ifdef HAVE_SYS_SYSCALL_H
653 # include <sys/syscall.h>
657 unsigned char *xaltstack;
660 main(int argc,char **argv) {
661 struct sigaltstack ss;
663 xaltstack = malloc(16384);
664 ss.ss_sp = xaltstack;
667 if (sigaltstack(&ss, NULL) < 0) {
668 /* this catches the glibc case */
669 perror("sigaltstack");
670 return (1); /* aka exit(1) aka fail */
672 /* assume it works. */
676 ac_cv_c_working_sigaltstack="yes",
677 ac_cv_c_working_sigaltstack="no",
678 ac_cv_c_working_sigaltstack="no"
681 if test "$ac_cv_c_working_sigaltstack" = "yes"
683 AC_DEFINE(HAVE_WORKING_SIGALTSTACK)
687 dnl *** check for file descriptor passing with msg_accrights
689 AC_CACHE_CHECK("for msg_accrights in struct msghdr", ac_cv_c_msg_accrights,
690 AC_TRY_COMPILE([#include <sys/types.h>
691 #include <sys/socket.h>],[struct msghdr hdr; hdr.msg_accrights=0],
692 ac_cv_c_msg_accrights="yes", ac_cv_c_msg_accrights="no"))
693 if test "$ac_cv_c_msg_accrights" = "yes"
695 AC_DEFINE(HAVE_MSGHDR_ACCRIGHTS)
698 dnl *** check for the need to define __i386__
700 AC_CACHE_CHECK("whether we need to define __i386__",ac_cv_cpp_def_i386,
701 AC_EGREP_CPP(yes,[#if (defined(i386) || defined(__i386)) && !defined(__i386__)
704 ac_cv_cpp_def_i386="yes", ac_cv_cpp_def_i386="no"))
705 if test "$ac_cv_cpp_def_i386" = "yes"
707 CFLAGS="$CFLAGS -D__i386__"
710 dnl $GCC is set by autoconf
712 if test "$GCC" = "yes"
714 GCC_NO_BUILTIN="-fno-builtin"
716 AC_SUBST(GCC_NO_BUILTIN)
718 dnl **** Generate output files ****
720 MAKE_RULES=Make.rules
721 AC_SUBST_FILE(MAKE_RULES)
730 dlls/advapi32/Makefile
731 dlls/avifil32/Makefile
732 dlls/comctl32/Makefile
733 dlls/commdlg/Makefile
734 dlls/imagehlp/Makefile
736 dlls/msacm32/Makefile
739 dlls/rasapi32/Makefile
740 dlls/shell32/Makefile
743 dlls/version/Makefile
744 dlls/winaspi/Makefile
745 dlls/wnaspi32/Makefile
746 documentation/Makefile
749 graphics/enhmetafiledrv/Makefile
750 graphics/metafiledrv/Makefile
751 graphics/psdrv/Makefile
752 graphics/ttydrv/Makefile
753 graphics/win16drv/Makefile
754 graphics/x11drv/Makefile
771 programs/clock/Makefile
772 programs/cmdlgtst/Makefile
773 programs/control/Makefile
774 programs/avitools/Makefile
775 programs/notepad/Makefile
776 programs/progman/Makefile
777 programs/regtest/Makefile
778 programs/regapi/Makefile
779 programs/view/Makefile
780 programs/winhelp/Makefile
781 programs/winver/Makefile
792 windows/ttydrv/Makefile
793 windows/x11drv/Makefile ])
795 if test "$have_x" = "no"
798 echo "*** Warning: X development files not found. Wine will be built without"
799 echo "*** X support, which currently does not work, and would probably not be"
800 echo "*** what you want anyway. You will need to install devel packages of"
801 echo "*** Xlib/Xfree86 and Xpm at the very least."
802 elif test "$ac_cv_lib_Xpm_XpmCreatePixmapFromData" = "no"
805 echo "*** Warning: Xpm development files not found. Wine will be built without"
806 echo "*** Xpm support, which currently does not work. You will need to install"
807 echo "*** devel packages of Xpm."
810 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
813 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
814 echo "*** terminal resize support. Consider upgrading ncurses."
817 if test "$wine_cv_libc_reentrant" = "no"
820 echo "*** Warning: non-reentrant libc detected. Wine will be build without"
821 echo "*** thread support. Consider upgrading libc to a more recent"
822 echo "*** reentrant version of libc."
825 if test "$wine_cv_mesa_version_OK" = "no"
828 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
829 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)"
833 echo "Configure finished. Do 'make depend && make' to compile Wine."
837 dnl comment-start: "dnl "
839 dnl comment-start-skip: "\\bdnl\\b\\s *"
840 dnl compile-command: "autoconf"