diff options
author | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-04-18 19:51:54 +0200 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-04-18 19:51:54 +0200 |
commit | 920e7befe4a73469c9e1d193869e08298506218b (patch) | |
tree | bcf2a6db76622d73db19507fde28f258beac7718 | |
parent | The pedant in me wishes to see all extraneous trailing / go away. (diff) | |
download | apache2-920e7befe4a73469c9e1d193869e08298506218b.tar.xz apache2-920e7befe4a73469c9e1d193869e08298506218b.zip |
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
-rw-r--r-- | build/rules.mk.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |