You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jim Jagielski <ji...@jaguNET.com> on 2002/04/18 19:55:35 UTC
Re: cvs commit: httpd-2.0/build rules.mk.in
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