make wine compile without X
Rein Klazes
rklazes at xs4all.nl
Sun Nov 7 12:53:28 CST 2004
Hi,
The autoconf macro AC_CHECK_HEADERS checks a set of default header files
(sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h inttypes.h
stdint.h unistd.h) and the ANSI C headers apparently only the first
times it appears in the ac script. Unfortunately, this first appearance
is in a if(have_x) branch.
Compiling wine without 'X' does not even have a chance this way.
Changelog:
configure.ac
Add a first AC_CHECK_HEADERS, forcing checking of the default
includes even when building wine without 'X'
Rein.
--
Rein Klazes
rklazes at xs4all.nl
-------------- next part --------------
--- wine/configure.ac 2004-11-05 08:33:31.000000000 +0100
+++ mywine/configure.ac 2004-11-07 18:26:35.000000000 +0100
@@ -160,6 +160,8 @@ AC_SUBST(GLU32FILES)
GLU32FILES=""
AC_SUBST(OPENGL_LIBS)
OPENGL_LIBS=""
+dnl Note: this must be the first us of AC_CHECK_HEADERS to check the default includes
+AC_CHECK_HEADERS()
if test "$have_x" = "yes"
then
XLIB="-lXext -lX11"
More information about the wine-patches
mailing list