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 [ --disable-debug compile out all debugging messages],
36 [if test "$enableval" = "no"; then DEBUG_MSGS="no"; fi])
39 [ --disable-trace compile out TRACE messages],
40 [if test "$enableval" = "no"; then TRACE_MSGS="no"; fi])
42 AC_ARG_WITH(reentrant-x,
43 [ --without-reentrant-x compile for use with non-reentrant X libraries])
50 if test "$DEBUG_MSGS" = "no"
52 AC_DEFINE(NO_DEBUG_MSGS)
53 AC_DEFINE(NO_TRACE_MSGS)
55 if test "$TRACE_MSGS" = "no"
57 AC_DEFINE(NO_TRACE_MSGS)
61 dnl **** Check for some programs ****
72 AC_CHECK_PROG(C2MAN,c2man,c2man,true)
73 AC_PATH_PROG(LDCONFIG, ldconfig, false, /sbin:/usr/sbin:$PATH)
76 AC_CHECK_PROGS(LINT, lclint lint)
77 if test "$LINT" = "lint"
79 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
80 dnl LINTFLAGS='-D_SIZE_T "-Dsize_t=unsigned long" -errchk=longptr64'
85 dnl **** Check for some libraries ****
87 dnl Check for -lm for BeOS
89 dnl Check for -li386 for NetBSD and OpenBSD
90 AC_CHECK_LIB(i386,i386_set_ldt)
91 dnl Check for -lossaudio for NetBSD
92 AC_CHECK_LIB(ossaudio,_oss_ioctl)
93 dnl Check for -lw for Solaris
94 AC_CHECK_LIB(w,iswalnum)
95 dnl Check for -lnsl for Solaris
96 AC_CHECK_FUNCS(gethostbyname,,AC_CHECK_LIB(nsl,gethostbyname))
97 dnl Check for -lsocket for Solaris
98 AC_CHECK_FUNCS(connect,,AC_CHECK_LIB(socket,connect))
99 dnl Check for -lxpg4 for FreeBSD
100 AC_CHECK_LIB(xpg4,setrunelocale)
101 dnl Check for -lmmap for OS/2
102 AC_CHECK_LIB(mmap,mmap)
104 AC_CHECK_HEADERS(dlfcn.h,
105 AC_CHECK_FUNCS(dlopen,
106 AC_DEFINE(HAVE_DL_API),
107 AC_CHECK_LIB(dl,dlopen,
108 AC_DEFINE(HAVE_DL_API)
114 if test "$have_x" = "yes"
117 ac_save_CPPFLAGS="$CPPFLAGS"
118 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
121 AC_CHECK_HEADERS(X11/xpm.h)
122 if test "$ac_cv_header_X11_xpm_h" = "yes"
124 AC_CHECK_LIB(Xpm,XpmCreatePixmapFromData,AC_DEFINE(HAVE_LIBXXPM) X_PRE_LIBS="$X_PRE_LIBS -lXpm",,$X_LIBS -lXext -lX11)
127 dnl Check for X Shm extension
128 AC_CHECK_HEADERS(X11/Xlib.h X11/extensions/XShm.h)
129 if test "$ac_cv_header_X11_Xlib_h" = "yes" -a "$ac_cv_header_X11_extensions_XShm_h" = "yes"
131 AC_CHECK_LIB(Xext,XShmQueryExtension,AC_DEFINE(HAVE_LIBXXSHM),,$X_LIBS -lXext -lX11)
133 dnl Check for XFree86 DGA extension
134 AC_CHECK_HEADERS(X11/Xlib.h X11/extensions/xf86dga.h)
135 if test "$ac_cv_header_X11_Xlib_h" = "yes" -a "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
137 AC_CHECK_LIB(Xxf86dga,XF86DGAQueryExtension,AC_DEFINE(HAVE_LIBXXF86DGA) X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga",,$X_LIBS -lXext -lX11)
140 dnl Check for XFree86 VMODE extension
141 AC_CHECK_HEADERS(X11/Xlib.h X11/extensions/xf86vmode.h)
142 if test "$ac_cv_header_X11_Xlib_h" = "yes" -a "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
144 AC_CHECK_LIB(Xxf86vm,XF86VidModeQueryExtension,AC_DEFINE(HAVE_LIBXXF86VM) X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm",,$X_LIBS -lXext -lX11)
147 dnl Check for the presence of Mesa
148 AC_CHECK_HEADERS(GL/gl.h GL/glx.h GL/osmesa.h)
149 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
151 dnl Check for some problems due to old Mesa versions
152 AC_CACHE_CHECK("for up-to-date Mesa version", wine_cv_mesa_version_OK,
154 [#include <GL/gl.h>],
155 [GLenum test = GL_UNSIGNED_SHORT_5_6_5;],
156 [wine_cv_mesa_version_OK="yes"],
157 [wine_cv_mesa_version_OK="no"]
161 if test "$wine_cv_mesa_version_OK" = "yes"
163 dnl Check for the presense of the library
164 AC_CHECK_LIB(GL,glXCreateContext,AC_DEFINE(HAVE_LIBMESAGL) X_PRE_LIBS="$X_PRE_LIBS -lGL",,$X_LIBS -lXext -lX11 -lm)
165 if test "$ac_cv_lib_GL_glXCreateContext" = "no"
167 AC_CHECK_LIB(MesaGL,glXCreateContext,AC_DEFINE(HAVE_LIBMESAGL) X_PRE_LIBS="$X_PRE_LIBS -lMesaGL",,$X_LIBS -lXext -lX11 -lm)
172 CPPFLAGS="$ac_save_CPPFLAGS"
179 dnl **** Check which curses lib to use ***
180 AC_CHECK_HEADERS(ncurses.h)
181 if test "$ac_cv_header_ncurses_h" = "yes"
183 AC_CHECK_LIB(ncurses,waddch)
185 if test "$ac_cv_lib_ncurses_waddch" = "yes"
187 AC_CHECK_LIB(ncurses,resizeterm,AC_DEFINE(HAVE_RESIZETERM))
188 AC_CHECK_LIB(ncurses,getbkgd,AC_DEFINE(HAVE_GETBKGD))
190 AC_CHECK_HEADERS(curses.h)
191 if test "$ac_cv_header_curses_h" = "yes"
193 AC_CHECK_LIB(curses,waddch)
194 AC_CHECK_LIB(curses,resizeterm,AC_DEFINE(HAVE_RESIZETERM))
195 AC_CHECK_LIB(curses,getbkgd,AC_DEFINE(HAVE_GETBKGD))
199 dnl **** Check for IPX (currently Linux only) ****
200 AC_CACHE_CHECK("for GNU style IPX support", ac_cv_c_ipx_gnu,
202 [#include <sys/socket.h>
203 #include <netipx/ipx.h>],
204 [((struct sockaddr_ipx *)0)->sipx_family == AF_IPX],
205 [AC_DEFINE(HAVE_IPX_GNU)
206 ac_cv_c_ipx_gnu="yes"],
207 [ac_cv_c_ipx_gnu="no"])
210 if test "$ac_cv_c_ipx_gnu" = "no"
212 AC_CACHE_CHECK("for linux style IPX support", ac_cv_c_ipx_linux,
214 [#include <sys/socket.h>
215 #include <asm/types.h>
216 #include <linux/ipx.h>],
217 [((struct sockaddr_ipx *)0)->sipx_family == AF_IPX],
218 [AC_DEFINE(HAVE_IPX_LINUX)
219 ac_cv_c_ipx_linux="yes"],
220 [ac_cv_c_ipx_linux="no"])
224 dnl **** Check for Open Sound System ****
225 AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h soundcard.h, break)
227 AC_CACHE_CHECK("for Open Sound System",
228 ac_cv_c_opensoundsystem,
230 #if defined(HAVE_SYS_SOUNDCARD_H)
231 #include <sys/soundcard.h>
232 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
233 #include <machine/soundcard.h>
234 #elif defined(HAVE_SOUNDCARD_H)
235 #include <soundcard.h>
239 /* check for one of the Open Sound System specific SNDCTL_ defines */
240 #if !defined(SNDCTL_DSP_STEREO)
241 #error No open sound system
243 ],ac_cv_c_opensoundsystem="yes",ac_cv_c_opensoundsystem="no"))
245 if test "$ac_cv_c_opensoundsystem" = "yes"
250 AC_CACHE_CHECK("for Open Sound System/MIDI interface",
251 ac_cv_c_opensoundsystem_midi,
253 #if defined(HAVE_SYS_SOUNDCARD_H)
254 #include <sys/soundcard.h>
255 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
256 #include <machine/soundcard.h>
257 #elif defined(HAVE_SOUNDCARD_H)
258 #include <soundcard.h>
262 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
263 #if !defined(SNDCTL_SEQ_SYNC)
264 #error No open sound system MIDI interface
266 ],ac_cv_c_opensoundsystem_midi="yes",ac_cv_c_opensoundsystem_midi="no"))
268 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
270 AC_DEFINE(HAVE_OSS_MIDI)
273 dnl **** If ln -s doesn't work, use cp instead ****
274 if test "$ac_cv_prog_LN_S" = "ln -s"; then : ; else LN_S=cp ; fi
276 dnl **** Check for gcc strength-reduce bug ****
278 if test "x${GCC}" = "xyes"
280 CFLAGS="$CFLAGS -Wall"
281 AC_CACHE_CHECK( "for gcc strength-reduce bug", ac_cv_c_gcc_strength_bug,
284 static int Array[[3]];
287 for(i=0; i<B; i++) Array[[i]] = i - 3;
288 exit( Array[[1]] != -2 );
290 ac_cv_c_gcc_strength_bug="no",
291 ac_cv_c_gcc_strength_bug="yes",
292 ac_cv_c_gcc_strength_bug="yes") )
293 if test "$ac_cv_c_gcc_strength_bug" = "yes"
295 CFLAGS="$CFLAGS -fno-strength-reduce"
299 dnl **** Check for underscore on external symbols ****
301 AC_CACHE_CHECK("whether external symbols need an underscore prefix",
302 ac_cv_c_extern_prefix,
304 LIBS="conftest_asm.s $LIBS"
305 cat > conftest_asm.s <<EOF
310 AC_TRY_LINK([extern int ac_test;],[if (ac_test) return 1],
311 ac_cv_c_extern_prefix="yes",ac_cv_c_extern_prefix="no")
313 if test "$ac_cv_c_extern_prefix" = "yes"
315 AC_DEFINE(NEED_UNDERSCORE_PREFIX)
318 dnl **** Check for .string in assembler ****
320 AC_CACHE_CHECK("whether assembler accepts .string",
323 LIBS="conftest_asm.s $LIBS"
324 cat > conftest_asm.s <<EOF
327 AC_TRY_LINK(,,ac_cv_c_asm_string="yes",ac_cv_c_asm_string="no")
329 if test "$ac_cv_c_asm_string" = "yes"
331 AC_DEFINE(HAVE_ASM_STRING)
334 dnl **** Check for working dll ****
339 if test "$LIB_TARGET" = "libwine.so.1.0"
341 AC_CACHE_CHECK("whether we can build a Linux dll",
343 [saved_cflags=$CFLAGS
344 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0"
345 AC_TRY_LINK(,[return 1],ac_cv_c_dll_linux="yes",ac_cv_c_dll_linux="no")
348 if test "$ac_cv_c_dll_linux" = "yes"
352 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so"
354 AC_CACHE_CHECK("whether we can build a NetBSD dll",
356 [saved_cflags=$CFLAGS
357 CFLAGS="$CFLAGS -fPIC -Bshareable -Bforcearchive"
358 AC_TRY_LINK(,[return 1],ac_cv_c_dll_netbsd="yes",ac_cv_c_dll_netbsd="no")
361 if test "$ac_cv_c_dll_netbsd" = "yes"
365 LDSHARED="ld -Bshareable -Bforcearchive"
368 if test "$ac_cv_c_dll_linux" = "no" -a "$ac_cv_c_dll_netbsd" = "no"
370 LIB_TARGET="libwine.a"
377 dnl **** Check for reentrant libc ****
379 dnl For cross-compiling we blindly assume that libc is reentrant. This is
380 dnl ok since non-reentrant libc is quite rare (mostly old libc5 versions).
382 wine_cv_libc_reentrant=no
384 dnl Linux style errno location
386 AC_CACHE_CHECK("for reentrant libc: __errno_location", wine_cv_libc_r__errno_location,
387 [AC_TRY_RUN([int myerrno = 0;
389 int *__errno_location(){return &myerrno;}
390 main(){connect(0,buf,255); exit(!myerrno);}],
391 wine_cv_libc_r__errno_location=yes, wine_cv_libc_r__errno_location=no,
392 wine_cv_libc_r__errno_location=yes )
394 if test "$wine_cv_libc_r__errno_location" = "yes"
396 AC_DEFINE(HAVE__ERRNO_LOCATION)
397 wine_cv_libc_reentrant=__errno_location
400 dnl FreeBSD style errno location
402 AC_CACHE_CHECK("for reentrant libc: __error", wine_cv_libc_r__error,
403 [AC_TRY_RUN([int myerrno = 0;
405 int *__error(){return &myerrno;}
406 main(){connect(0,buf,255); exit(!myerrno);}],
407 wine_cv_libc_r__error=yes, wine_cv_libc_r__error=no,
408 wine_cv_libc_r__error=yes )
410 if test "$wine_cv_libc_r__error" = "yes"
412 AC_DEFINE(HAVE__ERROR)
413 wine_cv_libc_reentrant=__error
416 dnl Solaris style errno location
418 AC_CACHE_CHECK("for reentrant libc: ___errno", wine_cv_libc_r___errno,
419 [AC_TRY_RUN([int myerrno = 0;
421 int *___errno(){return &myerrno;}
422 main(){connect(0,buf,255); exit(!myerrno);}],
423 wine_cv_libc_r___errno=yes, wine_cv_libc_r___errno=no,
424 wine_cv_libc_r___errno=yes )
426 if test "$wine_cv_libc_r___errno" = "yes"
428 AC_DEFINE(HAVE___ERRNO)
429 wine_cv_libc_reentrant=___errno
431 if test "$wine_cv_libc_reentrant" = "no"
433 AC_DEFINE(NO_REENTRANT_LIBC)
436 dnl **** Check for reentrant X libraries ****
438 dnl This may fail to determine whether X libraries are reentrant if
439 dnl AC_PATH_XTRA does not set x_libraries. In this case manual configuration
440 dnl is possible with the --without-reentrant-x option.
442 if test "$have_x" = "yes" -a "$wine_cv_libc_reentrant" != "no"
444 AC_CACHE_CHECK( "for reentrant X libraries", wine_cv_x_reentrant,
445 [ if test "x$with_reentrant_x" = "xno"
447 wine_cv_x_reentrant=no
450 for dir in "$x_libraries" /usr/lib /usr/local/lib /lib; do
451 if test -r $dir/libX11.so; then
452 libX11_check="-D $dir/libX11.so"
455 if test -r $dir/libX11.a; then
456 libX11_check="$dir/libX11.a"
460 if test "$libX11_check" != "none"; then
461 if nm $libX11_check | grep $wine_cv_libc_reentrant >/dev/null 2>&1
463 wine_cv_x_reentrant=yes
465 wine_cv_x_reentrant=no
468 wine_cv_x_reentrant=unknown
472 wine_cv_x_reentrant=no
474 if test "$wine_cv_x_reentrant" = "no"
476 AC_DEFINE(NO_REENTRANT_X11)
479 dnl **** Check for functions ****
500 dnl **** Check for header files ****
537 dnl **** Check for types ****
542 AC_CHECK_SIZEOF(long long,0)
544 dnl **** statfs checks ****
546 if test "$ac_cv_header_sys_vfs_h" = "yes"
548 AC_CACHE_CHECK( "whether sys/vfs.h defines statfs",
549 wine_cv_sys_vfs_has_statfs,
551 #include <sys/types.h>
552 #ifdef HAVE_SYS_PARAM_H
553 # include <sys/param.h>
559 memset(&stfs,0,sizeof(stfs));
560 ],wine_cv_sys_vfs_has_statfs=yes,wine_cv_sys_vfs_has_statfs=no
563 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
565 AC_DEFINE(STATFS_DEFINED_BY_SYS_VFS)
569 if test "$ac_cv_header_sys_statfs_h" = "yes"
571 AC_CACHE_CHECK( "whether sys/statfs.h defines statfs",
572 wine_cv_sys_statfs_has_statfs,
574 #include <sys/types.h>
575 #ifdef HAVE_SYS_PARAM_H
576 # include <sys/param.h>
578 #include <sys/statfs.h>
581 ],wine_cv_sys_statfs_has_statfs=yes,wine_cv_sys_statfs_has_statfs=no
584 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
586 AC_DEFINE(STATFS_DEFINED_BY_SYS_STATFS)
590 if test "$ac_cv_header_sys_mount_h" = "yes"
592 AC_CACHE_CHECK( "whether sys/mount.h defines statfs",
593 wine_cv_sys_mount_has_statfs,
595 #include <sys/types.h>
596 #ifdef HAVE_SYS_PARAM_H
597 # include <sys/param.h>
599 #include <sys/mount.h>
602 ],wine_cv_sys_mount_has_statfs=yes,wine_cv_sys_mount_has_statfs=no
605 if test "$wine_cv_sys_mount_has_statfs" = "yes"
607 AC_DEFINE(STATFS_DEFINED_BY_SYS_MOUNT)
611 dnl **** FIXME: what about mixed cases, where we need two of them? ***
613 AC_CACHE_CHECK( "for statfs.f_bfree", wine_cv_statfs_bfree,
614 [ if test "x$statfs_bfree" = "xno"
616 wine_cv_statfs_bfree=no
619 #include <sys/types.h>
620 #ifdef HAVE_SYS_PARAM_H
621 # include <sys/param.h>
623 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
624 # include <sys/mount.h>
626 # ifdef STATFS_DEFINED_BY_SYS_VFS
627 # include <sys/vfs.h>
629 # ifdef STATFS_DEFINED_BY_SYS_STATFS
630 # include <sys/statfs.h>
638 ],wine_cv_statfs_bfree=yes,wine_cv_statfs_bfree=no
641 if test "$wine_cv_statfs_bfree" = "yes"
643 AC_DEFINE(STATFS_HAS_BFREE)
646 AC_CACHE_CHECK( "for statfs.f_bavail", wine_cv_statfs_bavail,
647 [ if test "x$statfs_bavail" = "xno"
649 wine_cv_statfs_bavail=no
652 #include <sys/types.h>
653 #ifdef HAVE_SYS_PARAM_H
654 # include <sys/param.h>
656 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
657 # include <sys/mount.h>
659 # ifdef STATFS_DEFINED_BY_SYS_VFS
660 # include <sys/vfs.h>
662 # ifdef STATFS_DEFINED_BY_SYS_STATFS
663 # include <sys/statfs.h>
671 ],wine_cv_statfs_bavail=yes,wine_cv_statfs_bavail=no
674 if test "$wine_cv_statfs_bavail" = "yes"
676 AC_DEFINE(STATFS_HAS_BAVAIL)
679 dnl *** check for working sigaltstack
680 dnl glibc 2.0x defines it, but it always fails... so it is useless for us.
682 AC_CACHE_CHECK("for working sigaltstack",
683 ac_cv_c_working_sigaltstack,
686 #include <time.h> /* <sys/time.h> ? bad magic without end */
687 #include <sys/types.h>
688 #include <sys/signal.h>
689 #ifdef HAVE_SYS_PARAM_H
690 # include <sys/param.h>
692 #ifdef HAVE_SYSCALL_H
693 # include <syscall.h>
695 # ifdef HAVE_SYS_SYSCALL_H
696 # include <sys/syscall.h>
700 unsigned char *xaltstack;
703 main(int argc,char **argv) {
704 struct sigaltstack ss;
706 xaltstack = malloc(16384);
707 ss.ss_sp = xaltstack;
710 if (sigaltstack(&ss, NULL) < 0) {
711 /* this catches the glibc case */
712 perror("sigaltstack");
713 return (1); /* aka exit(1) aka fail */
715 /* assume it works. */
719 ac_cv_c_working_sigaltstack="yes",
720 ac_cv_c_working_sigaltstack="no",
721 ac_cv_c_working_sigaltstack="no"
724 if test "$ac_cv_c_working_sigaltstack" = "yes"
726 AC_DEFINE(HAVE_WORKING_SIGALTSTACK)
730 dnl *** check for file descriptor passing with msg_accrights
732 AC_CACHE_CHECK("for msg_accrights in struct msghdr", ac_cv_c_msg_accrights,
733 AC_TRY_COMPILE([#include <sys/types.h>
734 #include <sys/socket.h>],[struct msghdr hdr; hdr.msg_accrights=0],
735 ac_cv_c_msg_accrights="yes", ac_cv_c_msg_accrights="no"))
736 if test "$ac_cv_c_msg_accrights" = "yes"
738 AC_DEFINE(HAVE_MSGHDR_ACCRIGHTS)
741 dnl *** check for the need to define __i386__
743 AC_CACHE_CHECK("whether we need to define __i386__",ac_cv_cpp_def_i386,
744 AC_EGREP_CPP(yes,[#if (defined(i386) || defined(__i386)) && !defined(__i386__)
747 ac_cv_cpp_def_i386="yes", ac_cv_cpp_def_i386="no"))
748 if test "$ac_cv_cpp_def_i386" = "yes"
750 CFLAGS="$CFLAGS -D__i386__"
751 LINTFLAGS="$LINTFLAGS -D__i386__"
754 dnl $GCC is set by autoconf
756 if test "$GCC" = "yes"
758 GCC_NO_BUILTIN="-fno-builtin"
760 AC_SUBST(GCC_NO_BUILTIN)
762 dnl **** Generate output files ****
764 MAKE_RULES=Make.rules
765 AC_SUBST_FILE(MAKE_RULES)
774 dlls/advapi32/Makefile
775 dlls/avifil32/Makefile
776 dlls/comctl32/Makefile
777 dlls/commdlg/Makefile
778 dlls/imagehlp/Makefile
780 dlls/msacm32/Makefile
783 dlls/rasapi32/Makefile
784 dlls/shell32/Makefile
787 dlls/version/Makefile
788 dlls/win87em/Makefile
789 dlls/winaspi/Makefile
790 dlls/winspool/Makefile
791 dlls/wnaspi32/Makefile
792 documentation/Makefile
793 documentation/wine.conf.man
794 documentation/wine.man
797 graphics/enhmetafiledrv/Makefile
798 graphics/metafiledrv/Makefile
799 graphics/psdrv/Makefile
800 graphics/ttydrv/Makefile
801 graphics/win16drv/Makefile
802 graphics/x11drv/Makefile
818 programs/clock/Makefile
819 programs/cmdlgtst/Makefile
820 programs/control/Makefile
821 programs/avitools/Makefile
822 programs/notepad/Makefile
823 programs/progman/Makefile
824 programs/regtest/Makefile
825 programs/regapi/Makefile
826 programs/view/Makefile
827 programs/wcmd/Makefile
828 programs/winhelp/Makefile
829 programs/winver/Makefile
840 windows/ttydrv/Makefile
841 windows/x11drv/Makefile ])
843 if test "$have_x" = "no"
846 echo "*** Warning: X development files not found. Wine will be built without"
847 echo "*** X support, which currently does not work, and would probably not be"
848 echo "*** what you want anyway. You will need to install devel packages of"
849 echo "*** Xlib/Xfree86 and Xpm at the very least."
850 elif test "$ac_cv_lib_Xpm_XpmCreatePixmapFromData" = "no"
853 echo "*** Warning: Xpm development files not found. Wine will be built without"
854 echo "*** Xpm support, which currently does not work. You will need to install"
855 echo "*** devel packages of Xpm."
858 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
861 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
862 echo "*** terminal resize support. Consider upgrading ncurses."
865 if test "$wine_cv_libc_reentrant" = "no"
868 echo "*** Warning: non-reentrant libc detected. Wine will be build without"
869 echo "*** thread support. Consider upgrading libc to a more recent"
870 echo "*** reentrant version of libc."
873 if test "$wine_cv_mesa_version_OK" = "no"
876 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
877 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)"
881 echo "Configure finished. Do 'make depend && make' to compile Wine."
885 dnl comment-start: "dnl "
887 dnl comment-start-skip: "\\bdnl\\b\\s *"
888 dnl compile-command: "autoconf"