Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 78244 invoked by uid 500); 18 Apr 2002 17:55:42 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 78227 invoked from network); 18 Apr 2002 17:55:41 -0000 From: Jim Jagielski Message-Id: <200204181755.NAA20823@devsys.jaguNET.com> Subject: Re: cvs commit: httpd-2.0/build rules.mk.in To: dev@httpd.apache.org Date: Thu, 18 Apr 2002 13:55:35 -0400 (EDT) Cc: httpd-2.0-cvs@apache.org Reply-To: jim@jaguNET.com In-Reply-To: from "jerenkrantz@apache.org" at Apr 18, 2002 05:51:54 PM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I *think* it's checking to make sure that a file called '*.c' doesn't exist. jerenkrantz@apache.org wrote: > > jerenkrantz 02/04/18 10:51:54 > > Modified: build rules.mk.in > Log: > Replace this bogus check with something that actually works. I have no > idea what this line is attempting to do, but it doesn't work in the > top-level Makefile - causing an error. Therefore, take the line we use > in APR to check if a file exists. > > Revision Changes Path > 1.8 +1 -1 httpd-2.0/build/rules.mk.in > > Index: rules.mk.in > =================================================================== > RCS file: /home/cvs/httpd-2.0/build/rules.mk.in,v > retrieving revision 1.7 > retrieving revision 1.8 > diff -u -r1.7 -r1.8 > --- rules.mk.in 14 Mar 2002 03:16:50 -0000 1.7 > +++ rules.mk.in 18 Apr 2002 17:51:54 -0000 1.8 > @@ -178,7 +178,7 @@ > local-shared-build: $(SHARED_TARGETS) > > local-depend: x-local-depend > - if test "`echo $(srcdir)/*.c`" != "$(srcdir)'/*.c'"; then \ > + if test -n "`ls $(srcdir)/*.c 2> /dev/null`"; then \ > $(CC) -MM $(ALL_CPPFLAGS) $(ALL_INCLUDES) $(srcdir)/*.c | sed 's/\.o:/.lo:/' > $(builddir)/.deps || true; \ > fi > > > > > -- =========================================================================== Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/ "A society that will trade a little liberty for a little order will lose both and deserve neither" - T.Jefferson