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
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