Commit 4b038c73 authored by cls%seawood.org's avatar cls%seawood.org
Browse files

Adding check for xargs. It is used in some non-default build rules and we...

Adding check for xargs.  It is used in some non-default build rules and we need it to properly clean up after our Makefile creation when using some shells.
Bug 37095 r=mkaply@us.ibm.com r=jdunn@netscape.com
parent 688156bf
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -190,6 +190,7 @@ RANLIB = @RANLIB@
WHOAMI		= @WHOAMI@
WHOAMI		= @WHOAMI@
UNZIP_PROG	= @UNZIP@
UNZIP_PROG	= @UNZIP@
ZIP_PROG	= @ZIP@
ZIP_PROG	= @ZIP@
XARGS		= @XARGS@


ifdef MOZ_NATIVE_JPEG
ifdef MOZ_NATIVE_JPEG
JPEG_CFLAGS	= @JPEG_CFLAGS@
JPEG_CFLAGS	= @JPEG_CFLAGS@
+3 −3
Original line number Original line Diff line number Diff line
@@ -560,11 +560,11 @@ clean clobber realclean clobber_all:: $(SUBMAKEFILES)
distclean:: $(SUBMAKEFILES)
distclean:: $(SUBMAKEFILES)
	+$(LOOP_OVER_DIRS)
	+$(LOOP_OVER_DIRS)
	rm -f $(ALL_TRASH) ; \
	rm -f $(ALL_TRASH) ; \
	rm -rf $(ALL_TRASH_DIRS) \
	rm -rf $(ALL_TRASH_DIRS) ;
	$(wildcard *.map) \
	echo $(wildcard *.map) \
	Makefile .HSancillary $(DIST_GARBAGE) \
	Makefile .HSancillary $(DIST_GARBAGE) \
	$(wildcard *.$(OBJ_SUFFIX)) $(wildcard *.ho) \
	$(wildcard *.$(OBJ_SUFFIX)) $(wildcard *.ho) \
	$(wildcard *.$(LIB_SUFFIX)) $(wildcard *$(DLL_SUFFIX))
	$(wildcard *.$(LIB_SUFFIX)) $(wildcard *$(DLL_SUFFIX)) | $(XARGS) rm -f


alltags:
alltags:
	rm -f TAGS
	rm -f TAGS
+414 −375

File changed.

Preview size limit exceeded, changes collapsed.

+4 −0
Original line number Original line Diff line number Diff line
@@ -313,6 +313,10 @@ if test -z "$ZIP" || test "$ZIP" = ":"; then
    MOZ_DISABLE_JAR_PACKAGING=1
    MOZ_DISABLE_JAR_PACKAGING=1
fi
fi
AC_PATH_PROG(SYSTEM_MAKEDEPEND, makedepend)
AC_PATH_PROG(SYSTEM_MAKEDEPEND, makedepend)
AC_PATH_PROG(XARGS, xargs)
if test -z "$XARGS" || test "$XARGS" = ":"; then
    AC_MSG_ERROR([xargs not found in \$PATH .])
fi


dnl Be sure the make we use is GNU make.
dnl Be sure the make we use is GNU make.
AC_PATH_PROGS(MAKE, gmake make, :)
AC_PATH_PROGS(MAKE, gmake make, :)