You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by je...@apache.org on 2002/04/18 19:51:54 UTC

cvs commit: httpd-2.0/build rules.mk.in

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