From 920e7befe4a73469c9e1d193869e08298506218b Mon Sep 17 00:00:00 2001 From: Justin Erenkrantz Date: Thu, 18 Apr 2002 17:51:54 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94702 13f79535-47bb-0310-9956-ffa450edef68 --- build/rules.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/rules.mk.in b/build/rules.mk.in index bd427a6fed..f0fc3b9bb9 100644 --- a/build/rules.mk.in +++ b/build/rules.mk.in @@ -178,7 +178,7 @@ local-all: $(TARGETS) 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 -- 2.50.1