From 475651495e5667f21dbe3db8230a948aa9964bb5 Mon Sep 17 00:00:00 2001 From: Marcus Sundberg Date: Fri, 7 Jan 2000 01:13:47 +0000 Subject: [PATCH] Don't try to build QW if we don't have UDP. --- Makefile.in | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index ca0b0f8..183933e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,5 +1,11 @@ -SUBDIRS = qw_client qw_server uquake SRC_DIR = @srcdir@ +HAVE_UDP = @HAVE_UDP@ + +ifeq ($(HAVE_UDP),yes) +SUBDIRS = qw_client qw_server uquake +else +SUBDIRS = uquake +endif DESTDIR = @@ -27,8 +33,8 @@ clean-autoconf mrproper: distclean @for dir in $(SUBDIRS); do \ $(MAKE) -C $$dir $@ || exit; \ done - - + + changelog: @echo "CVS will ask for a passwd, press enter" cvs -d$(ANONCVS) login @@ -52,4 +58,3 @@ qw_server/Makefile: qw_server/Makefile.in configure uquake/Makefile: uquake/Makefile.in configure ./configure endif -