mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:56:11 +00:00
No need to run an external program for checking for the existence of
C source files. echo as a built-in function does the same job quicker. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87757 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -176,7 +176,7 @@ install-p: $(targets) $(install_targets)
|
||||
distclean-p depend-p clean-p:
|
||||
|
||||
depend: depend-recursive
|
||||
if test -n "`ls $(srcdir)/*.c 2> /dev/null`"; then \
|
||||
if test "`echo $(srcdir)/*.c`" != "$(srcdir)'/*.c'"; then \
|
||||
gcc -MM $(INCLUDES) $(EXTRA_INCLUDES) $(DEFS) $(CPPFLAGS) $(srcdir)/*.c | sed 's/\.o:/.lo:/' > $(builddir)/.deps || true; \
|
||||
fi
|
||||
# test "`echo *.c`" = '*.c' || perl $(top_srcdir)/build/mkdep.perl $(CPP) $(INCLUDES) $(EXTRA_INCLUDES) *.c > .deps
|
||||
|
Reference in New Issue
Block a user