Skip to content
Snippets Groups Projects
Commit 40664c0c authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

configure: Move down the X11 checks to allow defaulting to --without-x for the Windows build.

parent 8ab829a6
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -172,8 +172,6 @@ then
AC_SUBST(TARGETFLAGS,"-b $host_alias")
fi
AC_PATH_XTRA
dnl Check for flex
AC_CHECK_PROGS(FLEX,flex,none)
if test "$FLEX" = "none"
......@@ -538,6 +536,8 @@ case $host_os in
enable_ws2_32=${enable_ws2_32:-no}
enable_loader=${enable_loader:-no}
enable_server=${enable_server:-no}
dnl Disable dependencies that are not useful on Windows
with_x=${with_x:-no}
;;
darwin*|macosx*)
DLLEXT=".so"
......@@ -670,6 +670,8 @@ fi
dnl **** Check for X11 ****
AC_PATH_XTRA
if test "$have_x" = "yes"
then
XLIB="-lXext -lX11"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment