Commit 6d7c3dd5 authored by Sascha Schumann's avatar Sascha Schumann
Browse files

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
parent 68abccae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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